SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002840s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000575s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002077s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.17' ) [ RunTime:0.000606s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002178s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000307s ]
SELECT `id` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000587s ]
SELECT `id` 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.000724s ]
SELECT `id`,`name` FROM `product_type` WHERE `id` 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.000622s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001900s ]
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 03:11:58' ) ) 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 0,10 [ RunTime:0.030136s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 951 LIMIT 4 [ RunTime:0.000536s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 951 ORDER BY `unit` DESC [ RunTime:0.000433s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 951 LIMIT 2 [ RunTime:0.000409s ]
select * from pdf where partno='1393774-1' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.000763s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1393774-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8234 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8234 ORDER BY `unit` DESC [ RunTime:0.000406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8234 LIMIT 2 [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33039DR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14946 LIMIT 4 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14946 ORDER BY `unit` DESC [ RunTime:0.000215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14946 LIMIT 2 [ RunTime:0.000231s ]
select * from pdf where partno='F75909MB' and brandshort='FINTEK' limit 1 [ RunTime:0.000311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F75909MB' OR `brand` LIKE 'FINTEK%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 953 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 953 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 953 LIMIT 2 [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13416 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13416 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13416 LIMIT 2 [ RunTime:0.000373s ]
select * from pdf where partno='106529-2.' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106529-2.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6840 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6840 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6840 LIMIT 2 [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VO1400AEFTR' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3600 LIMIT 4 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3600 ORDER BY `unit` DESC [ RunTime:0.000656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3600 LIMIT 2 [ RunTime:0.000574s ]
select * from pdf where partno='PYC-A1.' and brandshort='OMRON INDUSTRIAL AUTOMATION' limit 1 [ RunTime:0.000853s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PYC-A1.' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.000739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14983 LIMIT 4 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14983 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14983 LIMIT 2 [ RunTime:0.000546s ]
select * from pdf where partno='STMPS2151STR' and brandshort='ST' limit 1 [ RunTime:0.000845s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.017463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14931 LIMIT 4 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.000598s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14931 ORDER BY `unit` DESC [ RunTime:0.000654s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14931 LIMIT 2 [ RunTime:0.000682s ]
select * from pdf where partno='ISL6617CRZ-T' and brandshort='INTERSIL' limit 1 [ RunTime:0.000951s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL6617CRZ-T' OR `brand` LIKE 'INTERSIL%' ) ) LIMIT 1 [ RunTime:0.000873s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13397 LIMIT 4 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13397 ORDER BY `unit` DESC [ RunTime:0.000827s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13397 LIMIT 2 [ RunTime:0.000609s ]
select * from pdf where partno='G6K-2P DC5' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.000936s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G6K-2P DC5' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000864s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 03:11:58' ) ) 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:0.037214s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-20 03:11:58' ) ) 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:0.011785s ]