SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002795s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045069s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.109813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565364 LIMIT 5 [ RunTime:0.098039s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.039528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565364 ORDER BY `minOrder` ASC [ RunTime:0.075667s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13565364 ORDER BY `unit` DESC [ RunTime:0.025981s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13565364 LIMIT 2 [ RunTime:0.097949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565364 ORDER BY `minOrder` ASC [ RunTime:0.013751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565363 LIMIT 5 [ RunTime:0.053846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565363 ORDER BY `minOrder` ASC [ RunTime:0.140197s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13565363 ORDER BY `unit` DESC [ RunTime:0.155595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13565363 LIMIT 2 [ RunTime:0.031744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565363 ORDER BY `minOrder` ASC [ RunTime:0.043341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565362 LIMIT 5 [ RunTime:0.050907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565362 ORDER BY `minOrder` ASC [ RunTime:0.051352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13565362 ORDER BY `unit` DESC [ RunTime:0.051078s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13565362 LIMIT 2 [ RunTime:0.050385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565362 ORDER BY `minOrder` ASC [ RunTime:0.024567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565361 LIMIT 5 [ RunTime:0.083727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565361 ORDER BY `minOrder` ASC [ RunTime:0.037428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13565361 ORDER BY `unit` DESC [ RunTime:0.119805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13565361 LIMIT 2 [ RunTime:0.024106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565361 ORDER BY `minOrder` ASC [ RunTime:0.037798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565337 LIMIT 5 [ RunTime:0.032889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565337 ORDER BY `minOrder` ASC [ RunTime:0.084232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13565337 ORDER BY `unit` DESC [ RunTime:0.017568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13565337 LIMIT 2 [ RunTime:0.081401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13565337 ORDER BY `minOrder` ASC [ RunTime:0.080506s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024930s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55601183 LIMIT 5 [ RunTime:0.087391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601183 ORDER BY `minOrder` ASC [ RunTime:0.060334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55601183 ORDER BY `unit` DESC [ RunTime:0.027099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55601183 LIMIT 2 [ RunTime:0.047263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601183 ORDER BY `minOrder` ASC [ RunTime:0.044949s ]
select * from pdf where partno='P036-E04' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.032381s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P036-E04' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.030510s ]
SELECT `id` FROM `stock` WHERE `id` <> 55601183 AND `partno` = 'P036-E04' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.015954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565337 [ RunTime:0.031830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55601239 LIMIT 5 [ RunTime:0.012618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601239 ORDER BY `minOrder` ASC [ RunTime:0.022886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55601239 ORDER BY `unit` DESC [ RunTime:0.012676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55601239 LIMIT 2 [ RunTime:0.012711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601239 ORDER BY `minOrder` ASC [ RunTime:0.019570s ]
select * from pdf where partno='P036-E04-ABL-6' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.002816s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P036-E04-ABL-6' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.001968s ]
SELECT `id` FROM `stock` WHERE `id` <> 55601239 AND `partno` = 'P036-E04-ABL-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.027857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565364 [ RunTime:0.011467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55601238 LIMIT 5 [ RunTime:0.010067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601238 ORDER BY `minOrder` ASC [ RunTime:0.017256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55601238 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55601238 LIMIT 2 [ RunTime:0.000780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601238 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
select * from pdf where partno='P036-E04-6' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.006846s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P036-E04-6' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.011478s ]
SELECT `id` FROM `stock` WHERE `id` <> 55601238 AND `partno` = 'P036-E04-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.006124s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565363 [ RunTime:0.003750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55601237 LIMIT 5 [ RunTime:0.003980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601237 ORDER BY `minOrder` ASC [ RunTime:0.029474s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55601237 ORDER BY `unit` DESC [ RunTime:0.003352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55601237 LIMIT 2 [ RunTime:0.002217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601237 ORDER BY `minOrder` ASC [ RunTime:0.003008s ]
select * from pdf where partno='P036-E04-ARD-6' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.015761s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P036-E04-ARD-6' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.009829s ]
SELECT `id` FROM `stock` WHERE `id` <> 55601237 AND `partno` = 'P036-E04-ARD-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.001951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565362 [ RunTime:0.020507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55601236 LIMIT 5 [ RunTime:0.017240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601236 ORDER BY `minOrder` ASC [ RunTime:0.011651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55601236 ORDER BY `unit` DESC [ RunTime:0.002929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55601236 LIMIT 2 [ RunTime:0.013857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55601236 ORDER BY `minOrder` ASC [ RunTime:0.004554s ]
select * from pdf where partno='P036-E04-AWH-6' and brandshort='Eaton Tripp Lite' limit 1 [ RunTime:0.007849s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P036-E04-AWH-6' OR `brand` LIKE 'Eaton Tripp Lite%' ) ) LIMIT 1 [ RunTime:0.007280s ]
SELECT `id` FROM `stock` WHERE `id` <> 55601236 AND `partno` = 'P036-E04-AWH-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%eaton tripp lite%' ) [ RunTime:0.005225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13565361 [ RunTime:0.019584s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010938s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016915s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012212s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002719s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001481s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015334s ]
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 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021441s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'P036-E04%' OR `brand` LIKE 'P036-E04%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001581s ]