SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001656s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014243s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005499s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14371526 LIMIT 5 [ RunTime:0.030318s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14371526 ORDER BY `minOrder` ASC [ RunTime:0.014663s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001014s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14371526 ORDER BY `unit` DESC [ RunTime:0.023170s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14371526 LIMIT 2 [ RunTime:0.017319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14371526 ORDER BY `minOrder` ASC [ RunTime:0.025712s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.021131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13491345 LIMIT 5 [ RunTime:0.030694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13491345 ORDER BY `minOrder` ASC [ RunTime:0.071421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13491345 ORDER BY `unit` DESC [ RunTime:0.013371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13491345 LIMIT 2 [ RunTime:0.049075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13491345 ORDER BY `minOrder` ASC [ RunTime:0.008195s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.011152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14365215 LIMIT 5 [ RunTime:0.015117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14365215 ORDER BY `minOrder` ASC [ RunTime:0.035580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14365215 ORDER BY `unit` DESC [ RunTime:0.026300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14365215 LIMIT 2 [ RunTime:0.019873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14365215 ORDER BY `minOrder` ASC [ RunTime:0.042858s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.022254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14366489 LIMIT 5 [ RunTime:0.043441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14366489 ORDER BY `minOrder` ASC [ RunTime:0.016928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14366489 ORDER BY `unit` DESC [ RunTime:0.058115s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14366489 LIMIT 2 [ RunTime:0.067814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14366489 ORDER BY `minOrder` ASC [ RunTime:0.042983s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.000631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16408881 LIMIT 5 [ RunTime:0.029505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408881 ORDER BY `minOrder` ASC [ RunTime:0.033962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16408881 ORDER BY `unit` DESC [ RunTime:0.013880s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16408881 LIMIT 2 [ RunTime:0.015404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16408881 ORDER BY `minOrder` ASC [ RunTime:0.020240s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.001166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14367664 LIMIT 5 [ RunTime:0.007602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14367664 ORDER BY `minOrder` ASC [ RunTime:0.015045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14367664 ORDER BY `unit` DESC [ RunTime:0.038114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14367664 LIMIT 2 [ RunTime:0.010246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14367664 ORDER BY `minOrder` ASC [ RunTime:0.011211s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.009722s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013947s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63060730 LIMIT 5 [ RunTime:0.000638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63060730 ORDER BY `minOrder` ASC [ RunTime:0.004404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63060730 ORDER BY `unit` DESC [ RunTime:0.010308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63060730 LIMIT 2 [ RunTime:0.017929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63060730 ORDER BY `minOrder` ASC [ RunTime:0.009007s ]
select * from pdf where partno='30-01785' and brandshort='Tensility International Corp' limit 1 [ RunTime:0.006920s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001442s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '30-01785' OR `brand` LIKE 'Tensility International Corp%' ) ) LIMIT 1 [ RunTime:0.010831s ]
SELECT `id` FROM `stock` WHERE `id` <> 63060730 AND `partno` = '30-01785' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%tensility international corp%' ) [ RunTime:0.004966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13491345 [ RunTime:0.020823s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014669s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014825s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024532s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025630s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018046s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019323s ]
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-01785%' OR `brand` LIKE '30-01785%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044684s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '30-01785%' OR `brand` LIKE '30-01785%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.013712s ]