SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003445s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027962s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003981s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11742623 LIMIT 5 [ RunTime:0.049507s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11742623 ORDER BY `minOrder` ASC [ RunTime:0.028326s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003103s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11742623 ORDER BY `unit` DESC [ RunTime:0.024969s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11742623 LIMIT 2 [ RunTime:0.012110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11742623 ORDER BY `minOrder` ASC [ RunTime:0.008327s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033512s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53469906 LIMIT 5 [ RunTime:0.046395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53469906 ORDER BY `minOrder` ASC [ RunTime:0.040668s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53469906 ORDER BY `unit` DESC [ RunTime:0.032537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53469906 LIMIT 2 [ RunTime:0.014718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53469906 ORDER BY `minOrder` ASC [ RunTime:0.026553s ]
select * from pdf where partno='DBAS 78G 61-0 PN 090 L5624 SCC' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.012148s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DBAS 78G 61-0 PN 090 L5624 SCC' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.008858s ]
SELECT `id` FROM `stock` WHERE `id` <> 53469906 AND `partno` = 'DBAS 78G 61-0 PN 090 L5624 SCC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.031706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11742623 [ RunTime:0.014231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53465529 LIMIT 5 [ RunTime:0.031167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53465529 ORDER BY `minOrder` ASC [ RunTime:0.142170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53465529 ORDER BY `unit` DESC [ RunTime:0.051579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53465529 LIMIT 2 [ RunTime:0.041450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53465529 ORDER BY `minOrder` ASC [ RunTime:0.035353s ]
select * from pdf where partno='DBAS 78G 61-0 PN 090 L5624' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.113949s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DBAS 78G 61-0 PN 090 L5624' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.069174s ]
SELECT `id` FROM `stock` WHERE `id` <> 53465529 AND `partno` = 'DBAS 78G 61-0 PN 090 L5624' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.158792s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105377s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024761s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110528s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042407s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.078341s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031076s ]
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 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021511s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DBAS 78G 61-0 PN 090 L5624%' OR `brand` LIKE 'DBAS 78G 61-0 PN 090 L5624%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.013880s ]