SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002100s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.64' , `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=07871&search=1' [ RunTime:0.005689s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001361s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001229s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002269s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.64' ) [ RunTime:0.000560s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001712s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001601s ]
SELECT * FROM `stock_search` WHERE `partno` = '07871' LIMIT 1 [ RunTime:0.002258s ]
UPDATE `stock_search` SET `count` = 2 , `updatetime` = '2026-10-19 17:25:31' WHERE `partno` = '07871' [ RunTime:0.004956s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002114s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007611s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12507092 LIMIT 5 [ RunTime:0.000977s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12507092 ORDER BY `minOrder` ASC [ RunTime:0.000620s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12507092 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12507092 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12507092 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
select * from pdf where partno='0787150007' and brandshort='Molex' limit 1 [ RunTime:0.001569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11409503 LIMIT 5 [ RunTime:0.003794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11409503 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11409503 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11409503 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11409503 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='0787150004' and brandshort='Molex' limit 1 [ RunTime:0.000481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12504788 LIMIT 5 [ RunTime:0.000673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12504788 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12504788 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12504788 LIMIT 2 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12504788 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
select * from pdf where partno='0787160014' and brandshort='Molex' limit 1 [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13295397 LIMIT 5 [ RunTime:0.000636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13295397 ORDER BY `minOrder` ASC [ RunTime:0.000455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13295397 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13295397 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13295397 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12505811 LIMIT 5 [ RunTime:0.001050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12505811 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12505811 ORDER BY `unit` DESC [ RunTime:0.000316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12505811 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12505811 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='0787150011' and brandshort='Molex' limit 1 [ RunTime:0.000568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12505768 LIMIT 5 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12505768 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12505768 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12505768 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12505768 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='0787160004' and brandshort='Molex' limit 1 [ RunTime:0.000659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12505711 LIMIT 5 [ RunTime:0.003605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12505711 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12505711 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12505711 LIMIT 2 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12505711 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11410832 LIMIT 5 [ RunTime:0.003048s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11410832 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11410832 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11410832 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11410832 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11410121 LIMIT 5 [ RunTime:0.000915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11410121 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11410121 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11410121 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11410121 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001173s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68922603 LIMIT 5 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68922603 ORDER BY `minOrder` ASC [ RunTime:0.000788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68922603 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68922603 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68922603 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
select * from pdf where partno='0787150007' and brandshort='Molex' limit 1 [ RunTime:0.000632s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787150007' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.009094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68923351 LIMIT 5 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68923351 ORDER BY `minOrder` ASC [ RunTime:0.000888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68923351 ORDER BY `unit` DESC [ RunTime:0.000490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68923351 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68923351 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
select * from pdf where partno='0787150004' and brandshort='Molex' limit 1 [ RunTime:0.000534s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787150004' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.007207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68923265 LIMIT 5 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68923265 ORDER BY `minOrder` ASC [ RunTime:0.000683s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68923265 ORDER BY `unit` DESC [ RunTime:0.000428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68923265 LIMIT 2 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68923265 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='0787160014' and brandshort='Molex' limit 1 [ RunTime:0.000561s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787160014' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.007008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68925049 LIMIT 5 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68925049 ORDER BY `minOrder` ASC [ RunTime:0.003276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68925049 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68925049 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68925049 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='0787180001' and brandshort='Molex' limit 1 [ RunTime:0.000741s ]
select foldpath,foldpath2,filename from pdf_file where id=1770613 limit 1 [ RunTime:0.000586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787180001' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.012278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68924946 LIMIT 5 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68924946 ORDER BY `minOrder` ASC [ RunTime:0.000706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68924946 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68924946 LIMIT 2 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68924946 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
select * from pdf where partno='0787180002' and brandshort='Molex' limit 1 [ RunTime:0.000884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787180002' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.011804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68922964 LIMIT 5 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68922964 ORDER BY `minOrder` ASC [ RunTime:0.002123s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68922964 ORDER BY `unit` DESC [ RunTime:0.000614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68922964 LIMIT 2 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68922964 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
select * from pdf where partno='0787150011' and brandshort='Molex' limit 1 [ RunTime:0.000771s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787150011' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.011790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68922951 LIMIT 5 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68922951 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68922951 ORDER BY `unit` DESC [ RunTime:0.000634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68922951 LIMIT 2 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68922951 ORDER BY `minOrder` ASC [ RunTime:0.000636s ]
select * from pdf where partno='0787150002' and brandshort='Molex' limit 1 [ RunTime:0.000771s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0787150002' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.011736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32682160 LIMIT 5 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32682160 ORDER BY `minOrder` ASC [ RunTime:0.001134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32682160 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32682160 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32682160 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
select * from pdf where partno='07871' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.000777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '07871' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.001150s ]
SELECT `id` FROM `stock` WHERE `id` <> 32682160 AND `partno` = '07871' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.000862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13295397 [ RunTime:0.000627s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001225s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001092s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001085s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001065s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001060s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001185s ]
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 '07871%' OR `brand` LIKE '07871%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001240s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '07871%' OR `brand` LIKE '07871%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001166s ]