SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002722s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.231' , `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=0011172&search=1' [ RunTime:0.003169s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001913s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002959s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001700s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.231' ) [ RunTime:0.000715s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001536s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000514s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002023s ]
SELECT * FROM `stock_search` WHERE `partno` = '0011172' LIMIT 1 [ RunTime:0.000904s ]
UPDATE `stock_search` SET `count` = 2 , `updatetime` = '2026-10-01 06:01:13' WHERE `partno` = '0011172' [ RunTime:0.002253s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002249s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002714s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18749833 LIMIT 5 [ RunTime:0.000834s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18749833 ORDER BY `minOrder` ASC [ RunTime:0.000543s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18749833 ORDER BY `unit` DESC [ RunTime:0.000723s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003065s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18749833 LIMIT 2 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18749833 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18760793 LIMIT 5 [ RunTime:0.001014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18760793 ORDER BY `minOrder` ASC [ RunTime:0.000814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18760793 ORDER BY `unit` DESC [ RunTime:0.000607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18760793 LIMIT 2 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18760793 ORDER BY `minOrder` ASC [ RunTime:0.000693s ]
select * from pdf where partno='0011172742' and brandshort='Molex' limit 1 [ RunTime:0.000625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18757590 LIMIT 5 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18757590 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18757590 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18757590 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18757590 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18745438 LIMIT 5 [ RunTime:0.000645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18745438 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18745438 ORDER BY `unit` DESC [ RunTime:0.000343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18745438 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18745438 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18743389 LIMIT 5 [ RunTime:0.000938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18743389 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18743389 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18743389 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18743389 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17008178 LIMIT 5 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17008178 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17008178 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17008178 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17008178 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17002711 LIMIT 5 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17002711 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17002711 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17002711 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17002711 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15220612 LIMIT 5 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15220612 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15220612 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15220612 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15220612 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '2' 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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44007389 LIMIT 5 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44007389 ORDER BY `minOrder` ASC [ RunTime:0.000815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44007389 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44007389 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44007389 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='0011172136' and brandshort='Molex' limit 1 [ RunTime:0.000630s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001283s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172136' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.006706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69831087 LIMIT 5 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69831087 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69831087 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69831087 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69831087 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='0011172' and brandshort='LAPP' limit 1 [ RunTime:0.000564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.000428s ]
SELECT `id` FROM `stock` WHERE `id` <> 69831087 AND `partno` = '0011172' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44034094 LIMIT 5 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44034094 ORDER BY `minOrder` ASC [ RunTime:0.000510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44034094 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44034094 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44034094 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='0011172738' and brandshort='Molex' limit 1 [ RunTime:0.000513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172738' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.007044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44030826 LIMIT 5 [ RunTime:0.000715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44030826 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44030826 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44030826 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44030826 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
select * from pdf where partno='0011172135' and brandshort='Molex' limit 1 [ RunTime:0.000761s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172135' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.006037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44029968 LIMIT 5 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44029968 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44029968 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44029968 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44029968 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='0011172740' and brandshort='Molex' limit 1 [ RunTime:0.000523s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172740' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.006774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44012005 LIMIT 5 [ RunTime:0.000597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44012005 ORDER BY `minOrder` ASC [ RunTime:0.000492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44012005 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44012005 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44012005 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='0011172140' and brandshort='Molex' limit 1 [ RunTime:0.000630s ]
select foldpath,foldpath2,filename from pdf_file where id=901477 limit 1 [ RunTime:0.000474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172140' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.006556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44011979 LIMIT 5 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44011979 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44011979 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44011979 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44011979 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='0011172863' and brandshort='Molex' limit 1 [ RunTime:0.000530s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172863' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.006354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44011805 LIMIT 5 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44011805 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44011805 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44011805 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44011805 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
select * from pdf where partno='0011172742' and brandshort='Molex' limit 1 [ RunTime:0.000503s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172742' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.008655s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44011061 LIMIT 5 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44011061 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44011061 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44011061 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44011061 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
select * from pdf where partno='0011172152' and brandshort='Molex' limit 1 [ RunTime:0.000758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0011172152' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.008947s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001231s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000895s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000828s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '7' 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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000796s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000983s ]
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 '0011172%' OR `brand` LIKE '0011172%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000843s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '0011172%' OR `brand` LIKE '0011172%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000783s ]