SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002723s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077771s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.020044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18908647 LIMIT 5 [ RunTime:0.055234s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.019329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908647 ORDER BY `minOrder` ASC [ RunTime:0.033245s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.035903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18908647 ORDER BY `unit` DESC [ RunTime:0.018567s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18908647 LIMIT 2 [ RunTime:0.017191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908647 ORDER BY `minOrder` ASC [ RunTime:0.027291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18908646 LIMIT 5 [ RunTime:0.073103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908646 ORDER BY `minOrder` ASC [ RunTime:0.061223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18908646 ORDER BY `unit` DESC [ RunTime:0.057473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18908646 LIMIT 2 [ RunTime:0.029465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18908646 ORDER BY `minOrder` ASC [ RunTime:0.015995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907389 LIMIT 5 [ RunTime:0.022698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907389 ORDER BY `minOrder` ASC [ RunTime:0.050442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18907389 ORDER BY `unit` DESC [ RunTime:0.056789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18907389 LIMIT 2 [ RunTime:0.078743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907389 ORDER BY `minOrder` ASC [ RunTime:0.034690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907089 LIMIT 5 [ RunTime:0.022454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907089 ORDER BY `minOrder` ASC [ RunTime:0.022983s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18907089 ORDER BY `unit` DESC [ RunTime:0.056083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18907089 LIMIT 2 [ RunTime:0.058136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907089 ORDER BY `minOrder` ASC [ RunTime:0.035498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906570 LIMIT 5 [ RunTime:0.030384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906570 ORDER BY `minOrder` ASC [ RunTime:0.023571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18906570 ORDER BY `unit` DESC [ RunTime:0.055691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18906570 LIMIT 2 [ RunTime:0.027729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906570 ORDER BY `minOrder` ASC [ RunTime:0.021970s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906527 LIMIT 5 [ RunTime:0.010645s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906527 ORDER BY `minOrder` ASC [ RunTime:0.015575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18906527 ORDER BY `unit` DESC [ RunTime:0.048328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18906527 LIMIT 2 [ RunTime:0.070759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906527 ORDER BY `minOrder` ASC [ RunTime:0.004845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906526 LIMIT 5 [ RunTime:0.039876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906526 ORDER BY `minOrder` ASC [ RunTime:0.031504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18906526 ORDER BY `unit` DESC [ RunTime:0.011289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18906526 LIMIT 2 [ RunTime:0.022548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906526 ORDER BY `minOrder` ASC [ RunTime:0.010136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906523 LIMIT 5 [ RunTime:0.017485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906523 ORDER BY `minOrder` ASC [ RunTime:0.021324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18906523 ORDER BY `unit` DESC [ RunTime:0.043172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18906523 LIMIT 2 [ RunTime:0.023834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906523 ORDER BY `minOrder` ASC [ RunTime:0.033478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906270 LIMIT 5 [ RunTime:0.046162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906270 ORDER BY `minOrder` ASC [ RunTime:0.085163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18906270 ORDER BY `unit` DESC [ RunTime:0.017830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18906270 LIMIT 2 [ RunTime:0.029275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18906270 ORDER BY `minOrder` ASC [ RunTime:0.009562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18711172 LIMIT 5 [ RunTime:0.029469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18711172 ORDER BY `minOrder` ASC [ RunTime:0.048136s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18711172 ORDER BY `unit` DESC [ RunTime:0.004709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18711172 LIMIT 2 [ RunTime:0.015386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18711172 ORDER BY `minOrder` ASC [ RunTime:0.004718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15250128 LIMIT 5 [ RunTime:0.018938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15250128 ORDER BY `minOrder` ASC [ RunTime:0.019151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15250128 ORDER BY `unit` DESC [ RunTime:0.028494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15250128 LIMIT 2 [ RunTime:0.022680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15250128 ORDER BY `minOrder` ASC [ RunTime:0.015678s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070224s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51246392 LIMIT 5 [ RunTime:0.039251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51246392 ORDER BY `minOrder` ASC [ RunTime:0.041288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51246392 ORDER BY `unit` DESC [ RunTime:0.074335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51246392 LIMIT 2 [ RunTime:0.019906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51246392 ORDER BY `minOrder` ASC [ RunTime:0.034864s ]
select * from pdf where partno='5922023302NF' and brandshort='Dialight' limit 1 [ RunTime:0.035769s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002595s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922023302NF' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.035841s ]
SELECT `id` FROM `stock` WHERE `id` <> 51246392 AND `partno` = '5922023302NF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.017432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15250128 [ RunTime:0.045236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51246388 LIMIT 5 [ RunTime:0.021238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51246388 ORDER BY `minOrder` ASC [ RunTime:0.038424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51246388 ORDER BY `unit` DESC [ RunTime:0.042293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51246388 LIMIT 2 [ RunTime:0.065148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51246388 ORDER BY `minOrder` ASC [ RunTime:0.011921s ]
select * from pdf where partno='5922020302NF' and brandshort='Dialight' limit 1 [ RunTime:0.027697s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922020302NF' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.079291s ]
SELECT `id` FROM `stock` WHERE `id` <> 51246388 AND `partno` = '5922020302NF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.061049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907089 [ RunTime:0.062722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51245722 LIMIT 5 [ RunTime:0.019720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245722 ORDER BY `minOrder` ASC [ RunTime:0.077783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51245722 ORDER BY `unit` DESC [ RunTime:0.111464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51245722 LIMIT 2 [ RunTime:0.021124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245722 ORDER BY `minOrder` ASC [ RunTime:0.023735s ]
select * from pdf where partno='5922020313NF' and brandshort='Dialight' limit 1 [ RunTime:0.043707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922020313NF' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.020439s ]
SELECT `id` FROM `stock` WHERE `id` <> 51245722 AND `partno` = '5922020313NF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.063884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906570 [ RunTime:0.032189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51245673 LIMIT 5 [ RunTime:0.068811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245673 ORDER BY `minOrder` ASC [ RunTime:0.055511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51245673 ORDER BY `unit` DESC [ RunTime:0.046565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51245673 LIMIT 2 [ RunTime:0.165216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245673 ORDER BY `minOrder` ASC [ RunTime:0.017012s ]
select * from pdf where partno='5922023013F' and brandshort='Dialight' limit 1 [ RunTime:0.111529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922023013F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.060280s ]
SELECT `id` FROM `stock` WHERE `id` <> 51245673 AND `partno` = '5922023013F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.067307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906527 [ RunTime:0.134374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51245672 LIMIT 5 [ RunTime:0.075052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245672 ORDER BY `minOrder` ASC [ RunTime:0.063017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51245672 ORDER BY `unit` DESC [ RunTime:0.023544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51245672 LIMIT 2 [ RunTime:0.022777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245672 ORDER BY `minOrder` ASC [ RunTime:0.011589s ]
select * from pdf where partno='5922020013F' and brandshort='Dialight' limit 1 [ RunTime:0.017468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922020013F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.016992s ]
SELECT `id` FROM `stock` WHERE `id` <> 51245672 AND `partno` = '5922020013F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.092029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906526 [ RunTime:0.046519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51245669 LIMIT 5 [ RunTime:0.071466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245669 ORDER BY `minOrder` ASC [ RunTime:0.044722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51245669 ORDER BY `unit` DESC [ RunTime:0.103070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51245669 LIMIT 2 [ RunTime:0.016844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245669 ORDER BY `minOrder` ASC [ RunTime:0.015336s ]
select * from pdf where partno='5922023313NF' and brandshort='Dialight' limit 1 [ RunTime:0.057694s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922023313NF' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.112150s ]
SELECT `id` FROM `stock` WHERE `id` <> 51245669 AND `partno` = '5922023313NF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.037521s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906523 [ RunTime:0.075632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51245439 LIMIT 5 [ RunTime:0.109862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245439 ORDER BY `minOrder` ASC [ RunTime:0.044259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51245439 ORDER BY `unit` DESC [ RunTime:0.053586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51245439 LIMIT 2 [ RunTime:0.063977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245439 ORDER BY `minOrder` ASC [ RunTime:0.029411s ]
select * from pdf where partno='5922020313F' and brandshort='Dialight' limit 1 [ RunTime:0.090055s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922020313F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.047722s ]
SELECT `id` FROM `stock` WHERE `id` <> 51245439 AND `partno` = '5922020313F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.052654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18906270 [ RunTime:0.065265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51245392 LIMIT 5 [ RunTime:0.097733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245392 ORDER BY `minOrder` ASC [ RunTime:0.102659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51245392 ORDER BY `unit` DESC [ RunTime:0.185674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51245392 LIMIT 2 [ RunTime:0.088960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51245392 ORDER BY `minOrder` ASC [ RunTime:0.017196s ]
select * from pdf where partno='5922023313F' and brandshort='Dialight' limit 1 [ RunTime:0.081846s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5922023313F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.052793s ]
SELECT `id` FROM `stock` WHERE `id` <> 51245392 AND `partno` = '5922023313F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.096878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907389 [ RunTime:0.097798s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068945s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089152s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.101912s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.084933s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.127684s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068682s ]
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 '592202%' OR `brand` LIKE '592202%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055243s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '592202%' OR `brand` LIKE '592202%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.058099s ]