SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001702s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004836s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002710s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001971s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61475569 LIMIT 5 [ RunTime:0.001040s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61475569 ORDER BY `minOrder` ASC [ RunTime:0.004019s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61475569 ORDER BY `unit` DESC [ RunTime:0.001010s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61475569 LIMIT 2 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61475569 ORDER BY `minOrder` ASC [ RunTime:0.006273s ]
select * from pdf where partno='NPS-1-R-T4' and brandshort='ITT Cannon, LLC' limit 1 [ RunTime:0.001077s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPS-1-R-T4' OR `brand` LIKE 'ITT Cannon, LLC%' ) ) LIMIT 1 [ RunTime:0.010387s ]
SELECT `id` FROM `stock` WHERE `id` <> 61475569 AND `partno` = 'NPS-1-R-T4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%itt cannon, llc%' ) [ RunTime:0.013968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61072022 LIMIT 5 [ RunTime:0.010245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61072022 ORDER BY `minOrder` ASC [ RunTime:0.005824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61072022 ORDER BY `unit` DESC [ RunTime:0.001773s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61072022 LIMIT 2 [ RunTime:0.009092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61072022 ORDER BY `minOrder` ASC [ RunTime:0.004234s ]
select * from pdf where partno='NPS-1-R-T4-M6F' and brandshort='ITT Cannon, LLC' limit 1 [ RunTime:0.001418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPS-1-R-T4-M6F' OR `brand` LIKE 'ITT Cannon, LLC%' ) ) LIMIT 1 [ RunTime:0.000446s ]
SELECT `id` FROM `stock` WHERE `id` <> 61072022 AND `partno` = 'NPS-1-R-T4-M6F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%itt cannon, llc%' ) [ RunTime:0.001532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32601418 LIMIT 5 [ RunTime:0.002382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32601418 ORDER BY `minOrder` ASC [ RunTime:0.001879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32601418 ORDER BY `unit` DESC [ RunTime:0.002313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32601418 LIMIT 2 [ RunTime:0.001309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32601418 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
select * from pdf where partno='NPS-1-R-T4-SC' and brandshort='ITT Cannon, LLC' limit 1 [ RunTime:0.001006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPS-1-R-T4-SC' OR `brand` LIKE 'ITT Cannon, LLC%' ) ) LIMIT 1 [ RunTime:0.000417s ]
SELECT `id` FROM `stock` WHERE `id` <> 32601418 AND `partno` = 'NPS-1-R-T4-SC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%itt cannon, llc%' ) [ RunTime:0.001918s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004399s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004281s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002629s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001202s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001168s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000809s ]
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 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001103s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'NPS-1-R-T4%' OR `brand` LIKE 'NPS-1-R-T4%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001064s ]