SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002121s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004112s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14371716 LIMIT 5 [ RunTime:0.003628s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14371716 ORDER BY `minOrder` ASC [ RunTime:0.000692s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14371716 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14371716 LIMIT 2 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14371716 ORDER BY `minOrder` ASC [ RunTime:0.003759s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.000631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16403328 LIMIT 5 [ RunTime:0.000816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16403328 ORDER BY `minOrder` ASC [ RunTime:0.001224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16403328 ORDER BY `unit` DESC [ RunTime:0.006405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16403328 LIMIT 2 [ RunTime:0.003812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16403328 ORDER BY `minOrder` ASC [ RunTime:0.004265s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.003071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16408176 LIMIT 5 [ RunTime:0.007684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408176 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16408176 ORDER BY `unit` DESC [ RunTime:0.002165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16408176 LIMIT 2 [ RunTime:0.001297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408176 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.000463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16402250 LIMIT 5 [ RunTime:0.006409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16402250 ORDER BY `minOrder` ASC [ RunTime:0.009681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16402250 ORDER BY `unit` DESC [ RunTime:0.024030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16402250 LIMIT 2 [ RunTime:0.012181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16402250 ORDER BY `minOrder` ASC [ RunTime:0.013312s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.006264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16404342 LIMIT 5 [ RunTime:0.013404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16404342 ORDER BY `minOrder` ASC [ RunTime:0.001885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16404342 ORDER BY `unit` DESC [ RunTime:0.004717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16404342 LIMIT 2 [ RunTime:0.023888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16404342 ORDER BY `minOrder` ASC [ RunTime:0.012481s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.020193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14368402 LIMIT 5 [ RunTime:0.023289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14368402 ORDER BY `minOrder` ASC [ RunTime:0.006810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14368402 ORDER BY `unit` DESC [ RunTime:0.013993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14368402 LIMIT 2 [ RunTime:0.018094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14368402 ORDER BY `minOrder` ASC [ RunTime:0.008523s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.000611s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016772s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63061990 LIMIT 5 [ RunTime:0.019222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63061990 ORDER BY `minOrder` ASC [ RunTime:0.009660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63061990 ORDER BY `unit` DESC [ RunTime:0.004712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63061990 LIMIT 2 [ RunTime:0.007011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63061990 ORDER BY `minOrder` ASC [ RunTime:0.002414s ]
select * from pdf where partno='30-01807' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.003248s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002690s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '30-01807' OR `brand` LIKE 'Tensility International Corp%' ) ) LIMIT 1 [ RunTime:0.009445s ]
SELECT `id` FROM `stock` WHERE `id` <> 63061990 AND `partno` = '30-01807' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%tensility international corp%' ) [ RunTime:0.007084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14368402 [ RunTime:0.005390s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052567s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010126s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013695s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027747s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035841s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037901s ]
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-01807%' OR `brand` LIKE '30-01807%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033602s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '30-01807%' OR `brand` LIKE '30-01807%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.047217s ]