SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002444s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009801s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13024791 LIMIT 5 [ RunTime:0.018536s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13024791 ORDER BY `minOrder` ASC [ RunTime:0.016627s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13024791 ORDER BY `unit` DESC [ RunTime:0.020342s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.018392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13024791 LIMIT 2 [ RunTime:0.023798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13024791 ORDER BY `minOrder` ASC [ RunTime:0.002470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12979072 LIMIT 5 [ RunTime:0.040844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12979072 ORDER BY `minOrder` ASC [ RunTime:0.019643s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12979072 ORDER BY `unit` DESC [ RunTime:0.026153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12979072 LIMIT 2 [ RunTime:0.024454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12979072 ORDER BY `minOrder` ASC [ RunTime:0.010107s ]
select * from pdf where partno='SC00P-18-19S' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.012853s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10818719 LIMIT 5 [ RunTime:0.041794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10818719 ORDER BY `minOrder` ASC [ RunTime:0.023354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10818719 ORDER BY `unit` DESC [ RunTime:0.033159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10818719 LIMIT 2 [ RunTime:0.030049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10818719 ORDER BY `minOrder` ASC [ RunTime:0.005379s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091047s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61353324 LIMIT 5 [ RunTime:0.011007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61353324 ORDER BY `minOrder` ASC [ RunTime:0.044022s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61353324 ORDER BY `unit` DESC [ RunTime:0.060110s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61353324 LIMIT 2 [ RunTime:0.043332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61353324 ORDER BY `minOrder` ASC [ RunTime:0.037098s ]
select * from pdf where partno='SC00P-18-19S(338)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.039717s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001146s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC00P-18-19S(338)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.045808s ]
SELECT `id` FROM `stock` WHERE `id` <> 61353324 AND `partno` = 'SC00P-18-19S(338)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.040510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10818719 [ RunTime:0.085016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61273022 LIMIT 5 [ RunTime:0.068752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61273022 ORDER BY `minOrder` ASC [ RunTime:0.075862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61273022 ORDER BY `unit` DESC [ RunTime:0.075412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61273022 LIMIT 2 [ RunTime:0.034332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61273022 ORDER BY `minOrder` ASC [ RunTime:0.025634s ]
select * from pdf where partno='SC00P-18-19S(335)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.014314s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC00P-18-19S(335)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.008263s ]
SELECT `id` FROM `stock` WHERE `id` <> 61273022 AND `partno` = 'SC00P-18-19S(335)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.021708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13024791 [ RunTime:0.010434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60014203 LIMIT 5 [ RunTime:0.010301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60014203 ORDER BY `minOrder` ASC [ RunTime:0.003273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60014203 ORDER BY `unit` DESC [ RunTime:0.000838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60014203 LIMIT 2 [ RunTime:0.010757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60014203 ORDER BY `minOrder` ASC [ RunTime:0.013528s ]
select * from pdf where partno='SC00P-18-19S' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.005335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC00P-18-19S' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.002232s ]
SELECT `id` FROM `stock` WHERE `id` <> 60014203 AND `partno` = 'SC00P-18-19S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.018935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12979072 [ RunTime:0.001250s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004480s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006230s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010963s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008338s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004291s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008098s ]
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-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001370s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SC00P-18-19S%' OR `brand` LIKE 'SC00P-18-19S%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002655s ]