SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003029s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002935s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16402337 LIMIT 5 [ RunTime:0.000588s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16402337 ORDER BY `minOrder` ASC [ RunTime:0.002005s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001070s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16402337 ORDER BY `unit` DESC [ RunTime:0.008674s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16402337 LIMIT 2 [ RunTime:0.000649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16402337 ORDER BY `minOrder` ASC [ RunTime:0.007391s ]
select * from pdf where partno='55PC0213-14-9' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.002235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14365488 LIMIT 5 [ RunTime:0.004232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14365488 ORDER BY `minOrder` ASC [ RunTime:0.001488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14365488 ORDER BY `unit` DESC [ RunTime:0.001597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14365488 LIMIT 2 [ RunTime:0.001377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14365488 ORDER BY `minOrder` ASC [ RunTime:0.009557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14365487 LIMIT 5 [ RunTime:0.002813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14365487 ORDER BY `minOrder` ASC [ RunTime:0.001681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14365487 ORDER BY `unit` DESC [ RunTime:0.001406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14365487 LIMIT 2 [ RunTime:0.000772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14365487 ORDER BY `minOrder` ASC [ RunTime:0.001013s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001444s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56234799 LIMIT 5 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56234799 ORDER BY `minOrder` ASC [ RunTime:0.000744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56234799 ORDER BY `unit` DESC [ RunTime:0.001566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56234799 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56234799 ORDER BY `minOrder` ASC [ RunTime:0.001151s ]
select * from pdf where partno='55PC0213-14-9CS2710' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.001360s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55PC0213-14-9CS2710' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.000639s ]
SELECT `id` FROM `stock` WHERE `id` <> 56234799 AND `partno` = '55PC0213-14-9CS2710' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.000859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14365487 [ RunTime:0.000472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56234798 LIMIT 5 [ RunTime:0.002640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56234798 ORDER BY `minOrder` ASC [ RunTime:0.000843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56234798 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56234798 LIMIT 2 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56234798 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='55PC0213-14-9CS2861' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.001467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55PC0213-14-9CS2861' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.001927s ]
SELECT `id` FROM `stock` WHERE `id` <> 56234798 AND `partno` = '55PC0213-14-9CS2861' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.001237s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14365488 [ RunTime:0.006158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56231016 LIMIT 5 [ RunTime:0.002134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56231016 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56231016 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56231016 LIMIT 2 [ RunTime:0.000676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56231016 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='55PC0213-14-9' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.001253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55PC0213-14-9' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.000523s ]
SELECT `id` FROM `stock` WHERE `id` <> 56231016 AND `partno` = '55PC0213-14-9' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.002075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16402337 [ RunTime:0.000431s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002134s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000692s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002028s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000820s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000873s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001522s ]
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 '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000744s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '55PC0213-14-9%' OR `brand` LIKE '55PC0213-14-9%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000613s ]