SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002445s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004945s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16408155 LIMIT 5 [ RunTime:0.001550s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408155 ORDER BY `minOrder` ASC [ RunTime:0.012026s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006979s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16408155 ORDER BY `unit` DESC [ RunTime:0.009124s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16408155 LIMIT 2 [ RunTime:0.003555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408155 ORDER BY `minOrder` ASC [ RunTime:0.001276s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.008365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16406049 LIMIT 5 [ RunTime:0.024193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16406049 ORDER BY `minOrder` ASC [ RunTime:0.030026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16406049 ORDER BY `unit` DESC [ RunTime:0.025572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16406049 LIMIT 2 [ RunTime:0.025025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16406049 ORDER BY `minOrder` ASC [ RunTime:0.044637s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.008588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16404536 LIMIT 5 [ RunTime:0.014338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16404536 ORDER BY `minOrder` ASC [ RunTime:0.064149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16404536 ORDER BY `unit` DESC [ RunTime:0.026894s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16404536 LIMIT 2 [ RunTime:0.050455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16404536 ORDER BY `minOrder` ASC [ RunTime:0.019243s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.017745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14366649 LIMIT 5 [ RunTime:0.022847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14366649 ORDER BY `minOrder` ASC [ RunTime:0.032725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14366649 ORDER BY `unit` DESC [ RunTime:0.009807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14366649 LIMIT 2 [ RunTime:0.038141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14366649 ORDER BY `minOrder` ASC [ RunTime:0.053166s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.015861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16405174 LIMIT 5 [ RunTime:0.040761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16405174 ORDER BY `minOrder` ASC [ RunTime:0.027969s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16405174 ORDER BY `unit` DESC [ RunTime:0.070503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16405174 LIMIT 2 [ RunTime:0.067632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16405174 ORDER BY `minOrder` ASC [ RunTime:0.035776s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.005026s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16402550 LIMIT 5 [ RunTime:0.004561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16402550 ORDER BY `minOrder` ASC [ RunTime:0.065554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16402550 ORDER BY `unit` DESC [ RunTime:0.010543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16402550 LIMIT 2 [ RunTime:0.063766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16402550 ORDER BY `minOrder` ASC [ RunTime:0.020961s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.020628s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034984s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63058613 LIMIT 5 [ RunTime:0.047222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63058613 ORDER BY `minOrder` ASC [ RunTime:0.028099s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63058613 ORDER BY `unit` DESC [ RunTime:0.010847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63058613 LIMIT 2 [ RunTime:0.020503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63058613 ORDER BY `minOrder` ASC [ RunTime:0.021497s ]
select * from pdf where partno='30-01767' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.004079s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002533s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '30-01767' OR `brand` LIKE 'Tensility International Corp%' ) ) LIMIT 1 [ RunTime:0.020658s ]
SELECT `id` FROM `stock` WHERE `id` <> 63058613 AND `partno` = '30-01767' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%tensility international corp%' ) [ RunTime:0.026948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14366649 [ RunTime:0.004460s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007644s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001218s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002635s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004813s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017546s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004803s ]
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 '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005537s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '30-01767%' OR `brand` LIKE '30-01767%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003232s ]