SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001859s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004970s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14214245 LIMIT 5 [ RunTime:0.010165s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14214245 ORDER BY `minOrder` ASC [ RunTime:0.018069s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14214245 ORDER BY `unit` DESC [ RunTime:0.003924s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14214245 LIMIT 2 [ RunTime:0.014315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14214245 ORDER BY `minOrder` ASC [ RunTime:0.016890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19076815 LIMIT 5 [ RunTime:0.038349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19076815 ORDER BY `minOrder` ASC [ RunTime:0.013030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19076815 ORDER BY `unit` DESC [ RunTime:0.012021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19076815 LIMIT 2 [ RunTime:0.010725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19076815 ORDER BY `minOrder` ASC [ RunTime:0.016711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19083421 LIMIT 5 [ RunTime:0.016552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19083421 ORDER BY `minOrder` ASC [ RunTime:0.007697s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19083421 ORDER BY `unit` DESC [ RunTime:0.026912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19083421 LIMIT 2 [ RunTime:0.019153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19083421 ORDER BY `minOrder` ASC [ RunTime:0.017214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16033247 LIMIT 5 [ RunTime:0.008848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16033247 ORDER BY `minOrder` ASC [ RunTime:0.007332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16033247 ORDER BY `unit` DESC [ RunTime:0.009374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16033247 LIMIT 2 [ RunTime:0.009306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16033247 ORDER BY `minOrder` ASC [ RunTime:0.011460s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006922s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56820294 LIMIT 5 [ RunTime:0.004735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56820294 ORDER BY `minOrder` ASC [ RunTime:0.005528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56820294 ORDER BY `unit` DESC [ RunTime:0.004479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56820294 LIMIT 2 [ RunTime:0.010025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56820294 ORDER BY `minOrder` ASC [ RunTime:0.001495s ]
select * from pdf where partno='TL7705AID' and brandshort='Texas Instruments' limit 1 [ RunTime:0.009220s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL7705AID' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.004431s ]
SELECT `id` FROM `stock` WHERE `id` <> 56820294 AND `partno` = 'TL7705AID' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.009474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14214245 [ RunTime:0.005161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56820288 LIMIT 5 [ RunTime:0.006838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56820288 ORDER BY `minOrder` ASC [ RunTime:0.004915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56820288 ORDER BY `unit` DESC [ RunTime:0.001483s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56820288 LIMIT 2 [ RunTime:0.011035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56820288 ORDER BY `minOrder` ASC [ RunTime:0.002169s ]
select * from pdf where partno='TL7705AIDR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.006669s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL7705AIDR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.003372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56837016 LIMIT 5 [ RunTime:0.001514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56837016 ORDER BY `minOrder` ASC [ RunTime:0.004428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56837016 ORDER BY `unit` DESC [ RunTime:0.003275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56837016 LIMIT 2 [ RunTime:0.002610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56837016 ORDER BY `minOrder` ASC [ RunTime:0.003726s ]
select * from pdf where partno='TL7705AID1/A' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.001129s ]
select foldpath,foldpath2,filename from pdf_file where id=1324703 limit 1 [ RunTime:0.001476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL7705AID1/A' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.002867s ]
SELECT `id` FROM `stock` WHERE `id` <> 56837016 AND `partno` = 'TL7705AID1/A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.004291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16033247 [ RunTime:0.005054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56836896 LIMIT 5 [ RunTime:0.007741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56836896 ORDER BY `minOrder` ASC [ RunTime:0.003729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56836896 ORDER BY `unit` DESC [ RunTime:0.005291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56836896 LIMIT 2 [ RunTime:0.004049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56836896 ORDER BY `minOrder` ASC [ RunTime:0.002945s ]
select * from pdf where partno='TL7705AID1013TRA' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.002446s ]
select foldpath,foldpath2,filename from pdf_file where id=1324703 limit 1 [ RunTime:0.000984s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL7705AID1013TRA' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.002792s ]
SELECT `id` FROM `stock` WHERE `id` <> 56836896 AND `partno` = 'TL7705AID1013TRA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.004130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19083421 [ RunTime:0.000652s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001246s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002324s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001029s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001716s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004849s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001160s ]
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 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001059s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TL7705AID%' OR `brand` LIKE 'TL7705AID%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000928s ]