SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001271s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013828s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001076s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16079565 LIMIT 5 [ RunTime:0.001039s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16079565 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16079565 ORDER BY `unit` DESC [ RunTime:0.000208s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16079565 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16079565 ORDER BY `minOrder` ASC [ RunTime:0.008388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15320203 LIMIT 5 [ RunTime:0.015420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15320203 ORDER BY `minOrder` ASC [ RunTime:0.017131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15320203 ORDER BY `unit` DESC [ RunTime:0.010118s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15320203 LIMIT 2 [ RunTime:0.006323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15320203 ORDER BY `minOrder` ASC [ RunTime:0.007173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19154860 LIMIT 5 [ RunTime:0.009978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19154860 ORDER BY `minOrder` ASC [ RunTime:0.009595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19154860 ORDER BY `unit` DESC [ RunTime:0.013493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19154860 LIMIT 2 [ RunTime:0.023639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19154860 ORDER BY `minOrder` ASC [ RunTime:0.012062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15320483 LIMIT 5 [ RunTime:0.021503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15320483 ORDER BY `minOrder` ASC [ RunTime:0.016585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15320483 ORDER BY `unit` DESC [ RunTime:0.020982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15320483 LIMIT 2 [ RunTime:0.007925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15320483 ORDER BY `minOrder` ASC [ RunTime:0.006931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15320206 LIMIT 5 [ RunTime:0.009796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15320206 ORDER BY `minOrder` ASC [ RunTime:0.010904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15320206 ORDER BY `unit` DESC [ RunTime:0.030076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15320206 LIMIT 2 [ RunTime:0.016352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15320206 ORDER BY `minOrder` ASC [ RunTime:0.010436s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008807s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63773585 LIMIT 5 [ RunTime:0.023878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63773585 ORDER BY `minOrder` ASC [ RunTime:0.022013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63773585 ORDER BY `unit` DESC [ RunTime:0.049278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63773585 LIMIT 2 [ RunTime:0.039915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63773585 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
select * from pdf where partno='DS2187S+' and brandshort='Dallas Semiconductor' limit 1 [ RunTime:0.016452s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2187S+' OR `brand` LIKE 'Dallas Semiconductor%' ) ) LIMIT 1 [ RunTime:0.017842s ]
SELECT `id` FROM `stock` WHERE `id` <> 63773585 AND `partno` = 'DS2187S+' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dallas semiconductor%' ) [ RunTime:0.005840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16079565 [ RunTime:0.003347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63774410 LIMIT 5 [ RunTime:0.011967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63774410 ORDER BY `minOrder` ASC [ RunTime:0.024365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63774410 ORDER BY `unit` DESC [ RunTime:0.009495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63774410 LIMIT 2 [ RunTime:0.012807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63774410 ORDER BY `minOrder` ASC [ RunTime:0.002071s ]
select * from pdf where partno='DS2187S/T&R' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.019332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2187S/T&R' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.017820s ]
SELECT `id` FROM `stock` WHERE `id` <> 63774410 AND `partno` = 'DS2187S/T&R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.007125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19154860 [ RunTime:0.020043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63774409 LIMIT 5 [ RunTime:0.010430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63774409 ORDER BY `minOrder` ASC [ RunTime:0.011716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63774409 ORDER BY `unit` DESC [ RunTime:0.010030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63774409 LIMIT 2 [ RunTime:0.009134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63774409 ORDER BY `minOrder` ASC [ RunTime:0.003637s ]
select * from pdf where partno='DS2187S' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.011130s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2187S' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.003354s ]
SELECT `id` FROM `stock` WHERE `id` <> 63774409 AND `partno` = 'DS2187S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.000448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15320206 [ RunTime:0.003102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63774392 LIMIT 5 [ RunTime:0.020059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63774392 ORDER BY `minOrder` ASC [ RunTime:0.011507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63774392 ORDER BY `unit` DESC [ RunTime:0.027905s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63774392 LIMIT 2 [ RunTime:0.008173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63774392 ORDER BY `minOrder` ASC [ RunTime:0.014599s ]
select * from pdf where partno='DS2187' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.020091s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2187' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.001041s ]
SELECT `id` FROM `stock` WHERE `id` <> 63774392 AND `partno` = 'DS2187' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.004790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15320483 [ RunTime:0.031261s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031640s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007809s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014282s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012725s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018500s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020494s ]
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 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008529s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DS2187%' OR `brand` LIKE 'DS2187%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.029787s ]