SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002902s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004909s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17060251 LIMIT 5 [ RunTime:0.001075s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17060251 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17060251 ORDER BY `unit` DESC [ RunTime:0.000552s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001951s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17060251 LIMIT 2 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17060251 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19035863 LIMIT 5 [ RunTime:0.015437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19035863 ORDER BY `minOrder` ASC [ RunTime:0.000478s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19035863 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19035863 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19035863 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204779 LIMIT 5 [ RunTime:0.001066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14204779 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14204779 ORDER BY `unit` DESC [ RunTime:0.000411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14204779 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14204779 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19024000 LIMIT 5 [ RunTime:0.003043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19024000 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19024000 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19024000 LIMIT 2 [ RunTime:0.000434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19024000 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001048s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70211854 LIMIT 5 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70211854 ORDER BY `minOrder` ASC [ RunTime:0.000888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70211854 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70211854 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70211854 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
select * from pdf where partno='RP1385' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.000800s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RP1385' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.000884s ]
SELECT `id` FROM `stock` WHERE `id` <> 70211854 AND `partno` = 'RP1385' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.000656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17060251 [ RunTime:0.000496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70213522 LIMIT 5 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70213522 ORDER BY `minOrder` ASC [ RunTime:0.001069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70213522 ORDER BY `unit` DESC [ RunTime:0.000513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70213522 LIMIT 2 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70213522 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
select * from pdf where partno='RP1385BF' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.000663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RP1385BF' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.000478s ]
SELECT `id` FROM `stock` WHERE `id` <> 70213522 AND `partno` = 'RP1385BF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.000522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19035863 [ RunTime:0.000406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70212010 LIMIT 5 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70212010 ORDER BY `minOrder` ASC [ RunTime:0.000847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70212010 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70212010 LIMIT 2 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70212010 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
select * from pdf where partno='RP1385C' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.000646s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RP1385C' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.000475s ]
SELECT `id` FROM `stock` WHERE `id` <> 70212010 AND `partno` = 'RP1385C' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.000509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14204779 [ RunTime:0.000482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70218496 LIMIT 5 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70218496 ORDER BY `minOrder` ASC [ RunTime:0.005508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70218496 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70218496 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70218496 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
select * from pdf where partno='RP1385BFC' and brandshort='Hammond Manufacturing' limit 1 [ RunTime:0.000699s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RP1385BFC' OR `brand` LIKE 'Hammond Manufacturing%' ) ) LIMIT 1 [ RunTime:0.000585s ]
SELECT `id` FROM `stock` WHERE `id` <> 70218496 AND `partno` = 'RP1385BFC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hammond manufacturing%' ) [ RunTime:0.000627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19024000 [ RunTime:0.000513s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000962s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000954s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000793s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000769s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000864s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000827s ]
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 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000878s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'RP1385%' OR `brand` LIKE 'RP1385%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000731s ]