SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001479s ]
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=MP051&search=1' [ RunTime:0.003349s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001579s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001129s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001670s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.114' ) [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001498s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001698s ]
SELECT * FROM `stock_search` WHERE `partno` = 'MP051' LIMIT 1 [ RunTime:0.003382s ]
UPDATE `stock_search` SET `count` = 3 , `updatetime` = '2026-10-12 14:42:41' WHERE `partno` = 'MP051' [ RunTime:0.005618s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001417s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004453s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12309153 LIMIT 5 [ RunTime:0.000606s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12309153 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12309153 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12309153 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12309153 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11947266 LIMIT 5 [ RunTime:0.000683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11947266 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11947266 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11947266 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11947266 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13216906 LIMIT 5 [ RunTime:0.000649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13216906 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13216906 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13216906 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13216906 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296705 LIMIT 5 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296705 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12296705 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12296705 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296705 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296704 LIMIT 5 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296704 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12296704 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12296704 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296704 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296703 LIMIT 5 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296703 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12296703 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12296703 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296703 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296702 LIMIT 5 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296702 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12296702 ORDER BY `unit` DESC [ RunTime:0.000323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12296702 LIMIT 2 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12296702 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51131327 LIMIT 5 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51131327 ORDER BY `minOrder` ASC [ RunTime:0.002346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51131327 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51131327 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51131327 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='mp0512-200' and brandshort='laird technologies' limit 1 [ RunTime:0.005473s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001914s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mp0512-200' OR `brand` LIKE 'laird technologies%' ) ) LIMIT 1 [ RunTime:0.000595s ]
SELECT `id` FROM `stock` WHERE `id` <> 51131327 AND `partno` = 'mp0512-200' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%laird technologies%' ) [ RunTime:0.000503s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71698151 LIMIT 5 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71698151 ORDER BY `minOrder` ASC [ RunTime:0.002105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71698151 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71698151 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71698151 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='mp0512-200' and brandshort='laird' limit 1 [ RunTime:0.000518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'mp0512-200' OR `brand` LIKE 'laird%' ) ) LIMIT 1 [ RunTime:0.001259s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70938581 LIMIT 5 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70938581 ORDER BY `minOrder` ASC [ RunTime:0.000653s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70938581 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70938581 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70938581 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='MP0512-200' and brandshort='Laird-Signal Integrity Products' limit 1 [ RunTime:0.000476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP0512-200' OR `brand` LIKE 'Laird-Signal Integrity Products%' ) ) LIMIT 1 [ RunTime:0.000366s ]
SELECT `id` FROM `stock` WHERE `id` <> 70938581 AND `partno` = 'MP0512-200' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%laird-signal integrity products%' ) [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11947266 [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70952737 LIMIT 5 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70952737 ORDER BY `minOrder` ASC [ RunTime:0.001800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70952737 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70952737 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70952737 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
select * from pdf where partno='MP051000-2' and brandshort='Fairview Microwave' limit 1 [ RunTime:0.000419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP051000-2' OR `brand` LIKE 'Fairview Microwave%' ) ) LIMIT 1 [ RunTime:0.000351s ]
SELECT `id` FROM `stock` WHERE `id` <> 70952737 AND `partno` = 'MP051000-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%fairview microwave%' ) [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42816937 LIMIT 5 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42816937 ORDER BY `minOrder` ASC [ RunTime:0.001029s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42816937 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42816937 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42816937 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='MP051A-E' and brandshort='CTS-Frequency Controls' limit 1 [ RunTime:0.000570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP051A-E' OR `brand` LIKE 'CTS-Frequency Controls%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT `id` FROM `stock` WHERE `id` <> 42816937 AND `partno` = 'MP051A-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cts-frequency controls%' ) [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296704 [ RunTime:0.000312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42669894 LIMIT 5 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42669894 ORDER BY `minOrder` ASC [ RunTime:0.001663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42669894 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42669894 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42669894 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
select * from pdf where partno='MP051-E' and brandshort='CTS-Frequency Controls' limit 1 [ RunTime:0.000573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP051-E' OR `brand` LIKE 'CTS-Frequency Controls%' ) ) LIMIT 1 [ RunTime:0.000353s ]
SELECT `id` FROM `stock` WHERE `id` <> 42669894 AND `partno` = 'MP051-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cts-frequency controls%' ) [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296705 [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42669893 LIMIT 5 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42669893 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42669893 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42669893 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42669893 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
select * from pdf where partno='MP051' and brandshort='CTS-Frequency Controls' limit 1 [ RunTime:0.002470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP051' OR `brand` LIKE 'CTS-Frequency Controls%' ) ) LIMIT 1 [ RunTime:0.000354s ]
SELECT `id` FROM `stock` WHERE `id` <> 42669893 AND `partno` = 'MP051' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cts-frequency controls%' ) [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296702 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42621135 LIMIT 5 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42621135 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42621135 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42621135 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42621135 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='MP051A' and brandshort='CTS-Frequency Controls' limit 1 [ RunTime:0.000608s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP051A' OR `brand` LIKE 'CTS-Frequency Controls%' ) ) LIMIT 1 [ RunTime:0.000377s ]
SELECT `id` FROM `stock` WHERE `id` <> 42621135 AND `partno` = 'MP051A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%cts-frequency controls%' ) [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12296703 [ RunTime:0.000299s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000624s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '5' 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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000568s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000524s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000538s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000542s ]
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 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000581s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MP051%' OR `brand` LIKE 'MP051%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000538s ]