SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.004159s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.245' , `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=DS371&search=1' [ RunTime:0.003359s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.005587s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005555s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.007914s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.245' ) [ RunTime:0.000565s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.008030s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.005252s ]
SELECT * FROM `stock_search` WHERE `partno` = 'DS371' LIMIT 1 [ RunTime:0.000780s ]
UPDATE `stock_search` SET `count` = 3 , `updatetime` = '2026-09-01 20:43:12' WHERE `partno` = 'DS371' [ RunTime:0.017358s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.014821s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003170s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002639s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18990754 LIMIT 5 [ RunTime:0.000631s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18990754 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18990754 ORDER BY `unit` DESC [ RunTime:0.000526s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18990754 LIMIT 2 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18990754 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17571366 LIMIT 5 [ RunTime:0.000831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17571366 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17571366 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17571366 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17571366 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16723634 LIMIT 5 [ RunTime:0.002442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16723634 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16723634 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16723634 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16723634 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16723624 LIMIT 5 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16723624 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16723624 ORDER BY `unit` DESC [ RunTime:0.000451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16723624 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16723624 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14886782 LIMIT 5 [ RunTime:0.008990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886782 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14886782 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14886782 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886782 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14886738 LIMIT 5 [ RunTime:0.008979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886738 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14886738 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14886738 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886738 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14886722 LIMIT 5 [ RunTime:0.002097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886722 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14886722 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14886722 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886722 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14886515 LIMIT 5 [ RunTime:0.003776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886515 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14886515 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14886515 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14886515 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13970755 LIMIT 5 [ RunTime:0.005287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13970755 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13970755 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13970755 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13970755 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001087s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64831662 LIMIT 5 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64831662 ORDER BY `minOrder` ASC [ RunTime:0.000772s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64831662 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64831662 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64831662 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
select * from pdf where partno='DS371456-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.001412s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.005725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371456-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.005861s ]
SELECT `id` FROM `stock` WHERE `id` <> 64831662 AND `partno` = 'DS371456-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000580s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64830963 LIMIT 5 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830963 ORDER BY `minOrder` ASC [ RunTime:0.006179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64830963 ORDER BY `unit` DESC [ RunTime:0.000426s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64830963 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830963 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='DS371356-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.000590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371356-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.000477s ]
SELECT `id` FROM `stock` WHERE `id` <> 64830963 AND `partno` = 'DS371356-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64830889 LIMIT 5 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830889 ORDER BY `minOrder` ASC [ RunTime:0.002091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64830889 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64830889 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830889 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
select * from pdf where partno='DS371406-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.000602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371406-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.000452s ]
SELECT `id` FROM `stock` WHERE `id` <> 64830889 AND `partno` = 'DS371406-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64830736 LIMIT 5 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830736 ORDER BY `minOrder` ASC [ RunTime:0.000536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64830736 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64830736 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830736 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
select * from pdf where partno='DS371306-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.000606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371306-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.000466s ]
SELECT `id` FROM `stock` WHERE `id` <> 64830736 AND `partno` = 'DS371306-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64830612 LIMIT 5 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830612 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64830612 ORDER BY `unit` DESC [ RunTime:0.000371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64830612 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830612 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='DS371256-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.000706s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371256-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.000464s ]
SELECT `id` FROM `stock` WHERE `id` <> 64830612 AND `partno` = 'DS371256-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64830477 LIMIT 5 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830477 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64830477 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64830477 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830477 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='DS371206-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.000477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371206-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.000456s ]
SELECT `id` FROM `stock` WHERE `id` <> 64830477 AND `partno` = 'DS371206-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000464s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64830364 LIMIT 5 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830364 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64830364 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64830364 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64830364 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
select * from pdf where partno='DS371156-CA' and brandshort='Panasonic Industry' limit 1 [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371156-CA' OR `brand` LIKE 'Panasonic Industry%' ) ) LIMIT 1 [ RunTime:0.000465s ]
SELECT `id` FROM `stock` WHERE `id` <> 64830364 AND `partno` = 'DS371156-CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panasonic industry%' ) [ RunTime:0.000482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63420559 LIMIT 5 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63420559 ORDER BY `minOrder` ASC [ RunTime:0.003951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63420559 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63420559 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63420559 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='DS371' and brandshort='Switchcraft Inc.' limit 1 [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS371' OR `brand` LIKE 'Switchcraft Inc.%' ) ) LIMIT 1 [ RunTime:0.000594s ]
SELECT `id` FROM `stock` WHERE `id` <> 63420559 AND `partno` = 'DS371' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%switchcraft inc.%' ) [ RunTime:0.000524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18990754 [ RunTime:0.000417s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000774s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000686s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000655s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000702s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000702s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000682s ]
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 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000796s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DS371%' OR `brand` LIKE 'DS371%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000760s ]