SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002799s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.133' , `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=31-12&search=1' [ RunTime:0.005870s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002773s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000673s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001815s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.004087s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000370s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001747s ]
SELECT * FROM `stock_search` WHERE `partno` = '31-12' LIMIT 1 [ RunTime:0.003563s ]
UPDATE `stock_search` SET `count` = 2 , `updatetime` = '2026-08-23 19:15:57' WHERE `partno` = '31-12' [ RunTime:0.004624s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001758s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013271s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11682287 LIMIT 5 [ RunTime:0.011497s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11682287 ORDER BY `minOrder` ASC [ RunTime:0.012428s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11682287 ORDER BY `unit` DESC [ RunTime:0.040497s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.018570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11682287 LIMIT 2 [ RunTime:0.009036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11682287 ORDER BY `minOrder` ASC [ RunTime:0.019296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17271328 LIMIT 5 [ RunTime:0.021332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17271328 ORDER BY `minOrder` ASC [ RunTime:0.018791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17271328 ORDER BY `unit` DESC [ RunTime:0.019056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17271328 LIMIT 2 [ RunTime:0.030479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17271328 ORDER BY `minOrder` ASC [ RunTime:0.002702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12442884 LIMIT 5 [ RunTime:0.038456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12442884 ORDER BY `minOrder` ASC [ RunTime:0.011420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12442884 ORDER BY `unit` DESC [ RunTime:0.024723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12442884 LIMIT 2 [ RunTime:0.037911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12442884 ORDER BY `minOrder` ASC [ RunTime:0.034951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11362001 LIMIT 5 [ RunTime:0.006341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11362001 ORDER BY `minOrder` ASC [ RunTime:0.096260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11362001 ORDER BY `unit` DESC [ RunTime:0.021456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11362001 LIMIT 2 [ RunTime:0.019760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11362001 ORDER BY `minOrder` ASC [ RunTime:0.015664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17282518 LIMIT 5 [ RunTime:0.066463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17282518 ORDER BY `minOrder` ASC [ RunTime:0.049137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17282518 ORDER BY `unit` DESC [ RunTime:0.142196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17282518 LIMIT 2 [ RunTime:0.061576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17282518 ORDER BY `minOrder` ASC [ RunTime:0.044761s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12433508 LIMIT 5 [ RunTime:0.071109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12433508 ORDER BY `minOrder` ASC [ RunTime:0.074884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12433508 ORDER BY `unit` DESC [ RunTime:0.051668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12433508 LIMIT 2 [ RunTime:0.062902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12433508 ORDER BY `minOrder` ASC [ RunTime:0.049637s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058673s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43824561 LIMIT 5 [ RunTime:0.109740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824561 ORDER BY `minOrder` ASC [ RunTime:0.047755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43824561 ORDER BY `unit` DESC [ RunTime:0.084589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43824561 LIMIT 2 [ RunTime:0.077071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43824561 ORDER BY `minOrder` ASC [ RunTime:0.018737s ]
select * from pdf where partno='31-121.025' and brandshort='EAO' limit 1 [ RunTime:0.047207s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004008s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-121.025' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.054764s ]
SELECT `id` FROM `stock` WHERE `id` <> 43824561 AND `partno` = '31-121.025' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.091794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61913958 LIMIT 5 [ RunTime:0.063425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61913958 ORDER BY `minOrder` ASC [ RunTime:0.050571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61913958 ORDER BY `unit` DESC [ RunTime:0.022574s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61913958 LIMIT 2 [ RunTime:0.028117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61913958 ORDER BY `minOrder` ASC [ RunTime:0.019523s ]
select * from pdf where partno='31-12' and brandshort='Amphenol RF' limit 1 [ RunTime:0.018240s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-12' OR `brand` LIKE 'Amphenol RF%' ) ) LIMIT 1 [ RunTime:0.011580s ]
SELECT `id` FROM `stock` WHERE `id` <> 61913958 AND `partno` = '31-12' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol rf%' ) [ RunTime:0.046371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11682287 [ RunTime:0.020099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43832182 LIMIT 5 [ RunTime:0.031964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43832182 ORDER BY `minOrder` ASC [ RunTime:0.019465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43832182 ORDER BY `unit` DESC [ RunTime:0.039171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43832182 LIMIT 2 [ RunTime:0.003213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43832182 ORDER BY `minOrder` ASC [ RunTime:0.012231s ]
select * from pdf where partno='31-122.025' and brandshort='EAO' limit 1 [ RunTime:0.002562s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-122.025' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.022355s ]
SELECT `id` FROM `stock` WHERE `id` <> 43832182 AND `partno` = '31-122.025' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.013305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43836540 LIMIT 5 [ RunTime:0.031436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43836540 ORDER BY `minOrder` ASC [ RunTime:0.041727s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43836540 ORDER BY `unit` DESC [ RunTime:0.024288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43836540 LIMIT 2 [ RunTime:0.008177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43836540 ORDER BY `minOrder` ASC [ RunTime:0.015689s ]
select * from pdf where partno='31-121.022' and brandshort='EAO' limit 1 [ RunTime:0.011425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-121.022' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.033282s ]
SELECT `id` FROM `stock` WHERE `id` <> 43836540 AND `partno` = '31-121.022' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.038911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43835649 LIMIT 5 [ RunTime:0.016820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43835649 ORDER BY `minOrder` ASC [ RunTime:0.021276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43835649 ORDER BY `unit` DESC [ RunTime:0.038071s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43835649 LIMIT 2 [ RunTime:0.040759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43835649 ORDER BY `minOrder` ASC [ RunTime:0.024674s ]
select * from pdf where partno='31-124.0252' and brandshort='EAO' limit 1 [ RunTime:0.038704s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-124.0252' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.061028s ]
SELECT `id` FROM `stock` WHERE `id` <> 43835649 AND `partno` = '31-124.0252' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.021409s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12442884 [ RunTime:0.008361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43880199 LIMIT 5 [ RunTime:0.022042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43880199 ORDER BY `minOrder` ASC [ RunTime:0.046117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43880199 ORDER BY `unit` DESC [ RunTime:0.092678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43880199 LIMIT 2 [ RunTime:0.006356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43880199 ORDER BY `minOrder` ASC [ RunTime:0.008926s ]
select * from pdf where partno='31-124.025' and brandshort='EAO' limit 1 [ RunTime:0.013681s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-124.025' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.009204s ]
SELECT `id` FROM `stock` WHERE `id` <> 43880199 AND `partno` = '31-124.025' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.015683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17282518 [ RunTime:0.028744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43879965 LIMIT 5 [ RunTime:0.025596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43879965 ORDER BY `minOrder` ASC [ RunTime:0.021255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43879965 ORDER BY `unit` DESC [ RunTime:0.009703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43879965 LIMIT 2 [ RunTime:0.021089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43879965 ORDER BY `minOrder` ASC [ RunTime:0.009101s ]
select * from pdf where partno='31-123.0252' and brandshort='EAO' limit 1 [ RunTime:0.009214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-123.0252' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.019090s ]
SELECT `id` FROM `stock` WHERE `id` <> 43879965 AND `partno` = '31-123.0252' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.015997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11362001 [ RunTime:0.002829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43879490 LIMIT 5 [ RunTime:0.001800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43879490 ORDER BY `minOrder` ASC [ RunTime:0.003067s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43879490 ORDER BY `unit` DESC [ RunTime:0.001472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43879490 LIMIT 2 [ RunTime:0.001141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43879490 ORDER BY `minOrder` ASC [ RunTime:0.002462s ]
select * from pdf where partno='31-123.025' and brandshort='EAO' limit 1 [ RunTime:0.006980s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-123.025' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.004606s ]
SELECT `id` FROM `stock` WHERE `id` <> 43879490 AND `partno` = '31-123.025' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.006638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12433508 [ RunTime:0.006337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43836459 LIMIT 5 [ RunTime:0.003010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43836459 ORDER BY `minOrder` ASC [ RunTime:0.002461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43836459 ORDER BY `unit` DESC [ RunTime:0.005501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43836459 LIMIT 2 [ RunTime:0.009925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43836459 ORDER BY `minOrder` ASC [ RunTime:0.002467s ]
select * from pdf where partno='31-121.012' and brandshort='EAO' limit 1 [ RunTime:0.020679s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-121.012' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.010234s ]
SELECT `id` FROM `stock` WHERE `id` <> 43836459 AND `partno` = '31-121.012' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eao%' ) [ RunTime:0.003936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17271328 [ RunTime:0.011400s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014514s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008889s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017591s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011836s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005345s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001572s ]
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 '31-12%' OR `brand` LIKE '31-12%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002130s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '31-12%' OR `brand` LIKE '31-12%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000686s ]