SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001467s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041755s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13816426 LIMIT 5 [ RunTime:0.012884s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.043407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13816426 ORDER BY `minOrder` ASC [ RunTime:0.016965s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13816426 ORDER BY `unit` DESC [ RunTime:0.033114s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.022365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13816426 LIMIT 2 [ RunTime:0.008822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13816426 ORDER BY `minOrder` ASC [ RunTime:0.017883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11194101 LIMIT 5 [ RunTime:0.057130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11194101 ORDER BY `minOrder` ASC [ RunTime:0.034099s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11194101 ORDER BY `unit` DESC [ RunTime:0.007070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11194101 LIMIT 2 [ RunTime:0.006134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11194101 ORDER BY `minOrder` ASC [ RunTime:0.005071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18766391 LIMIT 5 [ RunTime:0.032064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18766391 ORDER BY `minOrder` ASC [ RunTime:0.026128s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18766391 ORDER BY `unit` DESC [ RunTime:0.047824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18766391 LIMIT 2 [ RunTime:0.041402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18766391 ORDER BY `minOrder` ASC [ RunTime:0.031225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18753365 LIMIT 5 [ RunTime:0.078860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18753365 ORDER BY `minOrder` ASC [ RunTime:0.022578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18753365 ORDER BY `unit` DESC [ RunTime:0.025082s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18753365 LIMIT 2 [ RunTime:0.038837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18753365 ORDER BY `minOrder` ASC [ RunTime:0.005365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18743199 LIMIT 5 [ RunTime:0.061780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18743199 ORDER BY `minOrder` ASC [ RunTime:0.034567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18743199 ORDER BY `unit` DESC [ RunTime:0.016369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18743199 LIMIT 2 [ RunTime:0.034836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18743199 ORDER BY `minOrder` ASC [ RunTime:0.020824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18724577 LIMIT 5 [ RunTime:0.028087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18724577 ORDER BY `minOrder` ASC [ RunTime:0.054547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18724577 ORDER BY `unit` DESC [ RunTime:0.051861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18724577 LIMIT 2 [ RunTime:0.044485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18724577 ORDER BY `minOrder` ASC [ RunTime:0.045644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13817304 LIMIT 5 [ RunTime:0.017189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13817304 ORDER BY `minOrder` ASC [ RunTime:0.037584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13817304 ORDER BY `unit` DESC [ RunTime:0.005789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13817304 LIMIT 2 [ RunTime:0.055262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13817304 ORDER BY `minOrder` ASC [ RunTime:0.031670s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13287843 LIMIT 5 [ RunTime:0.027698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13287843 ORDER BY `minOrder` ASC [ RunTime:0.084967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13287843 ORDER BY `unit` DESC [ RunTime:0.023692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13287843 LIMIT 2 [ RunTime:0.135130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13287843 ORDER BY `minOrder` ASC [ RunTime:0.027476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12157840 LIMIT 5 [ RunTime:0.030910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12157840 ORDER BY `minOrder` ASC [ RunTime:0.070371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12157840 ORDER BY `unit` DESC [ RunTime:0.096287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12157840 LIMIT 2 [ RunTime:0.048852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12157840 ORDER BY `minOrder` ASC [ RunTime:0.121160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12157839 LIMIT 5 [ RunTime:0.057794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12157839 ORDER BY `minOrder` ASC [ RunTime:0.073260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12157839 ORDER BY `unit` DESC [ RunTime:0.098865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12157839 LIMIT 2 [ RunTime:0.094642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12157839 ORDER BY `minOrder` ASC [ RunTime:0.064118s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030062s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.095979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58527026 LIMIT 5 [ RunTime:0.064302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527026 ORDER BY `minOrder` ASC [ RunTime:0.090526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58527026 ORDER BY `unit` DESC [ RunTime:0.063291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58527026 LIMIT 2 [ RunTime:0.030245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527026 ORDER BY `minOrder` ASC [ RunTime:0.002692s ]
select * from pdf where partno='2031734-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.036825s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001673s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031734-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.067677s ]
SELECT `id` FROM `stock` WHERE `id` <> 58527026 AND `partno` = '2031734-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.038273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58546826 LIMIT 5 [ RunTime:0.044988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58546826 ORDER BY `minOrder` ASC [ RunTime:0.045843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58546826 ORDER BY `unit` DESC [ RunTime:0.008883s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58546826 LIMIT 2 [ RunTime:0.037979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58546826 ORDER BY `minOrder` ASC [ RunTime:0.026700s ]
select * from pdf where partno='20317' and brandshort='3M' limit 1 [ RunTime:0.148547s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20317' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.011109s ]
SELECT `id` FROM `stock` WHERE `id` <> 58546826 AND `partno` = '20317' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%3m%' ) [ RunTime:0.022839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11194101 [ RunTime:0.024451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44627143 LIMIT 5 [ RunTime:0.072654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44627143 ORDER BY `minOrder` ASC [ RunTime:0.051471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44627143 ORDER BY `unit` DESC [ RunTime:0.035479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44627143 LIMIT 2 [ RunTime:0.050206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44627143 ORDER BY `minOrder` ASC [ RunTime:0.036487s ]
select * from pdf where partno='2031734-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.019583s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031734-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.068816s ]
SELECT `id` FROM `stock` WHERE `id` <> 44627143 AND `partno` = '2031734-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.061446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18724577 [ RunTime:0.083658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33108644 LIMIT 5 [ RunTime:0.047311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33108644 ORDER BY `minOrder` ASC [ RunTime:0.101671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33108644 ORDER BY `unit` DESC [ RunTime:0.041033s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33108644 LIMIT 2 [ RunTime:0.120459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33108644 ORDER BY `minOrder` ASC [ RunTime:0.029014s ]
select * from pdf where partno='2031734-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.030038s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031734-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.026492s ]
SELECT `id` FROM `stock` WHERE `id` <> 33108644 AND `partno` = '2031734-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.043000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18724577 [ RunTime:0.013125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58539772 LIMIT 5 [ RunTime:0.069445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58539772 ORDER BY `minOrder` ASC [ RunTime:0.027432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58539772 ORDER BY `unit` DESC [ RunTime:0.052832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58539772 LIMIT 2 [ RunTime:0.038698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58539772 ORDER BY `minOrder` ASC [ RunTime:0.027980s ]
select * from pdf where partno='2031787-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.029455s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031787-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.059353s ]
SELECT `id` FROM `stock` WHERE `id` <> 58539772 AND `partno` = '2031787-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.065712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58202612 LIMIT 5 [ RunTime:0.032839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58202612 ORDER BY `minOrder` ASC [ RunTime:0.096818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58202612 ORDER BY `unit` DESC [ RunTime:0.026617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58202612 LIMIT 2 [ RunTime:0.048253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58202612 ORDER BY `minOrder` ASC [ RunTime:0.083133s ]
select * from pdf where partno='20317R' and brandshort='Mersen USA Newburyport-MA L.L.C.' limit 1 [ RunTime:0.018065s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20317R' OR `brand` LIKE 'Mersen USA Newburyport-MA L.L.C.%' ) ) LIMIT 1 [ RunTime:0.090905s ]
SELECT `id` FROM `stock` WHERE `id` <> 58202612 AND `partno` = '20317R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mersen usa newburyport-ma l.l.c.%' ) [ RunTime:0.049132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13817304 [ RunTime:0.029935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58201176 LIMIT 5 [ RunTime:0.032822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58201176 ORDER BY `minOrder` ASC [ RunTime:0.018320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58201176 ORDER BY `unit` DESC [ RunTime:0.020231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58201176 LIMIT 2 [ RunTime:0.034101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58201176 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
select * from pdf where partno='20317' and brandshort='Mersen USA Newburyport-MA L.L.C.' limit 1 [ RunTime:0.000679s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20317' OR `brand` LIKE 'Mersen USA Newburyport-MA L.L.C.%' ) ) LIMIT 1 [ RunTime:0.006569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44638966 LIMIT 5 [ RunTime:0.039324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44638966 ORDER BY `minOrder` ASC [ RunTime:0.040657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44638966 ORDER BY `unit` DESC [ RunTime:0.007697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44638966 LIMIT 2 [ RunTime:0.079633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44638966 ORDER BY `minOrder` ASC [ RunTime:0.024623s ]
select * from pdf where partno='2031787-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.043688s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031787-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.026776s ]
SELECT `id` FROM `stock` WHERE `id` <> 44638966 AND `partno` = '2031787-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.027507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12157840 [ RunTime:0.075984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44030514 LIMIT 5 [ RunTime:0.026569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44030514 ORDER BY `minOrder` ASC [ RunTime:0.043280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44030514 ORDER BY `unit` DESC [ RunTime:0.022890s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44030514 LIMIT 2 [ RunTime:0.034345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44030514 ORDER BY `minOrder` ASC [ RunTime:0.015934s ]
select * from pdf where partno='2031719-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.006124s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031719-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.032688s ]
SELECT `id` FROM `stock` WHERE `id` <> 44030514 AND `partno` = '2031719-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.026608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18743199 [ RunTime:0.029088s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33123419 LIMIT 5 [ RunTime:0.029523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33123419 ORDER BY `minOrder` ASC [ RunTime:0.023247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33123419 ORDER BY `unit` DESC [ RunTime:0.030489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33123419 LIMIT 2 [ RunTime:0.011616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33123419 ORDER BY `minOrder` ASC [ RunTime:0.014152s ]
select * from pdf where partno='2031787-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.006057s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031787-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.007021s ]
SELECT `id` FROM `stock` WHERE `id` <> 33123419 AND `partno` = '2031787-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.012179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12157840 [ RunTime:0.010996s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010406s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015819s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006280s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012683s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001806s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015072s ]
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 '20317%' OR `brand` LIKE '20317%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017026s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '20317%' OR `brand` LIKE '20317%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006900s ]