SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002477s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010248s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001548s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12055542 LIMIT 5 [ RunTime:0.010578s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12055542 ORDER BY `minOrder` ASC [ RunTime:0.012720s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12055542 ORDER BY `unit` DESC [ RunTime:0.003171s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12055542 LIMIT 2 [ RunTime:0.012880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12055542 ORDER BY `minOrder` ASC [ RunTime:0.007175s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018109s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49416261 LIMIT 5 [ RunTime:0.044514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49416261 ORDER BY `minOrder` ASC [ RunTime:0.055814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49416261 ORDER BY `unit` DESC [ RunTime:0.106984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49416261 LIMIT 2 [ RunTime:0.053062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49416261 ORDER BY `minOrder` ASC [ RunTime:0.021816s ]
select * from pdf where partno='DLVR-L60G-E1NJ-I-NI3N' and brandshort='Amphenol All Sensors Corporation' limit 1 [ RunTime:0.055414s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002516s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DLVR-L60G-E1NJ-I-NI3N' OR `brand` LIKE 'Amphenol All Sensors Corporation%' ) ) LIMIT 1 [ RunTime:0.029757s ]
SELECT `id` FROM `stock` WHERE `id` <> 49416261 AND `partno` = 'DLVR-L60G-E1NJ-I-NI3N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol all sensors corporation%' ) [ RunTime:0.051558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12055542 [ RunTime:0.018247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36610333 LIMIT 5 [ RunTime:0.062013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36610333 ORDER BY `minOrder` ASC [ RunTime:0.024891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36610333 ORDER BY `unit` DESC [ RunTime:0.053854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36610333 LIMIT 2 [ RunTime:0.042624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36610333 ORDER BY `minOrder` ASC [ RunTime:0.041488s ]
select * from pdf where partno='DLVR-L60G-E1NJ-I-NI3N' and brandshort='Amphenol All Sensors Corporation' limit 1 [ RunTime:0.000691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DLVR-L60G-E1NJ-I-NI3N' OR `brand` LIKE 'Amphenol All Sensors Corporation%' ) ) LIMIT 1 [ RunTime:0.034110s ]
SELECT `id` FROM `stock` WHERE `id` <> 36610333 AND `partno` = 'DLVR-L60G-E1NJ-I-NI3N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol all sensors corporation%' ) [ RunTime:0.005746s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12055542 [ RunTime:0.001838s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054333s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068319s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022029s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006159s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021117s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006447s ]
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 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012293s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' OR `brand` LIKE 'DLVR-L60G-E1NJ-I-NI3N%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009437s ]