SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002687s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002625s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001837s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000322s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 43 LIMIT 1 [ RunTime:0.000332s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 43 [ RunTime:0.000254s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (489,490,491,492,493,494) [ RunTime:0.000281s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002141s ]
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 16:30:07' ) ) AND `categoryid` IN (489,490,491,492,493,494) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:2.154613s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1097 LIMIT 4 [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1097 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1097 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1097 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1097 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000893s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PKLCS1212E4001-R1' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 169 LIMIT 4 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 169 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 169 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 169 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 169 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='ABI-009-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001849s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-009-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2438 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2438 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2438 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2438 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2438 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPEG242' OR `brand` LIKE 'KINGSTATE%' ) ) LIMIT 1 [ RunTime:0.000512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 168 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 168 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 168 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 168 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 168 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-001-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15225 LIMIT 4 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15225 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15225 ORDER BY `unit` DESC [ RunTime:0.000192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15225 LIMIT 2 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15225 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='ABI-001-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-001-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15120 LIMIT 4 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15120 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15120 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15120 LIMIT 2 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15120 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='ABI-001-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000208s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-001-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2445 LIMIT 4 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2445 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2445 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2445 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2445 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='ABI-017-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-017-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4465 LIMIT 4 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4465 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4465 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4465 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4465 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AI-1440-TWT-12V-R' OR `brand` LIKE 'PROJECTS UNLIMITED%' ) ) LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13382 LIMIT 4 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13382 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13382 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13382 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13382 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10901075' OR `brand` LIKE 'WERMA%' ) ) LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5755 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5755 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5755 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5755 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5755 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KXG1212C' OR `brand` LIKE 'KINGSTATE%' ) ) LIMIT 1 [ RunTime:0.000481s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 16:30:07' ) ) AND `categoryid` IN (489,490,491,492,493,494) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.831619s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 16:30:07' ) ) AND `categoryid` IN (489,490,491,492,493,494) ) [ RunTime:1.814481s ]