SHOW FULL COLUMNS FROM `stock` [ RunTime:0.006417s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016367s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.006432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17133871 LIMIT 5 [ RunTime:0.025559s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17133871 ORDER BY `minOrder` ASC [ RunTime:0.010183s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006261s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17133871 ORDER BY `unit` DESC [ RunTime:0.016389s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17133871 LIMIT 2 [ RunTime:0.034323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17133871 ORDER BY `minOrder` ASC [ RunTime:0.019365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16141520 LIMIT 5 [ RunTime:0.018386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16141520 ORDER BY `minOrder` ASC [ RunTime:0.035397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16141520 ORDER BY `unit` DESC [ RunTime:0.061881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16141520 LIMIT 2 [ RunTime:0.046914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16141520 ORDER BY `minOrder` ASC [ RunTime:0.004160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356052 LIMIT 5 [ RunTime:0.068068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356052 ORDER BY `minOrder` ASC [ RunTime:0.040033s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15356052 ORDER BY `unit` DESC [ RunTime:0.046942s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15356052 LIMIT 2 [ RunTime:0.021789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356052 ORDER BY `minOrder` ASC [ RunTime:0.046464s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32156547 LIMIT 5 [ RunTime:0.070096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32156547 ORDER BY `minOrder` ASC [ RunTime:0.097876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32156547 ORDER BY `unit` DESC [ RunTime:0.037989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32156547 LIMIT 2 [ RunTime:0.046194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32156547 ORDER BY `minOrder` ASC [ RunTime:0.015943s ]
select * from pdf where partno='tlv2543idb' and brandshort='texas instruments' limit 1 [ RunTime:0.086396s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'tlv2543idb' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.025914s ]
SELECT `id` FROM `stock` WHERE `id` <> 32156547 AND `partno` = 'tlv2543idb' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.122979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17133871 [ RunTime:0.039449s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56954711 LIMIT 5 [ RunTime:0.184597s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56954711 ORDER BY `minOrder` ASC [ RunTime:0.042015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56954711 ORDER BY `unit` DESC [ RunTime:0.028528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56954711 LIMIT 2 [ RunTime:0.038634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56954711 ORDER BY `minOrder` ASC [ RunTime:0.070070s ]
select * from pdf where partno='TLV2543IDB' and brandshort='Texas Instruments' limit 1 [ RunTime:0.070599s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLV2543IDB' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.066776s ]
SELECT `id` FROM `stock` WHERE `id` <> 56954711 AND `partno` = 'TLV2543IDB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.107768s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17133871 [ RunTime:0.016750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56954286 LIMIT 5 [ RunTime:0.033440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56954286 ORDER BY `minOrder` ASC [ RunTime:0.049983s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56954286 ORDER BY `unit` DESC [ RunTime:0.106477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56954286 LIMIT 2 [ RunTime:0.015783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56954286 ORDER BY `minOrder` ASC [ RunTime:0.062714s ]
select * from pdf where partno='TLV2543IDBR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.013403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLV2543IDBR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.047339s ]
SELECT `id` FROM `stock` WHERE `id` <> 56954286 AND `partno` = 'TLV2543IDBR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.064650s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16141520 [ RunTime:0.027295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56952787 LIMIT 5 [ RunTime:0.092077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56952787 ORDER BY `minOrder` ASC [ RunTime:0.070345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56952787 ORDER BY `unit` DESC [ RunTime:0.069651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56952787 LIMIT 2 [ RunTime:0.022454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56952787 ORDER BY `minOrder` ASC [ RunTime:0.049430s ]
select * from pdf where partno='TLV2543IDBRG4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.032306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLV2543IDBRG4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.032026s ]
SELECT `id` FROM `stock` WHERE `id` <> 56952787 AND `partno` = 'TLV2543IDBRG4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.048937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356052 [ RunTime:0.015878s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042965s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079891s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.063164s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035449s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093886s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072072s ]
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 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087024s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TLV2543IDB%' OR `brand` LIKE 'TLV2543IDB%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.081108s ]