SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002022s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.149' , `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=HT8C&search=1' [ RunTime:0.004420s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001833s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002812s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.004242s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.149' ) [ RunTime:0.000972s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003186s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000932s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002930s ]
SELECT * FROM `stock_search` WHERE `partno` = 'HT8C' LIMIT 1 [ RunTime:0.001156s ]
UPDATE `stock_search` SET `count` = 2 , `updatetime` = '2026-09-10 19:13:15' WHERE `partno` = 'HT8C' [ RunTime:0.004279s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004335s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006872s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001238s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003931s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65260943 LIMIT 5 [ RunTime:0.000455s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65260943 ORDER BY `minOrder` ASC [ RunTime:0.000756s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65260943 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65260943 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65260943 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='HT8CBR' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.001403s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBR' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000725s ]
SELECT `id` FROM `stock` WHERE `id` <> 65260943 AND `partno` = 'HT8CBR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834197 LIMIT 5 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834197 ORDER BY `minOrder` ASC [ RunTime:0.000778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834197 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834197 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834197 ORDER BY `minOrder` ASC [ RunTime:0.000954s ]
select * from pdf where partno='HT8CBRB' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000665s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBRB' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000506s ]
SELECT `id` FROM `stock` WHERE `id` <> 43834197 AND `partno` = 'HT8CBRB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43834196 LIMIT 5 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834196 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43834196 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43834196 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43834196 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
select * from pdf where partno='HT8CBRA' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000614s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBRA' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000444s ]
SELECT `id` FROM `stock` WHERE `id` <> 43834196 AND `partno` = 'HT8CBRA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65278923 LIMIT 5 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65278923 ORDER BY `minOrder` ASC [ RunTime:0.003691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65278923 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65278923 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65278923 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='HT8C' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000617s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8C' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000504s ]
SELECT `id` FROM `stock` WHERE `id` <> 65278923 AND `partno` = 'HT8C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65275229 LIMIT 5 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65275229 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65275229 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65275229 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65275229 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
select * from pdf where partno='HT8CBH' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBH' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000532s ]
SELECT `id` FROM `stock` WHERE `id` <> 65275229 AND `partno` = 'HT8CBH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65275228 LIMIT 5 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65275228 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65275228 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65275228 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65275228 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='HT8CBG' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBG' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000459s ]
SELECT `id` FROM `stock` WHERE `id` <> 65275228 AND `partno` = 'HT8CBG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43881961 LIMIT 5 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881961 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43881961 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43881961 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881961 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='HT8CBGAB' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000565s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBGAB' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000383s ]
SELECT `id` FROM `stock` WHERE `id` <> 43881961 AND `partno` = 'HT8CBGAB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43881957 LIMIT 5 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881957 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43881957 ORDER BY `unit` DESC [ RunTime:0.000345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43881957 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881957 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='HT8CBRAB' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBRAB' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000374s ]
SELECT `id` FROM `stock` WHERE `id` <> 43881957 AND `partno` = 'HT8CBRAB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43881955 LIMIT 5 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881955 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43881955 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43881955 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881955 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='HT8CBHAB' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBHAB' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT `id` FROM `stock` WHERE `id` <> 43881955 AND `partno` = 'HT8CBHAB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43881639 LIMIT 5 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881639 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43881639 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43881639 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881639 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
select * from pdf where partno='HT8CBHB' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBHB' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000451s ]
SELECT `id` FROM `stock` WHERE `id` <> 43881639 AND `partno` = 'HT8CBHB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43881454 LIMIT 5 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881454 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43881454 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43881454 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881454 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='HT8CBGA' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBGA' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT `id` FROM `stock` WHERE `id` <> 43881454 AND `partno` = 'HT8CBGA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43881453 LIMIT 5 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881453 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43881453 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43881453 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43881453 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='HT8CBHA' and brandshort='Eaton Electrical' limit 1 [ RunTime:0.000503s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HT8CBHA' OR `brand` LIKE 'Eaton Electrical%' ) ) LIMIT 1 [ RunTime:0.000391s ]
SELECT `id` FROM `stock` WHERE `id` <> 43881453 AND `partno` = 'HT8CBHA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton electrical%' ) [ RunTime:0.000420s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000782s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000640s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000541s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000530s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000649s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000603s ]
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 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000613s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'HT8C%' OR `brand` LIKE 'HT8C%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000539s ]