SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001464s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056644s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001070s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10905681 LIMIT 5 [ RunTime:0.017144s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10905681 ORDER BY `minOrder` ASC [ RunTime:0.041024s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10905681 ORDER BY `unit` DESC [ RunTime:0.020305s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002139s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10905681 LIMIT 2 [ RunTime:0.006020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10905681 ORDER BY `minOrder` ASC [ RunTime:0.021664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10905685 LIMIT 5 [ RunTime:0.038519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10905685 ORDER BY `minOrder` ASC [ RunTime:0.037453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10905685 ORDER BY `unit` DESC [ RunTime:0.034355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10905685 LIMIT 2 [ RunTime:0.049321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10905685 ORDER BY `minOrder` ASC [ RunTime:0.008414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11691370 LIMIT 5 [ RunTime:0.078167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11691370 ORDER BY `minOrder` ASC [ RunTime:0.019013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11691370 ORDER BY `unit` DESC [ RunTime:0.072662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11691370 LIMIT 2 [ RunTime:0.046881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11691370 ORDER BY `minOrder` ASC [ RunTime:0.041003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11690874 LIMIT 5 [ RunTime:0.066027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11690874 ORDER BY `minOrder` ASC [ RunTime:0.046887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11690874 ORDER BY `unit` DESC [ RunTime:0.100888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11690874 LIMIT 2 [ RunTime:0.029320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11690874 ORDER BY `minOrder` ASC [ RunTime:0.040766s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057641s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61014589 LIMIT 5 [ RunTime:0.045837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61014589 ORDER BY `minOrder` ASC [ RunTime:0.181077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61014589 ORDER BY `unit` DESC [ RunTime:0.079806s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61014589 LIMIT 2 [ RunTime:0.033213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61014589 ORDER BY `minOrder` ASC [ RunTime:0.060819s ]
select * from pdf where partno='97-14S-2P(431)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.022226s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-14S-2P(431)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.056631s ]
SELECT `id` FROM `stock` WHERE `id` <> 61014589 AND `partno` = '97-14S-2P(431)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.049525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10905681 [ RunTime:0.112098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61098716 LIMIT 5 [ RunTime:0.074483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61098716 ORDER BY `minOrder` ASC [ RunTime:0.044014s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61098716 ORDER BY `unit` DESC [ RunTime:0.045128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61098716 LIMIT 2 [ RunTime:0.008259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61098716 ORDER BY `minOrder` ASC [ RunTime:0.020279s ]
select * from pdf where partno='97-14S-2P(431)' and brandshort='WEC' limit 1 [ RunTime:0.042471s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-14S-2P(431)' OR `brand` LIKE 'WEC%' ) ) LIMIT 1 [ RunTime:0.035312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61143303 LIMIT 5 [ RunTime:0.018957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61143303 ORDER BY `minOrder` ASC [ RunTime:0.022889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61143303 ORDER BY `unit` DESC [ RunTime:0.046683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61143303 LIMIT 2 [ RunTime:0.061618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61143303 ORDER BY `minOrder` ASC [ RunTime:0.033655s ]
select * from pdf where partno='97-14S-2P' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.064844s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-14S-2P' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.016087s ]
SELECT `id` FROM `stock` WHERE `id` <> 61143303 AND `partno` = '97-14S-2P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.088381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10905685 [ RunTime:0.104160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60330744 LIMIT 5 [ RunTime:0.012892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60330744 ORDER BY `minOrder` ASC [ RunTime:0.085962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60330744 ORDER BY `unit` DESC [ RunTime:0.069330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60330744 LIMIT 2 [ RunTime:0.042139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60330744 ORDER BY `minOrder` ASC [ RunTime:0.023293s ]
select * from pdf where partno='97-14S-2P(910)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.006402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-14S-2P(910)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.057733s ]
SELECT `id` FROM `stock` WHERE `id` <> 60330744 AND `partno` = '97-14S-2P(910)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.096354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11691370 [ RunTime:0.122971s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60329996 LIMIT 5 [ RunTime:0.052642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60329996 ORDER BY `minOrder` ASC [ RunTime:0.128941s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60329996 ORDER BY `unit` DESC [ RunTime:0.033660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60329996 LIMIT 2 [ RunTime:0.063252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60329996 ORDER BY `minOrder` ASC [ RunTime:0.004639s ]
select * from pdf where partno='97-14S-2P(426)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.033460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-14S-2P(426)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.081607s ]
SELECT `id` FROM `stock` WHERE `id` <> 60329996 AND `partno` = '97-14S-2P(426)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.063601s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11690874 [ RunTime:0.065355s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.117844s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.091071s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039297s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033052s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030766s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041160s ]
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 '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050964s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '97-14S-2P%' OR `brand` LIKE '97-14S-2P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.037629s ]