SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002351s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070487s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11741330 LIMIT 5 [ RunTime:0.122412s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11741330 ORDER BY `minOrder` ASC [ RunTime:0.014454s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11741330 ORDER BY `unit` DESC [ RunTime:0.001569s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11741330 LIMIT 2 [ RunTime:0.016164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11741330 ORDER BY `minOrder` ASC [ RunTime:0.017453s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051829s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53466091 LIMIT 5 [ RunTime:0.015813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53466091 ORDER BY `minOrder` ASC [ RunTime:0.021928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53466091 ORDER BY `unit` DESC [ RunTime:0.025585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53466091 LIMIT 2 [ RunTime:0.041466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53466091 ORDER BY `minOrder` ASC [ RunTime:0.031789s ]
select * from pdf where partno='DBAS 76G 27-0 PN 090-1A SCC' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.014367s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DBAS 76G 27-0 PN 090-1A SCC' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.017458s ]
SELECT `id` FROM `stock` WHERE `id` <> 53466091 AND `partno` = 'DBAS 76G 27-0 PN 090-1A SCC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.035813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53462971 LIMIT 5 [ RunTime:0.039669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53462971 ORDER BY `minOrder` ASC [ RunTime:0.069656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53462971 ORDER BY `unit` DESC [ RunTime:0.010726s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53462971 LIMIT 2 [ RunTime:0.037640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53462971 ORDER BY `minOrder` ASC [ RunTime:0.010403s ]
select * from pdf where partno='DBAS 76G 27-0 PN 090-1A' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.022325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DBAS 76G 27-0 PN 090-1A' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.099056s ]
SELECT `id` FROM `stock` WHERE `id` <> 53462971 AND `partno` = 'DBAS 76G 27-0 PN 090-1A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.054048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11741330 [ RunTime:0.018356s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.096844s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.181672s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054123s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041350s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055890s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047940s ]
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 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072658s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DBAS 76G 27-0 PN 090-1A%' OR `brand` LIKE 'DBAS 76G 27-0 PN 090-1A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.026192s ]