SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004562s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005831s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17096316 LIMIT 5 [ RunTime:0.000831s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17096316 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17096316 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001065s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17096316 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17096316 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15316901 LIMIT 5 [ RunTime:0.002050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15316901 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15316901 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15316901 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15316901 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15316900 LIMIT 5 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15316900 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15316900 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15316900 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15316900 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003343s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71215923 LIMIT 5 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71215923 ORDER BY `minOrder` ASC [ RunTime:0.001606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71215923 ORDER BY `unit` DESC [ RunTime:0.000454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71215923 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71215923 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
select * from pdf where partno='DRT2-OD16MLX' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.001091s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002589s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRT2-OD16MLX' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.000890s ]
SELECT `id` FROM `stock` WHERE `id` <> 71215923 AND `partno` = 'DRT2-OD16MLX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.000899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17096316 [ RunTime:0.000676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50630491 LIMIT 5 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50630491 ORDER BY `minOrder` ASC [ RunTime:0.002042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50630491 ORDER BY `unit` DESC [ RunTime:0.000618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50630491 LIMIT 2 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50630491 ORDER BY `minOrder` ASC [ RunTime:0.000647s ]
select * from pdf where partno='DRT2-OD16ML-1' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.001033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRT2-OD16ML-1' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.000731s ]
SELECT `id` FROM `stock` WHERE `id` <> 50630491 AND `partno` = 'DRT2-OD16ML-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.000870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15316901 [ RunTime:0.000635s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50630490 LIMIT 5 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50630490 ORDER BY `minOrder` ASC [ RunTime:0.000648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50630490 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50630490 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50630490 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
select * from pdf where partno='DRT2-OD16ML' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.000832s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRT2-OD16ML' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.000710s ]
SELECT `id` FROM `stock` WHERE `id` <> 50630490 AND `partno` = 'DRT2-OD16ML' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.000884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15316900 [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37964751 LIMIT 5 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37964751 ORDER BY `minOrder` ASC [ RunTime:0.003270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37964751 ORDER BY `unit` DESC [ RunTime:0.000613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37964751 LIMIT 2 [ RunTime:0.000568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37964751 ORDER BY `minOrder` ASC [ RunTime:0.000610s ]
select * from pdf where partno='DRT2-OD16ML-1' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.000854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRT2-OD16ML-1' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.000707s ]
SELECT `id` FROM `stock` WHERE `id` <> 37964751 AND `partno` = 'DRT2-OD16ML-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.000804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15316901 [ RunTime:0.000625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37964750 LIMIT 5 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37964750 ORDER BY `minOrder` ASC [ RunTime:0.000627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37964750 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37964750 LIMIT 2 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37964750 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
select * from pdf where partno='DRT2-OD16ML' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.000841s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DRT2-OD16ML' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.000816s ]
SELECT `id` FROM `stock` WHERE `id` <> 37964750 AND `partno` = 'DRT2-OD16ML' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.000810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15316900 [ RunTime:0.000614s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001233s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001116s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001194s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001087s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001228s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001093s ]
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 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001268s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DRT2-OD16ML%' OR `brand` LIKE 'DRT2-OD16ML%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001037s ]