SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001401s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004154s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021068s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038356s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.026219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58539405 LIMIT 5 [ RunTime:0.016840s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58539405 ORDER BY `minOrder` ASC [ RunTime:0.020556s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58539405 ORDER BY `unit` DESC [ RunTime:0.017566s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58539405 LIMIT 2 [ RunTime:0.043544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58539405 ORDER BY `minOrder` ASC [ RunTime:0.038861s ]
select * from pdf where partno='552714-4' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.031732s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002314s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '552714-4' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.053071s ]
SELECT `id` FROM `stock` WHERE `id` <> 58539405 AND `partno` = '552714-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.065992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44638584 LIMIT 5 [ RunTime:0.028992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44638584 ORDER BY `minOrder` ASC [ RunTime:0.040861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44638584 ORDER BY `unit` DESC [ RunTime:0.023166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44638584 LIMIT 2 [ RunTime:0.027785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44638584 ORDER BY `minOrder` ASC [ RunTime:0.007359s ]
select * from pdf where partno='552714-4' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.036188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '552714-4' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.059929s ]
SELECT `id` FROM `stock` WHERE `id` <> 44638584 AND `partno` = '552714-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.040743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33123027 [ RunTime:0.031291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33123027 LIMIT 5 [ RunTime:0.039370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33123027 ORDER BY `minOrder` ASC [ RunTime:0.043195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33123027 ORDER BY `unit` DESC [ RunTime:0.019339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33123027 LIMIT 2 [ RunTime:0.057419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33123027 ORDER BY `minOrder` ASC [ RunTime:0.025857s ]
select * from pdf where partno='552714-4' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.017532s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '552714-4' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.010453s ]
SELECT `id` FROM `stock` WHERE `id` <> 33123027 AND `partno` = '552714-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.024532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44638584 [ RunTime:0.017744s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042260s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040560s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030396s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027682s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041646s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003737s ]
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 '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006913s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '552714-4%' OR `brand` LIKE '552714-4%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017188s ]