SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001245s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.158' , `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=31403&search=1' [ RunTime:0.002696s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001098s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001235s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001509s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.158' ) [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001343s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000405s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001066s ]
SELECT * FROM `stock_search` WHERE `partno` = '31403' LIMIT 1 [ RunTime:0.000616s ]
UPDATE `stock_search` SET `count` = 7 , `updatetime` = '2026-09-17 23:36:05' WHERE `partno` = '31403' [ RunTime:0.002542s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001695s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002092s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13266634 LIMIT 5 [ RunTime:0.003753s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13266634 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13266634 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13266634 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13266634 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15549173 LIMIT 5 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15549173 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15549173 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15549173 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15549173 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32267502 LIMIT 5 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267502 ORDER BY `minOrder` ASC [ RunTime:0.004216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32267502 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32267502 LIMIT 2 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267502 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
select * from pdf where partno='31403-3110' and brandshort='molex' limit 1 [ RunTime:0.001193s ]
select foldpath,foldpath2,filename from pdf_file where id=826730 limit 1 [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403-3110' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.008429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32268274 LIMIT 5 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32268274 ORDER BY `minOrder` ASC [ RunTime:0.001262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32268274 ORDER BY `unit` DESC [ RunTime:0.000485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32268274 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32268274 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
select * from pdf where partno='31403-3100' and brandshort='molex' limit 1 [ RunTime:0.000690s ]
select foldpath,foldpath2,filename from pdf_file where id=826730 limit 1 [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403-3100' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.009763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32267460 LIMIT 5 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267460 ORDER BY `minOrder` ASC [ RunTime:0.001532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32267460 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32267460 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267460 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
select * from pdf where partno='31403-2610' and brandshort='molex' limit 1 [ RunTime:0.000975s ]
select foldpath,foldpath2,filename from pdf_file where id=1560453 limit 1 [ RunTime:0.002381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403-2610' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.007422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32267405 LIMIT 5 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267405 ORDER BY `minOrder` ASC [ RunTime:0.000836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32267405 ORDER BY `unit` DESC [ RunTime:0.000435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32267405 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32267405 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
select * from pdf where partno='31403-2500' and brandshort='molex' limit 1 [ RunTime:0.001598s ]
select foldpath,foldpath2,filename from pdf_file where id=826730 limit 1 [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403-2500' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.008299s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70994208 LIMIT 5 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70994208 ORDER BY `minOrder` ASC [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70994208 ORDER BY `unit` DESC [ RunTime:0.000451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70994208 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70994208 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
select * from pdf where partno='31403' and brandshort='Würth Elektronik' limit 1 [ RunTime:0.003269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403' OR `brand` LIKE 'Würth Elektronik%' ) ) LIMIT 1 [ RunTime:0.000787s ]
SELECT `id` FROM `stock` WHERE `id` <> 70994208 AND `partno` = '31403' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%würth elektronik%' ) [ RunTime:0.000561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13266634 [ RunTime:0.000373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70234679 LIMIT 5 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234679 ORDER BY `minOrder` ASC [ RunTime:0.000719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70234679 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70234679 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234679 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='31403016' and brandshort='Essentra Access Solutions' limit 1 [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403016' OR `brand` LIKE 'Essentra Access Solutions%' ) ) LIMIT 1 [ RunTime:0.000568s ]
SELECT `id` FROM `stock` WHERE `id` <> 70234679 AND `partno` = '31403016' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra access solutions%' ) [ RunTime:0.000444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70234678 LIMIT 5 [ RunTime:0.000763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234678 ORDER BY `minOrder` ASC [ RunTime:0.000534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70234678 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70234678 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234678 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
select * from pdf where partno='31403011' and brandshort='Essentra Access Solutions' limit 1 [ RunTime:0.001080s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403011' OR `brand` LIKE 'Essentra Access Solutions%' ) ) LIMIT 1 [ RunTime:0.000472s ]
SELECT `id` FROM `stock` WHERE `id` <> 70234678 AND `partno` = '31403011' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra access solutions%' ) [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70234676 LIMIT 5 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234676 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70234676 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70234676 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234676 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
select * from pdf where partno='31403010' and brandshort='Essentra Access Solutions' limit 1 [ RunTime:0.000723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403010' OR `brand` LIKE 'Essentra Access Solutions%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT `id` FROM `stock` WHERE `id` <> 70234676 AND `partno` = '31403010' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra access solutions%' ) [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70234675 LIMIT 5 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234675 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70234675 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70234675 LIMIT 2 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234675 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
select * from pdf where partno='31403040' and brandshort='Essentra Access Solutions' limit 1 [ RunTime:0.000776s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403040' OR `brand` LIKE 'Essentra Access Solutions%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT `id` FROM `stock` WHERE `id` <> 70234675 AND `partno` = '31403040' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra access solutions%' ) [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70234673 LIMIT 5 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234673 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70234673 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70234673 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234673 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='31403032' and brandshort='Essentra Access Solutions' limit 1 [ RunTime:0.000866s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403032' OR `brand` LIKE 'Essentra Access Solutions%' ) ) LIMIT 1 [ RunTime:0.000499s ]
SELECT `id` FROM `stock` WHERE `id` <> 70234673 AND `partno` = '31403032' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra access solutions%' ) [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70234672 LIMIT 5 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234672 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70234672 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70234672 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70234672 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
select * from pdf where partno='31403041' and brandshort='Essentra Access Solutions' limit 1 [ RunTime:0.000900s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31403041' OR `brand` LIKE 'Essentra Access Solutions%' ) ) LIMIT 1 [ RunTime:0.000471s ]
SELECT `id` FROM `stock` WHERE `id` <> 70234672 AND `partno` = '31403041' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%essentra access solutions%' ) [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70072280 LIMIT 5 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70072280 ORDER BY `minOrder` ASC [ RunTime:0.003548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70072280 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70072280 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70072280 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
select * from pdf where partno='314030003' and brandshort='Seeed Technology Co., Ltd' limit 1 [ RunTime:0.000859s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '314030003' OR `brand` LIKE 'Seeed Technology Co., Ltd%' ) ) LIMIT 1 [ RunTime:0.000672s ]
SELECT `id` FROM `stock` WHERE `id` <> 70072280 AND `partno` = '314030003' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%seeed technology co., ltd%' ) [ RunTime:0.000759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15549173 [ RunTime:0.000453s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000909s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000790s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000755s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000759s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000795s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000741s ]
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 '31403%' OR `brand` LIKE '31403%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000821s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '31403%' OR `brand` LIKE '31403%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000735s ]