SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002516s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054934s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20093764 LIMIT 5 [ RunTime:0.041131s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20093764 ORDER BY `minOrder` ASC [ RunTime:0.035001s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20093764 ORDER BY `unit` DESC [ RunTime:0.063433s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.018493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20093764 LIMIT 2 [ RunTime:0.084795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20093764 ORDER BY `minOrder` ASC [ RunTime:0.048833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17375004 LIMIT 5 [ RunTime:0.041161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17375004 ORDER BY `minOrder` ASC [ RunTime:0.141127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17375004 ORDER BY `unit` DESC [ RunTime:0.049740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17375004 LIMIT 2 [ RunTime:0.126976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17375004 ORDER BY `minOrder` ASC [ RunTime:0.088790s ]
select * from pdf where partno='BTH3-25-10-1-B' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.167039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16363843 LIMIT 5 [ RunTime:0.144207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16363843 ORDER BY `minOrder` ASC [ RunTime:0.048776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16363843 ORDER BY `unit` DESC [ RunTime:0.078427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16363843 LIMIT 2 [ RunTime:0.061512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16363843 ORDER BY `minOrder` ASC [ RunTime:0.033688s ]
select * from pdf where partno='BTH3-25-10-1-B-LP' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.021459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15552065 LIMIT 5 [ RunTime:0.049460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15552065 ORDER BY `minOrder` ASC [ RunTime:0.138254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15552065 ORDER BY `unit` DESC [ RunTime:0.079630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15552065 LIMIT 2 [ RunTime:0.080638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15552065 ORDER BY `minOrder` ASC [ RunTime:0.069163s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085370s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.106229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59431468 LIMIT 5 [ RunTime:0.067357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59431468 ORDER BY `minOrder` ASC [ RunTime:0.074147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59431468 ORDER BY `unit` DESC [ RunTime:0.139993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59431468 LIMIT 2 [ RunTime:0.055916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59431468 ORDER BY `minOrder` ASC [ RunTime:0.007263s ]
select * from pdf where partno='BTH3-25-10-1-B-LP-SB' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.087658s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTH3-25-10-1-B-LP-SB' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.090330s ]
SELECT `id` FROM `stock` WHERE `id` <> 59431468 AND `partno` = 'BTH3-25-10-1-B-LP-SB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.025645s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15552065 [ RunTime:0.050965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59431352 LIMIT 5 [ RunTime:0.071483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59431352 ORDER BY `minOrder` ASC [ RunTime:0.105832s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59431352 ORDER BY `unit` DESC [ RunTime:0.146128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59431352 LIMIT 2 [ RunTime:0.100891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59431352 ORDER BY `minOrder` ASC [ RunTime:0.022680s ]
select * from pdf where partno='BTH3-25-10-1-B-LP' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.012815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTH3-25-10-1-B-LP' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.071016s ]
SELECT `id` FROM `stock` WHERE `id` <> 59431352 AND `partno` = 'BTH3-25-10-1-B-LP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.098360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16363843 [ RunTime:0.085423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59428925 LIMIT 5 [ RunTime:0.073594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59428925 ORDER BY `minOrder` ASC [ RunTime:0.133228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59428925 ORDER BY `unit` DESC [ RunTime:0.077685s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59428925 LIMIT 2 [ RunTime:0.058423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59428925 ORDER BY `minOrder` ASC [ RunTime:0.028348s ]
select * from pdf where partno='BTH3-25-10-1-B' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.023530s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTH3-25-10-1-B' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.063406s ]
SELECT `id` FROM `stock` WHERE `id` <> 59428925 AND `partno` = 'BTH3-25-10-1-B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.105450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17375004 [ RunTime:0.052668s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077113s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062933s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021369s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039239s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058749s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040351s ]
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 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054776s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'BTH3-25-10-1-B%' OR `brand` LIKE 'BTH3-25-10-1-B%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.065134s ]