SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001743s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003751s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12796064 LIMIT 5 [ RunTime:0.000801s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12796064 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12796064 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12796064 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12796064 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='ELP2Z0411' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.001400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11613143 LIMIT 5 [ RunTime:0.000775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11613143 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11613143 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11613143 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11613143 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='ELP2Z0401' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11613131 LIMIT 5 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11613131 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11613131 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11613131 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11613131 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000957s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66724778 LIMIT 5 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724778 ORDER BY `minOrder` ASC [ RunTime:0.000603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66724778 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66724778 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724778 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='ELP2Z04' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ELP2Z04' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.000662s ]
SELECT `id` FROM `stock` WHERE `id` <> 66724778 AND `partno` = 'ELP2Z04' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.000465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66724722 LIMIT 5 [ RunTime:0.000300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724722 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66724722 ORDER BY `unit` DESC [ RunTime:0.000281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66724722 LIMIT 2 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724722 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
select * from pdf where partno='ELP2Z0401' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.000440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ELP2Z0401' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT `id` FROM `stock` WHERE `id` <> 66724722 AND `partno` = 'ELP2Z0401' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11613143 [ RunTime:0.000278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66724403 LIMIT 5 [ RunTime:0.000266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724403 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66724403 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66724403 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724403 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
select * from pdf where partno='ELP2Z0410' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.000368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ELP2Z0410' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.000333s ]
SELECT `id` FROM `stock` WHERE `id` <> 66724403 AND `partno` = 'ELP2Z0410' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11613131 [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 66724352 LIMIT 5 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724352 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 66724352 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 66724352 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 66724352 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='ELP2Z0411' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.000358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ELP2Z0411' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.000336s ]
SELECT `id` FROM `stock` WHERE `id` <> 66724352 AND `partno` = 'ELP2Z0411' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12796064 [ RunTime:0.000275s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000634s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000558s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000532s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000522s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000531s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000525s ]
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 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000579s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ELP2Z04%' OR `brand` LIKE 'ELP2Z04%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000586s ]