SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002303s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005186s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19217558 LIMIT 5 [ RunTime:0.000938s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19217558 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19217558 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19217558 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19217558 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17118625 LIMIT 5 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17118625 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17118625 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17118625 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17118625 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17117773 LIMIT 5 [ RunTime:0.002234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17117773 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17117773 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17117773 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17117773 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000845s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51062000 LIMIT 5 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51062000 ORDER BY `minOrder` ASC [ RunTime:0.001105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51062000 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51062000 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51062000 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='f280037cspt' and brandshort='texas instruments' limit 1 [ RunTime:0.000545s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001712s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'f280037cspt' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.000635s ]
SELECT `id` FROM `stock` WHERE `id` <> 51062000 AND `partno` = 'f280037cspt' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17118625 [ RunTime:0.000506s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70369579 LIMIT 5 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70369579 ORDER BY `minOrder` ASC [ RunTime:0.001038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70369579 ORDER BY `unit` DESC [ RunTime:0.000733s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70369579 LIMIT 2 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70369579 ORDER BY `minOrder` ASC [ RunTime:0.000681s ]
select * from pdf where partno='F280037CSPTG4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.001195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F280037CSPTG4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000792s ]
SELECT `id` FROM `stock` WHERE `id` <> 70369579 AND `partno` = 'F280037CSPTG4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17117773 [ RunTime:0.000679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70366213 LIMIT 5 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70366213 ORDER BY `minOrder` ASC [ RunTime:0.001145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70366213 ORDER BY `unit` DESC [ RunTime:0.000617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70366213 LIMIT 2 [ RunTime:0.000579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70366213 ORDER BY `minOrder` ASC [ RunTime:0.000550s ]
select * from pdf where partno='F280037CSPTR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.000847s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F280037CSPTR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000756s ]
SELECT `id` FROM `stock` WHERE `id` <> 70366213 AND `partno` = 'F280037CSPTR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19217558 [ RunTime:0.000779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70343680 LIMIT 5 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70343680 ORDER BY `minOrder` ASC [ RunTime:0.001179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70343680 ORDER BY `unit` DESC [ RunTime:0.000657s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70343680 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70343680 ORDER BY `minOrder` ASC [ RunTime:0.000691s ]
select * from pdf where partno='F280037CSPT' and brandshort='Texas Instruments' limit 1 [ RunTime:0.000934s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F280037CSPT' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.000809s ]
SELECT `id` FROM `stock` WHERE `id` <> 70343680 AND `partno` = 'F280037CSPT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.000876s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17118625 [ RunTime:0.000737s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001346s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001166s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001129s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001098s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001122s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000980s ]
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 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001398s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'F280037CSPT%' OR `brand` LIKE 'F280037CSPT%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000901s ]