SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002572s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.114' , `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=86708&search=1' [ RunTime:0.002074s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002339s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001266s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001653s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.114' ) [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001289s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000447s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001539s ]
SELECT * FROM `stock_search` WHERE `partno` = '86708' LIMIT 1 [ RunTime:0.000655s ]
UPDATE `stock_search` SET `count` = 5 , `updatetime` = '2026-10-13 07:12:42' WHERE `partno` = '86708' [ RunTime:0.001637s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001598s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004547s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11446549 LIMIT 5 [ RunTime:0.000777s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11446549 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11446549 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11446549 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11446549 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13517085 LIMIT 5 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13517085 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13517085 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13517085 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13517085 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
select * from pdf where partno='86708CY SL001' and brandshort='Alpha Wire' limit 1 [ RunTime:0.006028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13516933 LIMIT 5 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13516933 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13516933 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13516933 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13516933 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='86708CY SL005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13506211 LIMIT 5 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13506211 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13506211 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13506211 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13506211 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='86708CY SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13504842 LIMIT 5 [ RunTime:0.000893s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13504842 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13504842 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13504842 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13504842 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
select * from pdf where partno='86708CY SL002' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458735 LIMIT 5 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13458735 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13458735 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13458735 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13458735 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12024564 LIMIT 5 [ RunTime:0.000545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12024564 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12024564 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12024564 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12024564 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000975s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67280037 LIMIT 5 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67280037 ORDER BY `minOrder` ASC [ RunTime:0.000986s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67280037 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67280037 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67280037 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
select * from pdf where partno='8670850000' and brandshort='Weidmüller' limit 1 [ RunTime:0.001445s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '8670850000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.001078s ]
SELECT `id` FROM `stock` WHERE `id` <> 67280037 AND `partno` = '8670850000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11446549 [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69803139 LIMIT 5 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69803139 ORDER BY `minOrder` ASC [ RunTime:0.001691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69803139 ORDER BY `unit` DESC [ RunTime:0.000303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69803139 LIMIT 2 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69803139 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='86708CY SL001' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000759s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708CY SL001' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000361s ]
SELECT `id` FROM `stock` WHERE `id` <> 69803139 AND `partno` = '86708CY SL001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13517085 [ RunTime:0.000318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69802588 LIMIT 5 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69802588 ORDER BY `minOrder` ASC [ RunTime:0.000660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69802588 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69802588 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69802588 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='86708CY SL005' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708CY SL005' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000359s ]
SELECT `id` FROM `stock` WHERE `id` <> 69802588 AND `partno` = '86708CY SL005' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13516933 [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71284973 LIMIT 5 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71284973 ORDER BY `minOrder` ASC [ RunTime:0.000662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71284973 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71284973 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71284973 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
select * from pdf where partno='86708' and brandshort='Brady Corporation' limit 1 [ RunTime:0.001254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000759s ]
SELECT `id` FROM `stock` WHERE `id` <> 71284973 AND `partno` = '86708' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458735 [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69812863 LIMIT 5 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69812863 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69812863 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69812863 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69812863 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='86708CY SL199' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000696s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708CY SL199' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000360s ]
SELECT `id` FROM `stock` WHERE `id` <> 69812863 AND `partno` = '86708CY SL199' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13506211 [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69807745 LIMIT 5 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69807745 ORDER BY `minOrder` ASC [ RunTime:0.003489s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69807745 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69807745 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69807745 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='86708CY SL002' and brandshort='Alpha Wire' limit 1 [ RunTime:0.000971s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708CY SL002' OR `brand` LIKE 'Alpha Wire%' ) ) LIMIT 1 [ RunTime:0.000337s ]
SELECT `id` FROM `stock` WHERE `id` <> 69807745 AND `partno` = '86708CY SL002' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%alpha wire%' ) [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13504842 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65400817 LIMIT 5 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65400817 ORDER BY `minOrder` ASC [ RunTime:0.001773s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65400817 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65400817 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65400817 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='86708' and brandshort='Apex Tool Group' limit 1 [ RunTime:0.000593s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708' OR `brand` LIKE 'Apex Tool Group%' ) ) LIMIT 1 [ RunTime:0.000474s ]
SELECT `id` FROM `stock` WHERE `id` <> 65400817 AND `partno` = '86708' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apex tool group%' ) [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32614848 LIMIT 5 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32614848 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32614848 ORDER BY `unit` DESC [ RunTime:0.000274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32614848 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32614848 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='86708' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.000545s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '86708' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT `id` FROM `stock` WHERE `id` <> 32614848 AND `partno` = '86708' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12024564 [ RunTime:0.000292s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000584s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000452s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000430s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000486s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000523s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000515s ]
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 '86708%' OR `brand` LIKE '86708%' ) ) 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 '86708%' OR `brand` LIKE '86708%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000537s ]