SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001540s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.125927s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17283749 LIMIT 5 [ RunTime:0.109247s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.033222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17283749 ORDER BY `minOrder` ASC [ RunTime:0.147423s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.034319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17283749 ORDER BY `unit` DESC [ RunTime:0.063329s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.036160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17283749 LIMIT 2 [ RunTime:0.053997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17283749 ORDER BY `minOrder` ASC [ RunTime:0.038898s ]
select * from pdf where partno='52PP2G3B' and brandshort='Siemens' limit 1 [ RunTime:0.029094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12459597 LIMIT 5 [ RunTime:0.072749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12459597 ORDER BY `minOrder` ASC [ RunTime:0.021427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12459597 ORDER BY `unit` DESC [ RunTime:0.018702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12459597 LIMIT 2 [ RunTime:0.028881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12459597 ORDER BY `minOrder` ASC [ RunTime:0.074619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12440398 LIMIT 5 [ RunTime:0.033404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12440398 ORDER BY `minOrder` ASC [ RunTime:0.048259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12440398 ORDER BY `unit` DESC [ RunTime:0.057449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12440398 LIMIT 2 [ RunTime:0.034126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12440398 ORDER BY `minOrder` ASC [ RunTime:0.062921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12440395 LIMIT 5 [ RunTime:0.025064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12440395 ORDER BY `minOrder` ASC [ RunTime:0.053879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12440395 ORDER BY `unit` DESC [ RunTime:0.094411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12440395 LIMIT 2 [ RunTime:0.061311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12440395 ORDER BY `minOrder` ASC [ RunTime:0.074737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12438757 LIMIT 5 [ RunTime:0.019416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438757 ORDER BY `minOrder` ASC [ RunTime:0.046016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12438757 ORDER BY `unit` DESC [ RunTime:0.104290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12438757 LIMIT 2 [ RunTime:0.178451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438757 ORDER BY `minOrder` ASC [ RunTime:0.029696s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12438668 LIMIT 5 [ RunTime:0.077201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438668 ORDER BY `minOrder` ASC [ RunTime:0.137454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12438668 ORDER BY `unit` DESC [ RunTime:0.037209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12438668 LIMIT 2 [ RunTime:0.086065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438668 ORDER BY `minOrder` ASC [ RunTime:0.087808s ]
select * from pdf where partno='52PP2G3GB' and brandshort='Siemens' limit 1 [ RunTime:0.086611s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12438579 LIMIT 5 [ RunTime:0.036258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438579 ORDER BY `minOrder` ASC [ RunTime:0.114230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12438579 ORDER BY `unit` DESC [ RunTime:0.196255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12438579 LIMIT 2 [ RunTime:0.033296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12438579 ORDER BY `minOrder` ASC [ RunTime:0.021865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11359932 LIMIT 5 [ RunTime:0.077617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359932 ORDER BY `minOrder` ASC [ RunTime:0.123241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11359932 ORDER BY `unit` DESC [ RunTime:0.058128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11359932 LIMIT 2 [ RunTime:0.003052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359932 ORDER BY `minOrder` ASC [ RunTime:0.021666s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062115s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58458793 LIMIT 5 [ RunTime:0.059208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58458793 ORDER BY `minOrder` ASC [ RunTime:0.008745s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58458793 ORDER BY `unit` DESC [ RunTime:0.011517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58458793 LIMIT 2 [ RunTime:0.038858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58458793 ORDER BY `minOrder` ASC [ RunTime:0.012794s ]
select * from pdf where partno='52PP2G3' and brandshort='Siemens' limit 1 [ RunTime:0.019606s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52PP2G3' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.029235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883931 LIMIT 5 [ RunTime:0.046465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883931 ORDER BY `minOrder` ASC [ RunTime:0.070692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883931 ORDER BY `unit` DESC [ RunTime:0.044548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883931 LIMIT 2 [ RunTime:0.050587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883931 ORDER BY `minOrder` ASC [ RunTime:0.038095s ]
select * from pdf where partno='52PP2G3B' and brandshort='Siemens' limit 1 [ RunTime:0.019188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52PP2G3B' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.036212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883853 LIMIT 5 [ RunTime:0.075869s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883853 ORDER BY `minOrder` ASC [ RunTime:0.012172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883853 ORDER BY `unit` DESC [ RunTime:0.035618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883853 LIMIT 2 [ RunTime:0.028430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883853 ORDER BY `minOrder` ASC [ RunTime:0.016953s ]
select * from pdf where partno='52PP2G3AB' and brandshort='Siemens' limit 1 [ RunTime:0.024133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52PP2G3AB' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.048600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883675 LIMIT 5 [ RunTime:0.050451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883675 ORDER BY `minOrder` ASC [ RunTime:0.005805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883675 ORDER BY `unit` DESC [ RunTime:0.029373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883675 LIMIT 2 [ RunTime:0.022392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883675 ORDER BY `minOrder` ASC [ RunTime:0.019496s ]
select * from pdf where partno='52PP2G3GB' and brandshort='Siemens' limit 1 [ RunTime:0.007004s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52PP2G3GB' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.025600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883557 LIMIT 5 [ RunTime:0.009550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883557 ORDER BY `minOrder` ASC [ RunTime:0.038162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883557 ORDER BY `unit` DESC [ RunTime:0.075145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883557 LIMIT 2 [ RunTime:0.026184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883557 ORDER BY `minOrder` ASC [ RunTime:0.020884s ]
select * from pdf where partno='52PP2G3A' and brandshort='Siemens' limit 1 [ RunTime:0.024311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52PP2G3A' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.081374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43883516 LIMIT 5 [ RunTime:0.019617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883516 ORDER BY `minOrder` ASC [ RunTime:0.017552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43883516 ORDER BY `unit` DESC [ RunTime:0.004359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43883516 LIMIT 2 [ RunTime:0.150489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43883516 ORDER BY `minOrder` ASC [ RunTime:0.025659s ]
select * from pdf where partno='52PP2G3G' and brandshort='Siemens' limit 1 [ RunTime:0.033362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52PP2G3G' OR `brand` LIKE 'Siemens%' ) ) LIMIT 1 [ RunTime:0.021195s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030505s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040189s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050694s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070091s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035949s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038928s ]
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 '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054025s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '52PP2G3%' OR `brand` LIKE '52PP2G3%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.051076s ]