SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002283s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000564s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002670s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.51' ) [ RunTime:0.000360s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001946s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 52 LIMIT 1 [ RunTime:0.000799s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000577s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) [ RunTime:0.000377s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002514s ]
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 14:23:15' ) ) AND `categoryid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,10 [ RunTime:2.076547s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6592 LIMIT 4 [ RunTime:0.000396s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6592 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6592 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000846s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTS710E7S' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1880 LIMIT 4 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1880 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1880 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M4- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.002647s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13692 LIMIT 4 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13692 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13692 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13692 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13692 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A-K (IEC)' OR `brand` LIKE 'LABFACILITY%' ) ) LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1888 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1888 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1888 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12546 LIMIT 4 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12546 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12546 ORDER BY `unit` DESC [ RunTime:0.000236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12546 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12546 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
select * from pdf where partno='785080-01' and brandshort='NI' limit 1 [ RunTime:0.000920s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '785080-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.001200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11074 LIMIT 4 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11074 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11074 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11074 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11074 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S7221-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.000439s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 14:23:15' ) ) AND `categoryid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:2.743642s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-10-04 14:23:15' ) ) AND `categoryid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) ) [ RunTime:1.729077s ]