SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002318s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015188s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720658 LIMIT 5 [ RunTime:0.002802s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18720658 ORDER BY `minOrder` ASC [ RunTime:0.006683s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18720658 ORDER BY `unit` DESC [ RunTime:0.013840s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18720658 LIMIT 2 [ RunTime:0.012170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18720658 ORDER BY `minOrder` ASC [ RunTime:0.028689s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720713 LIMIT 5 [ RunTime:0.046182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18720713 ORDER BY `minOrder` ASC [ RunTime:0.029318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18720713 ORDER BY `unit` DESC [ RunTime:0.037684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18720713 LIMIT 2 [ RunTime:0.058931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18720713 ORDER BY `minOrder` ASC [ RunTime:0.009508s ]
select * from pdf where partno='91522-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.051179s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031645s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58527530 LIMIT 5 [ RunTime:0.046442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527530 ORDER BY `minOrder` ASC [ RunTime:0.099654s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58527530 ORDER BY `unit` DESC [ RunTime:0.111735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58527530 LIMIT 2 [ RunTime:0.040667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527530 ORDER BY `minOrder` ASC [ RunTime:0.021864s ]
select * from pdf where partno='91522-1' and brandshort='TE Connectivity' limit 1 [ RunTime:0.016544s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.005502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91522-1' OR `brand` LIKE 'TE Connectivity%' ) ) LIMIT 1 [ RunTime:0.032662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33107477 LIMIT 5 [ RunTime:0.023666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33107477 ORDER BY `minOrder` ASC [ RunTime:0.099351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33107477 ORDER BY `unit` DESC [ RunTime:0.066427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33107477 LIMIT 2 [ RunTime:0.093274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33107477 ORDER BY `minOrder` ASC [ RunTime:0.039734s ]
select * from pdf where partno='91522-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.016190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91522-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.054251s ]
SELECT `id` FROM `stock` WHERE `id` <> 33107477 AND `partno` = '91522-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.025637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720713 [ RunTime:0.046770s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58526982 LIMIT 5 [ RunTime:0.094237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58526982 ORDER BY `minOrder` ASC [ RunTime:0.069583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58526982 ORDER BY `unit` DESC [ RunTime:0.059024s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58526982 LIMIT 2 [ RunTime:0.048565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58526982 ORDER BY `minOrder` ASC [ RunTime:0.036209s ]
select * from pdf where partno='91522-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.041412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91522-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.042036s ]
SELECT `id` FROM `stock` WHERE `id` <> 58526982 AND `partno` = '91522-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.055178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44626275 LIMIT 5 [ RunTime:0.106096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44626275 ORDER BY `minOrder` ASC [ RunTime:0.064885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44626275 ORDER BY `unit` DESC [ RunTime:0.072369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44626275 LIMIT 2 [ RunTime:0.037109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44626275 ORDER BY `minOrder` ASC [ RunTime:0.016976s ]
select * from pdf where partno='91522-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.033045s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91522-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.027454s ]
SELECT `id` FROM `stock` WHERE `id` <> 44626275 AND `partno` = '91522-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.022286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720713 [ RunTime:0.017567s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016245s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038884s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043052s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070552s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059008s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063838s ]
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 '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046070s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91522-1%' OR `brand` LIKE '91522-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.161498s ]