SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002636s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009348s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003885s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13028401 LIMIT 5 [ RunTime:0.019418s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13028401 ORDER BY `minOrder` ASC [ RunTime:0.004886s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.016545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13028401 ORDER BY `unit` DESC [ RunTime:0.007943s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13028401 LIMIT 2 [ RunTime:0.020858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13028401 ORDER BY `minOrder` ASC [ RunTime:0.026099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11797558 LIMIT 5 [ RunTime:0.032098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11797558 ORDER BY `minOrder` ASC [ RunTime:0.033867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11797558 ORDER BY `unit` DESC [ RunTime:0.010593s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11797558 LIMIT 2 [ RunTime:0.026892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11797558 ORDER BY `minOrder` ASC [ RunTime:0.008732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10831016 LIMIT 5 [ RunTime:0.029632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10831016 ORDER BY `minOrder` ASC [ RunTime:0.025534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10831016 ORDER BY `unit` DESC [ RunTime:0.018203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10831016 LIMIT 2 [ RunTime:0.013916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10831016 ORDER BY `minOrder` ASC [ RunTime:0.067290s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023305s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61367752 LIMIT 5 [ RunTime:0.099902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61367752 ORDER BY `minOrder` ASC [ RunTime:0.028079s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61367752 ORDER BY `unit` DESC [ RunTime:0.015457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61367752 LIMIT 2 [ RunTime:0.037397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61367752 ORDER BY `minOrder` ASC [ RunTime:0.004819s ]
select * from pdf where partno='SC00P-20-18S(338)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.020195s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC00P-20-18S(338)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.018439s ]
SELECT `id` FROM `stock` WHERE `id` <> 61367752 AND `partno` = 'SC00P-20-18S(338)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.034822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10831016 [ RunTime:0.028141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61280913 LIMIT 5 [ RunTime:0.028644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61280913 ORDER BY `minOrder` ASC [ RunTime:0.022106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61280913 ORDER BY `unit` DESC [ RunTime:0.012493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61280913 LIMIT 2 [ RunTime:0.016649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61280913 ORDER BY `minOrder` ASC [ RunTime:0.011752s ]
select * from pdf where partno='SC00P-20-18S(335)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.011780s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC00P-20-18S(335)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.021950s ]
SELECT `id` FROM `stock` WHERE `id` <> 61280913 AND `partno` = 'SC00P-20-18S(335)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.019816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13028401 [ RunTime:0.022575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61280912 LIMIT 5 [ RunTime:0.072360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61280912 ORDER BY `minOrder` ASC [ RunTime:0.027523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61280912 ORDER BY `unit` DESC [ RunTime:0.013362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61280912 LIMIT 2 [ RunTime:0.004088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61280912 ORDER BY `minOrder` ASC [ RunTime:0.003957s ]
select * from pdf where partno='SC00P-20-18S' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.015498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC00P-20-18S' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.019997s ]
SELECT `id` FROM `stock` WHERE `id` <> 61280912 AND `partno` = 'SC00P-20-18S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.004716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11797558 [ RunTime:0.028760s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013638s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017802s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012925s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020986s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018466s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007251s ]
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 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011381s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SC00P-20-18S%' OR `brand` LIKE 'SC00P-20-18S%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023264s ]