SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001251s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003168s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002366s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000348s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000606s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000302s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.000857s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002283s ]
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 03:34:16' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 30,10 [ RunTime:2.113238s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5860 LIMIT 4 [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5860 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5860 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5860 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='175196-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001034s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175196-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000797s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10640 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10640 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10640 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10640 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10640 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43640-0200' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10641 LIMIT 4 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10641 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10641 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10641 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10641 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43640-0300' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2553 LIMIT 4 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2553 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2553 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2553 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2553 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
select * from pdf where partno='39-01-2061' and brandshort='MOLEX' limit 1 [ RunTime:0.000353s ]
select foldpath,foldpath2,filename from pdf_file where id=850251 limit 1 [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2061' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10637 LIMIT 4 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10637 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10637 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10637 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10637 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='43645-0200' and brandshort='MOLEX' limit 1 [ RunTime:0.000313s ]
select foldpath,foldpath2,filename from pdf_file where id=828080 limit 1 [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43645-0200' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 449 LIMIT 4 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 449 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 449 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 449 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 449 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640440-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3526 LIMIT 4 [ RunTime:0.000910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3526 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3526 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3526 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3526 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='39-01-2065' and brandshort='MOLEX' limit 1 [ RunTime:0.000678s ]
select foldpath,foldpath2,filename from pdf_file where id=850257 limit 1 [ RunTime:0.000774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2065' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10644 LIMIT 4 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10644 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10644 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10644 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10644 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43640-0401' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.010154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8357 LIMIT 4 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8357 ORDER BY `minOrder` ASC [ RunTime:0.000817s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8357 ORDER BY `unit` DESC [ RunTime:0.000442s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8357 LIMIT 2 [ RunTime:0.000810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8357 ORDER BY `minOrder` ASC [ RunTime:0.001659s ]
select * from pdf where partno='1-968700-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000948s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-968700-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 470 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 470 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 470 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 470 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 470 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640441-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 03:34:16' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.783586s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-05 03:34:16' ) ) AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) [ RunTime:1.782500s ]