SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001283s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001490s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.17' ) [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000992s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000198s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 232 [ RunTime:0.000378s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001094s ]
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-09-20 15:40:48' ) ) AND `categoryid` = 232 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.013028s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927 LIMIT 4 [ RunTime:0.000536s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001687s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14927 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001852s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14927 LIMIT 2 [ RunTime:0.000467s ]
select * from pdf where partno='CNT-M254-1*40-GD-6/6/1.5' and brandshort='CNT' limit 1 [ RunTime:0.000628s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GD-6/6/1.5' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.000654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14926 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14926 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14926 LIMIT 2 [ RunTime:0.000421s ]
select * from pdf where partno='CNT-M254-2*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.000839s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-2*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.000510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14925 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14925 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14925 LIMIT 2 [ RunTime:0.000376s ]
select * from pdf where partno='CNT-M254-1*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.000842s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.000565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14971 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14971 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14971 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14971 LIMIT 2 [ RunTime:0.000371s ]
select * from pdf where partno='FX10A-100S/10-SV' and brandshort='Hirose' limit 1 [ RunTime:0.000958s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX10A-100S/10-SV' OR `brand` LIKE 'Hirose%' ) ) LIMIT 1 [ RunTime:0.000513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14967 LIMIT 4 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14967 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14967 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14967 LIMIT 2 [ RunTime:0.000370s ]
select * from pdf where partno='2199230-4' and brandshort='TE' limit 1 [ RunTime:0.000917s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2199230-4' OR `brand` LIKE 'TE%' ) ) LIMIT 1 [ RunTime:0.011448s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 15:40:48' ) ) AND `categoryid` = 232 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.019616s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 15:40:48' ) ) AND `categoryid` = 232 ) [ RunTime:0.011261s ]