SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001478s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008614s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.014724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177367 LIMIT 5 [ RunTime:0.029138s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11177367 ORDER BY `minOrder` ASC [ RunTime:0.057537s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11177367 ORDER BY `unit` DESC [ RunTime:0.024383s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11177367 LIMIT 2 [ RunTime:0.024417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11177367 ORDER BY `minOrder` ASC [ RunTime:0.016311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12158791 LIMIT 5 [ RunTime:0.054124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12158791 ORDER BY `minOrder` ASC [ RunTime:0.047681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12158791 ORDER BY `unit` DESC [ RunTime:0.097868s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12158791 LIMIT 2 [ RunTime:0.017238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12158791 ORDER BY `minOrder` ASC [ RunTime:0.071178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521438 LIMIT 5 [ RunTime:0.094382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521438 ORDER BY `minOrder` ASC [ RunTime:0.135069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13521438 ORDER BY `unit` DESC [ RunTime:0.041002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13521438 LIMIT 2 [ RunTime:0.126036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521438 ORDER BY `minOrder` ASC [ RunTime:0.021853s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029738s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.137204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58538130 LIMIT 5 [ RunTime:0.043976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58538130 ORDER BY `minOrder` ASC [ RunTime:0.095171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58538130 ORDER BY `unit` DESC [ RunTime:0.114692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58538130 LIMIT 2 [ RunTime:0.131184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58538130 ORDER BY `minOrder` ASC [ RunTime:0.031266s ]
select * from pdf where partno='91232-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.087009s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91232-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.053637s ]
SELECT `id` FROM `stock` WHERE `id` <> 58538130 AND `partno` = '91232-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.118061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11177367 [ RunTime:0.051267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58538450 LIMIT 5 [ RunTime:0.043583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58538450 ORDER BY `minOrder` ASC [ RunTime:0.034983s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58538450 ORDER BY `unit` DESC [ RunTime:0.008670s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58538450 LIMIT 2 [ RunTime:0.078292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58538450 ORDER BY `minOrder` ASC [ RunTime:0.032381s ]
select * from pdf where partno='91232-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.034497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91232-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.073946s ]
SELECT `id` FROM `stock` WHERE `id` <> 58538450 AND `partno` = '91232-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.043071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44637631 LIMIT 5 [ RunTime:0.034511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44637631 ORDER BY `minOrder` ASC [ RunTime:0.036755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44637631 ORDER BY `unit` DESC [ RunTime:0.046202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44637631 LIMIT 2 [ RunTime:0.061757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44637631 ORDER BY `minOrder` ASC [ RunTime:0.021617s ]
select * from pdf where partno='91232-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.032243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91232-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.028159s ]
SELECT `id` FROM `stock` WHERE `id` <> 44637631 AND `partno` = '91232-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.053786s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12158791 [ RunTime:0.073565s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33121974 LIMIT 5 [ RunTime:0.035122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33121974 ORDER BY `minOrder` ASC [ RunTime:0.018120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33121974 ORDER BY `unit` DESC [ RunTime:0.057391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33121974 LIMIT 2 [ RunTime:0.025412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33121974 ORDER BY `minOrder` ASC [ RunTime:0.053146s ]
select * from pdf where partno='91232-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.009127s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91232-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.014918s ]
SELECT `id` FROM `stock` WHERE `id` <> 33121974 AND `partno` = '91232-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.017628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12158791 [ RunTime:0.019531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63084153 LIMIT 5 [ RunTime:0.029635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63084153 ORDER BY `minOrder` ASC [ RunTime:0.026043s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63084153 ORDER BY `unit` DESC [ RunTime:0.024662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63084153 LIMIT 2 [ RunTime:0.020741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63084153 ORDER BY `minOrder` ASC [ RunTime:0.003191s ]
select * from pdf where partno='91232' and brandshort='Helukabel USA' limit 1 [ RunTime:0.017739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91232' OR `brand` LIKE 'Helukabel USA%' ) ) LIMIT 1 [ RunTime:0.019343s ]
SELECT `id` FROM `stock` WHERE `id` <> 63084153 AND `partno` = '91232' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%helukabel usa%' ) [ RunTime:0.010212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521438 [ RunTime:0.043567s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022384s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025835s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038712s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004006s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011577s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017134s ]
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 '91232%' OR `brand` LIKE '91232%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005058s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91232%' OR `brand` LIKE '91232%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006109s ]