SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001762s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000591s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001505s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001300s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000306s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 51 LIMIT 1 [ RunTime:0.001740s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000247s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) [ RunTime:0.000368s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002278s ]
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-04 06:27:36' ) ) AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,10 [ RunTime:2.239799s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001649s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11583 LIMIT 4 [ RunTime:0.000391s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11583 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11583 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000826s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11583 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11583 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
select * from pdf where partno='MS27488-22-2' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001786s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001307s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS27488-22-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2657 LIMIT 4 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2657 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2657 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2657 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2657 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211401-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7076 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7076 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7076 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7076 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7076 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DVZK15-K' OR `brand` LIKE 'OSSI%' ) ) LIMIT 1 [ RunTime:0.000431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 206 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 206 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 206 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 206 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 206 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='206512-5' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206512-5' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3622 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3622 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3622 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3622 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3622 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206613-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4230 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4230 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4230 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4230 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4230 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='62GB-12E08-33PN(416)' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.000662s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E08-33PN(416)' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17074 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17074 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17074 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17074 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17074 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='TNA12CCSE00L' and brandshort='ITT CANNON' limit 1 [ RunTime:0.000519s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TNA12CCSE00L' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16894 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16894 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16894 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16894 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16894 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='8011 000100' and brandshort='BELDEN' limit 1 [ RunTime:0.000600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '8011 000100' OR `brand` LIKE 'BELDEN%' ) ) LIMIT 1 [ RunTime:0.000442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16797 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16797 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16797 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16797 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16797 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='SDRS09HOT.' and brandshort='L-COM' limit 1 [ RunTime:0.000538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SDRS09HOT.' OR `brand` LIKE 'L-COM%' ) ) LIMIT 1 [ RunTime:0.006600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16581 LIMIT 4 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16581 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16581 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16581 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16581 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='62GB-12E12-10SN(416)' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.000506s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E12-10SN(416)' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000459s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 06:27:36' ) ) AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:3.126106s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 06:27:36' ) ) AND `categoryid` IN (660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694) ) [ RunTime:1.908026s ]