SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001215s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.15' , `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=22949&search=1' [ RunTime:0.001716s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001145s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000954s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001986s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.15' ) [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002633s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000599s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001571s ]
SELECT * FROM `stock_search` WHERE `partno` = '22949' LIMIT 1 [ RunTime:0.001717s ]
UPDATE `stock_search` SET `count` = 5 , `updatetime` = '2026-09-15 02:42:52' WHERE `partno` = '22949' [ RunTime:0.002223s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001991s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001695s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001445s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17140742 LIMIT 5 [ RunTime:0.002087s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17140742 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17140742 ORDER BY `unit` DESC [ RunTime:0.000461s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001773s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17140742 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17140742 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19600613 LIMIT 5 [ RunTime:0.000884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19600613 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19600613 ORDER BY `unit` DESC [ RunTime:0.000775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19600613 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19600613 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17157728 LIMIT 5 [ RunTime:0.001190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17157728 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17157728 ORDER BY `unit` DESC [ RunTime:0.000444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17157728 LIMIT 2 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17157728 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433424 LIMIT 5 [ RunTime:0.001764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433424 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16433424 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16433424 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16433424 ORDER BY `minOrder` ASC [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13552731 LIMIT 5 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13552731 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13552731 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13552731 LIMIT 2 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13552731 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13075342 LIMIT 5 [ RunTime:0.000796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13075342 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13075342 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13075342 LIMIT 2 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13075342 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12152190 LIMIT 5 [ RunTime:0.001413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12152190 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12152190 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12152190 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12152190 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='2294932' and brandshort='Bergquist' limit 1 [ RunTime:0.000489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11831319 LIMIT 5 [ RunTime:0.000787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11831319 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11831319 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11831319 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11831319 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32309558 LIMIT 5 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32309558 ORDER BY `minOrder` ASC [ RunTime:0.001146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32309558 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32309558 LIMIT 2 [ RunTime:0.000298s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32309558 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='2294900-r' and brandshort='microchip technology' limit 1 [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001539s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2294900-r' OR `brand` LIKE 'microchip technology%' ) ) LIMIT 1 [ RunTime:0.000447s ]
SELECT `id` FROM `stock` WHERE `id` <> 32309558 AND `partno` = '2294900-r' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17140742 [ RunTime:0.000331s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71030046 LIMIT 5 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71030046 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71030046 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71030046 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71030046 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='2294900-R' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2294900-R' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT `id` FROM `stock` WHERE `id` <> 71030046 AND `partno` = '2294900-R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000480s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17140742 [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71287887 LIMIT 5 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71287887 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71287887 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71287887 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71287887 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
select * from pdf where partno='22949' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22949' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.000416s ]
SELECT `id` FROM `stock` WHERE `id` <> 71287887 AND `partno` = '22949' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13552731 [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69877939 LIMIT 5 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69877939 ORDER BY `minOrder` ASC [ RunTime:0.000693s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69877939 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69877939 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69877939 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='22949.9' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.000597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22949.9' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT `id` FROM `stock` WHERE `id` <> 69877939 AND `partno` = '22949.9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.000465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16433424 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67850697 LIMIT 5 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67850697 ORDER BY `minOrder` ASC [ RunTime:0.000694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67850697 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67850697 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67850697 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='2294964-1' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2294964-1' OR `brand` LIKE 'TE Connectivity Aerospace, Defense and Marine%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT `id` FROM `stock` WHERE `id` <> 67850697 AND `partno` = '2294964-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity aerospace, defense and marine%' ) [ RunTime:0.000361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11831319 [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67850696 LIMIT 5 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67850696 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67850696 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67850696 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67850696 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
select * from pdf where partno='2294964-2' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.000870s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2294964-2' OR `brand` LIKE 'TE Connectivity Aerospace, Defense and Marine%' ) ) LIMIT 1 [ RunTime:0.000416s ]
SELECT `id` FROM `stock` WHERE `id` <> 67850696 AND `partno` = '2294964-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity aerospace, defense and marine%' ) [ RunTime:0.000457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13075342 [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67122211 LIMIT 5 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67122211 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67122211 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67122211 LIMIT 2 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67122211 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='2294908' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2294908' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.001620s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000650s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000472s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000460s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000551s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000571s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000461s ]
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 '22949%' OR `brand` LIKE '22949%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000520s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '22949%' OR `brand` LIKE '22949%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000539s ]