SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001988s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007827s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11185239 LIMIT 5 [ RunTime:0.006578s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11185239 ORDER BY `minOrder` ASC [ RunTime:0.006808s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11185239 ORDER BY `unit` DESC [ RunTime:0.012188s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11185239 LIMIT 2 [ RunTime:0.011950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11185239 ORDER BY `minOrder` ASC [ RunTime:0.010214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14352731 LIMIT 5 [ RunTime:0.019779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14352731 ORDER BY `minOrder` ASC [ RunTime:0.010553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14352731 ORDER BY `unit` DESC [ RunTime:0.000696s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14352731 LIMIT 2 [ RunTime:0.005503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14352731 ORDER BY `minOrder` ASC [ RunTime:0.013834s ]
select * from pdf where partno='28175.7' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.037763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13475511 LIMIT 5 [ RunTime:0.018428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13475511 ORDER BY `minOrder` ASC [ RunTime:0.019624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13475511 ORDER BY `unit` DESC [ RunTime:0.035824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13475511 LIMIT 2 [ RunTime:0.026494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13475511 ORDER BY `minOrder` ASC [ RunTime:0.003180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13475393 LIMIT 5 [ RunTime:0.043285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13475393 ORDER BY `minOrder` ASC [ RunTime:0.052208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13475393 ORDER BY `unit` DESC [ RunTime:0.017720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13475393 LIMIT 2 [ RunTime:0.033862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13475393 ORDER BY `minOrder` ASC [ RunTime:0.022764s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020794s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58559133 LIMIT 5 [ RunTime:0.034122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58559133 ORDER BY `minOrder` ASC [ RunTime:0.010393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58559133 ORDER BY `unit` DESC [ RunTime:0.006877s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58559133 LIMIT 2 [ RunTime:0.000672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58559133 ORDER BY `minOrder` ASC [ RunTime:0.070885s ]
select * from pdf where partno='28175' and brandshort='Wiha' limit 1 [ RunTime:0.009767s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002681s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28175' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.005715s ]
SELECT `id` FROM `stock` WHERE `id` <> 58559133 AND `partno` = '28175' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.038426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11185239 [ RunTime:0.013574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64495527 LIMIT 5 [ RunTime:0.009588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64495527 ORDER BY `minOrder` ASC [ RunTime:0.038246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64495527 ORDER BY `unit` DESC [ RunTime:0.016881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64495527 LIMIT 2 [ RunTime:0.017404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64495527 ORDER BY `minOrder` ASC [ RunTime:0.034813s ]
select * from pdf where partno='28175.6' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.016612s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28175.6' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.037970s ]
SELECT `id` FROM `stock` WHERE `id` <> 64495527 AND `partno` = '28175.6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.027835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13475511 [ RunTime:0.005879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64495242 LIMIT 5 [ RunTime:0.021852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64495242 ORDER BY `minOrder` ASC [ RunTime:0.020355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64495242 ORDER BY `unit` DESC [ RunTime:0.026496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64495242 LIMIT 2 [ RunTime:0.022116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64495242 ORDER BY `minOrder` ASC [ RunTime:0.011671s ]
select * from pdf where partno='28175.8' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.014669s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28175.8' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.023711s ]
SELECT `id` FROM `stock` WHERE `id` <> 64495242 AND `partno` = '28175.8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.018402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13475393 [ RunTime:0.025910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64495241 LIMIT 5 [ RunTime:0.019029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64495241 ORDER BY `minOrder` ASC [ RunTime:0.017591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64495241 ORDER BY `unit` DESC [ RunTime:0.021831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64495241 LIMIT 2 [ RunTime:0.005314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64495241 ORDER BY `minOrder` ASC [ RunTime:0.005344s ]
select * from pdf where partno='28175.7' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.007616s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '28175.7' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.014796s ]
SELECT `id` FROM `stock` WHERE `id` <> 64495241 AND `partno` = '28175.7' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.013758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14352731 [ RunTime:0.021239s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010273s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045651s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006975s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034728s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019964s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027962s ]
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 '28175%' OR `brand` LIKE '28175%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026467s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '28175%' OR `brand` LIKE '28175%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023184s ]