SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002890s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.25' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock?keyword=11873&search=1' [ RunTime:0.002381s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003334s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002010s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001374s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.25' ) [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001196s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000347s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001129s ]
SELECT * FROM `stock_search` WHERE `partno` = '11873' LIMIT 1 [ RunTime:0.000533s ]
UPDATE `stock_search` SET `count` = 5 , `updatetime` = '2026-10-23 13:02:14' WHERE `partno` = '11873' [ RunTime:0.001506s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001349s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004220s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12160191 LIMIT 5 [ RunTime:0.001694s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12160191 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12160191 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12160191 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12160191 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='11873-00000-20' and brandshort='3M' limit 1 [ RunTime:0.000906s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17493481 LIMIT 5 [ RunTime:0.002734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17493481 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17493481 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17493481 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17493481 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16428805 LIMIT 5 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16428805 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16428805 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16428805 LIMIT 2 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16428805 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16428390 LIMIT 5 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16428390 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16428390 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16428390 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16428390 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14415008 LIMIT 5 [ RunTime:0.000673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14415008 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14415008 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14415008 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14415008 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11251622 LIMIT 5 [ RunTime:0.000746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11251622 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11251622 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11251622 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11251622 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000778s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70157687 LIMIT 5 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70157687 ORDER BY `minOrder` ASC [ RunTime:0.000734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70157687 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70157687 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70157687 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='11873H' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.000586s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001611s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '11873H' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.000576s ]
SELECT `id` FROM `stock` WHERE `id` <> 70157687 AND `partno` = '11873H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.000451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70157433 LIMIT 5 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70157433 ORDER BY `minOrder` ASC [ RunTime:0.000627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70157433 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70157433 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70157433 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
select * from pdf where partno='11873F' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.000548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '11873F' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.000441s ]
SELECT `id` FROM `stock` WHERE `id` <> 70157433 AND `partno` = '11873F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70157234 LIMIT 5 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70157234 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70157234 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70157234 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70157234 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='11873' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.000445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '11873' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69945949 LIMIT 5 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69945949 ORDER BY `minOrder` ASC [ RunTime:0.000643s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69945949 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69945949 LIMIT 2 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69945949 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='1187330000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1187330000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.001182s ]
SELECT `id` FROM `stock` WHERE `id` <> 69945949 AND `partno` = '1187330000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16428805 [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69945898 LIMIT 5 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69945898 ORDER BY `minOrder` ASC [ RunTime:0.000481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69945898 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69945898 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69945898 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
select * from pdf where partno='1187320000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000442s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1187320000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT `id` FROM `stock` WHERE `id` <> 69945898 AND `partno` = '1187320000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69945577 LIMIT 5 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69945577 ORDER BY `minOrder` ASC [ RunTime:0.000539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69945577 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69945577 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69945577 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='1187310000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1187310000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.000704s ]
SELECT `id` FROM `stock` WHERE `id` <> 69945577 AND `partno` = '1187310000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14415008 [ RunTime:0.000306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69944688 LIMIT 5 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69944688 ORDER BY `minOrder` ASC [ RunTime:0.000613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69944688 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69944688 LIMIT 2 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69944688 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='1187300000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1187300000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.000731s ]
SELECT `id` FROM `stock` WHERE `id` <> 69944688 AND `partno` = '1187300000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16428390 [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68989494 LIMIT 5 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68989494 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68989494 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68989494 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68989494 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='11873' and brandshort='Lumberg Automation' limit 1 [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '11873' OR `brand` LIKE 'Lumberg Automation%' ) ) LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65403377 LIMIT 5 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65403377 ORDER BY `minOrder` ASC [ RunTime:0.000648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65403377 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65403377 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65403377 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='11873-00000-20' and brandshort='3M' limit 1 [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '11873-00000-20' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001484s ]
SELECT `id` FROM `stock` WHERE `id` <> 65403377 AND `partno` = '11873-00000-20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12160191 [ RunTime:0.000288s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000621s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000543s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000502s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000494s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000494s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000531s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000550s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '11873%' OR `brand` LIKE '11873%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000559s ]