SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001240s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014995s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907797 LIMIT 5 [ RunTime:0.008889s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907797 ORDER BY `minOrder` ASC [ RunTime:0.012336s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18907797 ORDER BY `unit` DESC [ RunTime:0.011732s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001136s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18907797 LIMIT 2 [ RunTime:0.013042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907797 ORDER BY `minOrder` ASC [ RunTime:0.002181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907779 LIMIT 5 [ RunTime:0.021648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907779 ORDER BY `minOrder` ASC [ RunTime:0.008354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18907779 ORDER BY `unit` DESC [ RunTime:0.038866s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18907779 LIMIT 2 [ RunTime:0.022085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907779 ORDER BY `minOrder` ASC [ RunTime:0.008896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907019 LIMIT 5 [ RunTime:0.018853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907019 ORDER BY `minOrder` ASC [ RunTime:0.014180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18907019 ORDER BY `unit` DESC [ RunTime:0.019145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18907019 LIMIT 2 [ RunTime:0.016474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18907019 ORDER BY `minOrder` ASC [ RunTime:0.005248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16015036 LIMIT 5 [ RunTime:0.020987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16015036 ORDER BY `minOrder` ASC [ RunTime:0.022387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16015036 ORDER BY `unit` DESC [ RunTime:0.023251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16015036 LIMIT 2 [ RunTime:0.018684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16015036 ORDER BY `minOrder` ASC [ RunTime:0.011715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13289535 LIMIT 5 [ RunTime:0.023239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13289535 ORDER BY `minOrder` ASC [ RunTime:0.018598s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13289535 ORDER BY `unit` DESC [ RunTime:0.023445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13289535 LIMIT 2 [ RunTime:0.008567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13289535 ORDER BY `minOrder` ASC [ RunTime:0.011001s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013024s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016962s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58132746 LIMIT 5 [ RunTime:0.012688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58132746 ORDER BY `minOrder` ASC [ RunTime:0.004979s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58132746 ORDER BY `unit` DESC [ RunTime:0.008818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58132746 LIMIT 2 [ RunTime:0.005389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58132746 ORDER BY `minOrder` ASC [ RunTime:0.004862s ]
select * from pdf where partno='5514102815F' and brandshort='Dialight' limit 1 [ RunTime:0.012887s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5514102815F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.001762s ]
SELECT `id` FROM `stock` WHERE `id` <> 58132746 AND `partno` = '5514102815F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.008025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907779 [ RunTime:0.001868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58131919 LIMIT 5 [ RunTime:0.001200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58131919 ORDER BY `minOrder` ASC [ RunTime:0.006491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58131919 ORDER BY `unit` DESC [ RunTime:0.002838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58131919 LIMIT 2 [ RunTime:0.008277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58131919 ORDER BY `minOrder` ASC [ RunTime:0.001922s ]
select * from pdf where partno='5514104801F' and brandshort='Dialight' limit 1 [ RunTime:0.004083s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5514104801F' OR `brand` LIKE 'Dialight%' ) ) LIMIT 1 [ RunTime:0.006683s ]
SELECT `id` FROM `stock` WHERE `id` <> 58131919 AND `partno` = '5514104801F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.014215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18907019 [ RunTime:0.004458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32566846 LIMIT 5 [ RunTime:0.001283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32566846 ORDER BY `minOrder` ASC [ RunTime:0.001212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32566846 ORDER BY `unit` DESC [ RunTime:0.002956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32566846 LIMIT 2 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32566846 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
select * from pdf where partno='55141' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.001032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55141' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.001664s ]
SELECT `id` FROM `stock` WHERE `id` <> 32566846 AND `partno` = '55141' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.003634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13289535 [ RunTime:0.000567s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001367s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004462s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004239s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009884s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006411s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005444s ]
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 '55141%' OR `brand` LIKE '55141%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005508s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '55141%' OR `brand` LIKE '55141%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002284s ]