SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001478s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.114' , `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=51065&search=1' [ RunTime:0.004088s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001390s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003664s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001507s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.114' ) [ RunTime:0.000435s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001746s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000439s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001354s ]
SELECT * FROM `stock_search` WHERE `partno` = '51065' LIMIT 1 [ RunTime:0.003169s ]
UPDATE `stock_search` SET `count` = 6 , `updatetime` = '2026-10-12 06:28:15' WHERE `partno` = '51065' [ RunTime:0.003016s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001525s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012394s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8381 LIMIT 5 [ RunTime:0.000399s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8381 ORDER BY `minOrder` ASC [ RunTime:0.000812s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8381 ORDER BY `unit` DESC [ RunTime:0.000671s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8381 LIMIT 2 [ RunTime:0.002495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8381 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51065-0600' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.009164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5197 LIMIT 5 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5197 ORDER BY `minOrder` ASC [ RunTime:0.001182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5197 ORDER BY `unit` DESC [ RunTime:0.000611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5197 LIMIT 2 [ RunTime:0.002747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5197 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51065-0200' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12503109 LIMIT 5 [ RunTime:0.001154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12503109 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12503109 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12503109 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12503109 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11408441 LIMIT 5 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11408441 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11408441 ORDER BY `unit` DESC [ RunTime:0.000652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11408441 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11408441 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12917 LIMIT 5 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12917 ORDER BY `minOrder` ASC [ RunTime:0.009952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12917 ORDER BY `unit` DESC [ RunTime:0.001449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12917 LIMIT 2 [ RunTime:0.002917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12917 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51065-0700' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18712478 LIMIT 5 [ RunTime:0.006411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18712478 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18712478 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18712478 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18712478 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
select * from pdf where partno='51065' and brandshort='3M' limit 1 [ RunTime:0.002000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12166676 LIMIT 5 [ RunTime:0.001166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12166676 ORDER BY `minOrder` ASC [ RunTime:0.000580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12166676 ORDER BY `unit` DESC [ RunTime:0.000508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12166676 LIMIT 2 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12166676 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11408015 LIMIT 5 [ RunTime:0.000763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11408015 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11408015 ORDER BY `unit` DESC [ RunTime:0.000611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11408015 LIMIT 2 [ RunTime:0.000545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11408015 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71807526 LIMIT 5 [ RunTime:0.000514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71807526 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71807526 ORDER BY `unit` DESC [ RunTime:0.000491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71807526 LIMIT 2 [ RunTime:0.000509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71807526 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
select * from pdf where partno='51065-1400' and brandshort='molex' limit 1 [ RunTime:0.000734s ]
select foldpath,foldpath2,filename from pdf_file where id=853304 limit 1 [ RunTime:0.000566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51065-1400' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.010853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32270570 LIMIT 5 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32270570 ORDER BY `minOrder` ASC [ RunTime:0.001454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32270570 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32270570 LIMIT 2 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32270570 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
select * from pdf where partno='5106509-1' and brandshort='te connectivity / amp' limit 1 [ RunTime:0.000739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5106509-1' OR `brand` LIKE 'te connectivity / amp%' ) ) LIMIT 1 [ RunTime:0.000650s ]
SELECT `id` FROM `stock` WHERE `id` <> 32270570 AND `partno` = '5106509-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity / amp%' ) [ RunTime:0.000982s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67745620 LIMIT 5 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67745620 ORDER BY `minOrder` ASC [ RunTime:0.003300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67745620 ORDER BY `unit` DESC [ RunTime:0.000546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67745620 LIMIT 2 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67745620 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
select * from pdf where partno='5106509-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5106509-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000823s ]
SELECT `id` FROM `stock` WHERE `id` <> 67745620 AND `partno` = '5106509-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12503109 [ RunTime:0.000668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67745621 LIMIT 5 [ RunTime:0.000636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67745621 ORDER BY `minOrder` ASC [ RunTime:0.000674s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67745621 ORDER BY `unit` DESC [ RunTime:0.000605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67745621 LIMIT 2 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67745621 ORDER BY `minOrder` ASC [ RunTime:0.000665s ]
select * from pdf where partno='5106510-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000850s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5106510-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT `id` FROM `stock` WHERE `id` <> 67745621 AND `partno` = '5106510-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11408441 [ RunTime:0.000660s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71201680 LIMIT 5 [ RunTime:0.000608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71201680 ORDER BY `minOrder` ASC [ RunTime:0.001100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71201680 ORDER BY `unit` DESC [ RunTime:0.000604s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71201680 LIMIT 2 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71201680 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
select * from pdf where partno='51065' and brandshort='3M' limit 1 [ RunTime:0.000862s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51065' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.003351s ]
SELECT `id` FROM `stock` WHERE `id` <> 71201680 AND `partno` = '51065' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.000804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18712478 [ RunTime:0.000648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67746488 LIMIT 5 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67746488 ORDER BY `minOrder` ASC [ RunTime:0.002183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67746488 ORDER BY `unit` DESC [ RunTime:0.000643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67746488 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67746488 ORDER BY `minOrder` ASC [ RunTime:0.000656s ]
select * from pdf where partno='5106534-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5106534-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000787s ]
SELECT `id` FROM `stock` WHERE `id` <> 67746488 AND `partno` = '5106534-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11408015 [ RunTime:0.000671s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32587157 LIMIT 5 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32587157 ORDER BY `minOrder` ASC [ RunTime:0.001534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32587157 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32587157 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32587157 ORDER BY `minOrder` ASC [ RunTime:0.000561s ]
select * from pdf where partno='510653' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.000773s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '510653' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.000666s ]
SELECT `id` FROM `stock` WHERE `id` <> 32587157 AND `partno` = '510653' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.000676s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001075s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000968s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000959s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000990s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000955s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000948s ]
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 '51065%' OR `brand` LIKE '51065%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001044s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '51065%' OR `brand` LIKE '51065%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001193s ]