SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001439s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000441s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001142s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000228s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000929s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000191s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 26 LIMIT 1 [ RunTime:0.000581s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000607s ]
SELECT `id`,`typeid`,`name` 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.000547s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002430s ]
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-07 03:48:02' ) ) 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 70,10 [ RunTime:2.116928s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 383 LIMIT 4 [ RunTime:0.000510s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 383 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 383 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000851s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 383 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 383 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000889s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EB2-5NU' OR `brand` LIKE 'NEC%' ) ) LIMIT 1 [ RunTime:0.002321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13348 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13348 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13348 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13348 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13348 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9-1393239-5' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 334 LIMIT 4 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 334 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 334 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 334 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 334 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2342-12-000' OR `brand` LIKE 'COTO TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4163 LIMIT 4 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4163 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4163 ORDER BY `unit` DESC [ RunTime:0.000452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4163 LIMIT 2 [ RunTime:0.000424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4163 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SIM112 16VDC' OR `brand` LIKE 'ELESTA%' ) ) LIMIT 1 [ RunTime:0.000438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13398 LIMIT 4 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13398 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13398 ORDER BY `unit` DESC [ RunTime:0.000232s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13398 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13398 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G5Q-1AEU DC12' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10632 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10632 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10632 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10632 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10632 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PT570730' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000645s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6844 LIMIT 4 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6844 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6844 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6844 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6844 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='VCF4-1002' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.002011s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VCF4-1002' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.021907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1611 LIMIT 4 [ RunTime:0.000698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1611 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1611 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1611 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1611 ORDER BY `minOrder` ASC [ RunTime:0.000800s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '46.52.9.012.0040' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.001285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2980 LIMIT 4 [ RunTime:0.000696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2980 ORDER BY `minOrder` ASC [ RunTime:0.000577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2980 ORDER BY `unit` DESC [ RunTime:0.000542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2980 LIMIT 2 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2980 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RT424012' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 382 LIMIT 4 [ RunTime:0.000771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 382 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 382 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 382 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 382 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SRM-1C-SL-12VDC' OR `brand` LIKE 'IMO PRECISION CONTROLS%' ) ) LIMIT 1 [ RunTime:0.000620s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 03:48:02' ) ) 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:3.107584s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-07 03:48:02' ) ) 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:1.762099s ]