SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002652s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085264s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16998924 LIMIT 5 [ RunTime:0.032941s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.053206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16998924 ORDER BY `minOrder` ASC [ RunTime:0.030547s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001357s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16998924 ORDER BY `unit` DESC [ RunTime:0.042917s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002734s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16998924 LIMIT 2 [ RunTime:0.136294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16998924 ORDER BY `minOrder` ASC [ RunTime:0.053907s ]
select * from pdf where partno='2031973-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.053711s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053876s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51093149 LIMIT 5 [ RunTime:0.032090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51093149 ORDER BY `minOrder` ASC [ RunTime:0.103135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51093149 ORDER BY `unit` DESC [ RunTime:0.051668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51093149 LIMIT 2 [ RunTime:0.083287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51093149 ORDER BY `minOrder` ASC [ RunTime:0.037938s ]
select * from pdf where partno='2031973-1' and brandshort='te connectivity' limit 1 [ RunTime:0.093709s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031973-1' OR `brand` LIKE 'te connectivity%' ) ) LIMIT 1 [ RunTime:0.163530s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.116103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58528229 LIMIT 5 [ RunTime:0.074418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58528229 ORDER BY `minOrder` ASC [ RunTime:0.121023s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58528229 ORDER BY `unit` DESC [ RunTime:0.042152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58528229 LIMIT 2 [ RunTime:0.067099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58528229 ORDER BY `minOrder` ASC [ RunTime:0.046686s ]
select * from pdf where partno='2031973-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.045486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031973-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.060475s ]
SELECT `id` FROM `stock` WHERE `id` <> 58528229 AND `partno` = '2031973-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.070247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44627538 LIMIT 5 [ RunTime:0.036482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44627538 ORDER BY `minOrder` ASC [ RunTime:0.090578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44627538 ORDER BY `unit` DESC [ RunTime:0.087887s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44627538 LIMIT 2 [ RunTime:0.035405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44627538 ORDER BY `minOrder` ASC [ RunTime:0.003121s ]
select * from pdf where partno='2031973-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.028884s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031973-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.095088s ]
SELECT `id` FROM `stock` WHERE `id` <> 44627538 AND `partno` = '2031973-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.066224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16998924 [ RunTime:0.047572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33109140 LIMIT 5 [ RunTime:0.025137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33109140 ORDER BY `minOrder` ASC [ RunTime:0.117533s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33109140 ORDER BY `unit` DESC [ RunTime:0.042511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33109140 LIMIT 2 [ RunTime:0.056990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33109140 ORDER BY `minOrder` ASC [ RunTime:0.027081s ]
select * from pdf where partno='2031973-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.065600s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2031973-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.021576s ]
SELECT `id` FROM `stock` WHERE `id` <> 33109140 AND `partno` = '2031973-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.039828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16998924 [ RunTime:0.005779s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067100s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055585s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048009s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.096960s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044415s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080987s ]
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 '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050974s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '2031973-1%' OR `brand` LIKE '2031973-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.083180s ]