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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006033s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003091s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16405567 LIMIT 5 [ RunTime:0.008528s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16405567 ORDER BY `minOrder` ASC [ RunTime:0.006028s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16405567 ORDER BY `unit` DESC [ RunTime:0.011161s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.014228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16405567 LIMIT 2 [ RunTime:0.011984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16405567 ORDER BY `minOrder` ASC [ RunTime:0.020190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16401136 LIMIT 5 [ RunTime:0.012616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16401136 ORDER BY `minOrder` ASC [ RunTime:0.010438s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16401136 ORDER BY `unit` DESC [ RunTime:0.013065s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16401136 LIMIT 2 [ RunTime:0.008484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16401136 ORDER BY `minOrder` ASC [ RunTime:0.015539s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020246s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49221520 LIMIT 5 [ RunTime:0.017306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49221520 ORDER BY `minOrder` ASC [ RunTime:0.042248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49221520 ORDER BY `unit` DESC [ RunTime:0.020474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49221520 LIMIT 2 [ RunTime:0.037095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49221520 ORDER BY `minOrder` ASC [ RunTime:0.015624s ]
select * from pdf where partno='55A0111-20-90' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.003691s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-90' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.016713s ]
SELECT `id` FROM `stock` WHERE `id` <> 49221520 AND `partno` = '55A0111-20-90' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.005569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16401136 [ RunTime:0.002878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36425249 LIMIT 5 [ RunTime:0.015464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36425249 ORDER BY `minOrder` ASC [ RunTime:0.031719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36425249 ORDER BY `unit` DESC [ RunTime:0.003855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36425249 LIMIT 2 [ RunTime:0.010064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36425249 ORDER BY `minOrder` ASC [ RunTime:0.002397s ]
select * from pdf where partno='55A0111-20-90' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.008294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-90' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.003121s ]
SELECT `id` FROM `stock` WHERE `id` <> 36425249 AND `partno` = '55A0111-20-90' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.008722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16401136 [ RunTime:0.003262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49229120 LIMIT 5 [ RunTime:0.005279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49229120 ORDER BY `minOrder` ASC [ RunTime:0.012251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49229120 ORDER BY `unit` DESC [ RunTime:0.009627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49229120 LIMIT 2 [ RunTime:0.010441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49229120 ORDER BY `minOrder` ASC [ RunTime:0.000746s ]
select * from pdf where partno='55A0111-20-90' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.004451s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-90' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.005413s ]
SELECT `id` FROM `stock` WHERE `id` <> 49229120 AND `partno` = '55A0111-20-90' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.010535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16401136 [ RunTime:0.013814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36432903 LIMIT 5 [ RunTime:0.021079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36432903 ORDER BY `minOrder` ASC [ RunTime:0.035837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36432903 ORDER BY `unit` DESC [ RunTime:0.010152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36432903 LIMIT 2 [ RunTime:0.032620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36432903 ORDER BY `minOrder` ASC [ RunTime:0.009497s ]
select * from pdf where partno='55A0111-20-90' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.011144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-90' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.003196s ]
SELECT `id` FROM `stock` WHERE `id` <> 36432903 AND `partno` = '55A0111-20-90' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.009883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16401136 [ RunTime:0.010477s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008960s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016957s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012574s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011769s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011721s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010637s ]
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 '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011740s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '55A0111-20-90%' OR `brand` LIKE '55A0111-20-90%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010303s ]