SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002093s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014543s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489959 LIMIT 5 [ RunTime:0.006814s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489959 ORDER BY `minOrder` ASC [ RunTime:0.001368s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489959 ORDER BY `unit` DESC [ RunTime:0.001912s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489959 LIMIT 2 [ RunTime:0.015652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489959 ORDER BY `minOrder` ASC [ RunTime:0.002956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489858 LIMIT 5 [ RunTime:0.001063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489858 ORDER BY `minOrder` ASC [ RunTime:0.005626s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13489858 ORDER BY `unit` DESC [ RunTime:0.012574s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13489858 LIMIT 2 [ RunTime:0.003485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13489858 ORDER BY `minOrder` ASC [ RunTime:0.015533s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037099s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49229415 LIMIT 5 [ RunTime:0.014876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49229415 ORDER BY `minOrder` ASC [ RunTime:0.027362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49229415 ORDER BY `unit` DESC [ RunTime:0.012751s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49229415 LIMIT 2 [ RunTime:0.023787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49229415 ORDER BY `minOrder` ASC [ RunTime:0.006975s ]
select * from pdf where partno='55A0111-20-4' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.013528s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-4' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.005475s ]
SELECT `id` FROM `stock` WHERE `id` <> 49229415 AND `partno` = '55A0111-20-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.028336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489959 [ RunTime:0.009292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49228871 LIMIT 5 [ RunTime:0.034539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49228871 ORDER BY `minOrder` ASC [ RunTime:0.026752s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49228871 ORDER BY `unit` DESC [ RunTime:0.006632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49228871 LIMIT 2 [ RunTime:0.056945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49228871 ORDER BY `minOrder` ASC [ RunTime:0.039862s ]
select * from pdf where partno='55A0111-20-45' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.086473s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-45' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.025480s ]
SELECT `id` FROM `stock` WHERE `id` <> 49228871 AND `partno` = '55A0111-20-45' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.083708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489858 [ RunTime:0.072708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36433203 LIMIT 5 [ RunTime:0.017206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36433203 ORDER BY `minOrder` ASC [ RunTime:0.027859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36433203 ORDER BY `unit` DESC [ RunTime:0.013359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36433203 LIMIT 2 [ RunTime:0.051569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36433203 ORDER BY `minOrder` ASC [ RunTime:0.018976s ]
select * from pdf where partno='55A0111-20-4' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.020554s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-4' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.041078s ]
SELECT `id` FROM `stock` WHERE `id` <> 36433203 AND `partno` = '55A0111-20-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.006441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489959 [ RunTime:0.004479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36432637 LIMIT 5 [ RunTime:0.045683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36432637 ORDER BY `minOrder` ASC [ RunTime:0.026765s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36432637 ORDER BY `unit` DESC [ RunTime:0.032245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36432637 LIMIT 2 [ RunTime:0.016301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36432637 ORDER BY `minOrder` ASC [ RunTime:0.012732s ]
select * from pdf where partno='55A0111-20-45' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.007543s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '55A0111-20-45' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.004254s ]
SELECT `id` FROM `stock` WHERE `id` <> 36432637 AND `partno` = '55A0111-20-45' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.001884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13489858 [ RunTime:0.006823s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017414s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005559s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008044s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016081s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001814s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005872s ]
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-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004579s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '55A0111-20-4%' OR `brand` LIKE '55A0111-20-4%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015908s ]