SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001081s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002403s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002096s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000294s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 26 LIMIT 1 [ RunTime:0.000372s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000230s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002225s ]
SELECT `s`.`id`,`s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 05:24:45' ) ) AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 30,10 [ RunTime:2.173603s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10631 LIMIT 4 [ RunTime:0.000632s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10631 ORDER BY `minOrder` ASC [ RunTime:0.000526s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10631 ORDER BY `unit` DESC [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10631 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10631 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
select * from pdf where partno='PT570024' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.004208s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PT570024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3147 LIMIT 4 [ RunTime:0.000607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3147 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3147 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3147 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3147 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='V23105A5001A201' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.001502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'V23105A5001A201' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3979 LIMIT 4 [ RunTime:0.000588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3979 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3979 ORDER BY `unit` DESC [ RunTime:0.000482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3979 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3979 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='1462041-3' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1462041-3' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16984 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16984 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16984 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000607s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16946 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16946 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16946 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16946 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16946 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
select * from pdf where partno='AQY212SX.' and brandshort='PANASONIC' limit 1 [ RunTime:0.000832s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY212SX.' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.005760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16934 LIMIT 4 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16934 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16934 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16934 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16934 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
select * from pdf where partno='G5RL-1A-E-HR DC12' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.000321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G5RL-1A-E-HR DC12' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16850 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16850 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16850 ORDER BY `unit` DESC [ RunTime:0.000298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16850 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16850 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='95.85.3SMA' and brandshort='FINDER' limit 1 [ RunTime:0.001476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '95.85.3SMA' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16506 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16506 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16506 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16506 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16506 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
select * from pdf where partno='AQY211G2S' and brandshort='PANASONIC' limit 1 [ RunTime:0.000770s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQY211G2S' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.005731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16408 LIMIT 4 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408 ORDER BY `minOrder` ASC [ RunTime:0.000610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16408 ORDER BY `unit` DESC [ RunTime:0.000983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16408 LIMIT 2 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408 ORDER BY `minOrder` ASC [ RunTime:0.000643s ]
select * from pdf where partno='2342-12-000' and brandshort='COTO TECHNOLOGY' limit 1 [ RunTime:0.000707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2342-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16351 LIMIT 4 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16351 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16351 ORDER BY `unit` DESC [ RunTime:0.000628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16351 LIMIT 2 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16351 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
select * from pdf where partno='34.51.7.012.0010' and brandshort='FINDER' limit 1 [ RunTime:0.001280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34.51.7.012.0010' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000996s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 05:24:45' ) ) AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.395359s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 05:24:45' ) ) AND `categoryid` IN (160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186) ) [ RunTime:2.078907s ]