SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002866s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010009s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13495386 LIMIT 5 [ RunTime:0.019595s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13495386 ORDER BY `minOrder` ASC [ RunTime:0.021828s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13495386 ORDER BY `unit` DESC [ RunTime:0.010367s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13495386 LIMIT 2 [ RunTime:0.016226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13495386 ORDER BY `minOrder` ASC [ RunTime:0.007141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13500477 LIMIT 5 [ RunTime:0.025997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13500477 ORDER BY `minOrder` ASC [ RunTime:0.015821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13500477 ORDER BY `unit` DESC [ RunTime:0.035592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13500477 LIMIT 2 [ RunTime:0.046701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13500477 ORDER BY `minOrder` ASC [ RunTime:0.006977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16409668 LIMIT 5 [ RunTime:0.035491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16409668 ORDER BY `minOrder` ASC [ RunTime:0.069256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16409668 ORDER BY `unit` DESC [ RunTime:0.041922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16409668 LIMIT 2 [ RunTime:0.059166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16409668 ORDER BY `minOrder` ASC [ RunTime:0.001253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14384199 LIMIT 5 [ RunTime:0.050313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14384199 ORDER BY `minOrder` ASC [ RunTime:0.035770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14384199 ORDER BY `unit` DESC [ RunTime:0.023978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14384199 LIMIT 2 [ RunTime:0.022054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14384199 ORDER BY `minOrder` ASC [ RunTime:0.062168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14384103 LIMIT 5 [ RunTime:0.054079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14384103 ORDER BY `minOrder` ASC [ RunTime:0.055233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14384103 ORDER BY `unit` DESC [ RunTime:0.032904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14384103 LIMIT 2 [ RunTime:0.069195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14384103 ORDER BY `minOrder` ASC [ RunTime:0.005587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14383652 LIMIT 5 [ RunTime:0.024783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383652 ORDER BY `minOrder` ASC [ RunTime:0.021557s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14383652 ORDER BY `unit` DESC [ RunTime:0.056992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14383652 LIMIT 2 [ RunTime:0.058794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383652 ORDER BY `minOrder` ASC [ RunTime:0.054527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14383519 LIMIT 5 [ RunTime:0.037820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383519 ORDER BY `minOrder` ASC [ RunTime:0.070535s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14383519 ORDER BY `unit` DESC [ RunTime:0.060517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14383519 LIMIT 2 [ RunTime:0.035319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14383519 ORDER BY `minOrder` ASC [ RunTime:0.041125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13513603 LIMIT 5 [ RunTime:0.032689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13513603 ORDER BY `minOrder` ASC [ RunTime:0.040166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13513603 ORDER BY `unit` DESC [ RunTime:0.037456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13513603 LIMIT 2 [ RunTime:0.031169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13513603 ORDER BY `minOrder` ASC [ RunTime:0.013123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13511151 LIMIT 5 [ RunTime:0.031764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511151 ORDER BY `minOrder` ASC [ RunTime:0.027132s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13511151 ORDER BY `unit` DESC [ RunTime:0.025230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13511151 LIMIT 2 [ RunTime:0.039548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13511151 ORDER BY `minOrder` ASC [ RunTime:0.010849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13510330 LIMIT 5 [ RunTime:0.020364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13510330 ORDER BY `minOrder` ASC [ RunTime:0.038821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13510330 ORDER BY `unit` DESC [ RunTime:0.016491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13510330 LIMIT 2 [ RunTime:0.026850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13510330 ORDER BY `minOrder` ASC [ RunTime:0.018035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13510142 LIMIT 5 [ RunTime:0.041858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13510142 ORDER BY `minOrder` ASC [ RunTime:0.027937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13510142 ORDER BY `unit` DESC [ RunTime:0.052317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13510142 LIMIT 2 [ RunTime:0.021622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13510142 ORDER BY `minOrder` ASC [ RunTime:0.046256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12867550 LIMIT 5 [ RunTime:0.015623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12867550 ORDER BY `minOrder` ASC [ RunTime:0.026290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12867550 ORDER BY `unit` DESC [ RunTime:0.075235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12867550 LIMIT 2 [ RunTime:0.029707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12867550 ORDER BY `minOrder` ASC [ RunTime:0.003626s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042114s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56467277 LIMIT 5 [ RunTime:0.072398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56467277 ORDER BY `minOrder` ASC [ RunTime:0.076150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56467277 ORDER BY `unit` DESC [ RunTime:0.051825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56467277 LIMIT 2 [ RunTime:0.032557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56467277 ORDER BY `minOrder` ASC [ RunTime:0.041874s ]
select * from pdf where partno='6012049' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.059446s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6012049' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.053666s ]
SELECT `id` FROM `stock` WHERE `id` <> 56467277 AND `partno` = '6012049' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.116743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12867550 [ RunTime:0.070350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56205738 LIMIT 5 [ RunTime:0.033016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56205738 ORDER BY `minOrder` ASC [ RunTime:0.094047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56205738 ORDER BY `unit` DESC [ RunTime:0.062308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56205738 LIMIT 2 [ RunTime:0.071503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56205738 ORDER BY `minOrder` ASC [ RunTime:0.055593s ]
select * from pdf where partno='601204CY' and brandshort='LAPP' limit 1 [ RunTime:0.051819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '601204CY' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.029425s ]
SELECT `id` FROM `stock` WHERE `id` <> 56205738 AND `partno` = '601204CY' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.057608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13500477 [ RunTime:0.045653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56202561 LIMIT 5 [ RunTime:0.053469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56202561 ORDER BY `minOrder` ASC [ RunTime:0.090386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56202561 ORDER BY `unit` DESC [ RunTime:0.130961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56202561 LIMIT 2 [ RunTime:0.020613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56202561 ORDER BY `minOrder` ASC [ RunTime:0.034935s ]
select * from pdf where partno='601204' and brandshort='LAPP' limit 1 [ RunTime:0.027047s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '601204' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.080573s ]
SELECT `id` FROM `stock` WHERE `id` <> 56202561 AND `partno` = '601204' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.031916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13495386 [ RunTime:0.048753s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.131353s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038405s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.075838s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049417s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059362s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056016s ]
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 '601204%' OR `brand` LIKE '601204%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047308s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '601204%' OR `brand` LIKE '601204%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.027905s ]