SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002385s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003565s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16142709 LIMIT 5 [ RunTime:0.005312s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16142709 ORDER BY `minOrder` ASC [ RunTime:0.002989s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16142709 ORDER BY `unit` DESC [ RunTime:0.007877s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16142709 LIMIT 2 [ RunTime:0.003717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16142709 ORDER BY `minOrder` ASC [ RunTime:0.000803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356594 LIMIT 5 [ RunTime:0.004403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356594 ORDER BY `minOrder` ASC [ RunTime:0.007559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15356594 ORDER BY `unit` DESC [ RunTime:0.004010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15356594 LIMIT 2 [ RunTime:0.004209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356594 ORDER BY `minOrder` ASC [ RunTime:0.002328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356573 LIMIT 5 [ RunTime:0.005380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356573 ORDER BY `minOrder` ASC [ RunTime:0.007422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15356573 ORDER BY `unit` DESC [ RunTime:0.009923s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15356573 LIMIT 2 [ RunTime:0.003825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356573 ORDER BY `minOrder` ASC [ RunTime:0.006915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356571 LIMIT 5 [ RunTime:0.005993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356571 ORDER BY `minOrder` ASC [ RunTime:0.003045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15356571 ORDER BY `unit` DESC [ RunTime:0.010794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15356571 LIMIT 2 [ RunTime:0.009292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15356571 ORDER BY `minOrder` ASC [ RunTime:0.001931s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010122s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57029134 LIMIT 5 [ RunTime:0.005168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57029134 ORDER BY `minOrder` ASC [ RunTime:0.008485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57029134 ORDER BY `unit` DESC [ RunTime:0.004660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57029134 LIMIT 2 [ RunTime:0.011186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57029134 ORDER BY `minOrder` ASC [ RunTime:0.005893s ]
select * from pdf where partno='DS1809U-100+' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.003544s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1809U-100+' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.001001s ]
SELECT `id` FROM `stock` WHERE `id` <> 57029134 AND `partno` = 'DS1809U-100+' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.004968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16142709 [ RunTime:0.000942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57030914 LIMIT 5 [ RunTime:0.003767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57030914 ORDER BY `minOrder` ASC [ RunTime:0.002416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57030914 ORDER BY `unit` DESC [ RunTime:0.001240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57030914 LIMIT 2 [ RunTime:0.005670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57030914 ORDER BY `minOrder` ASC [ RunTime:0.001584s ]
select * from pdf where partno='DS1809U-100+T&R' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.005012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1809U-100+T&R' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.006990s ]
SELECT `id` FROM `stock` WHERE `id` <> 57030914 AND `partno` = 'DS1809U-100+T&R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.001179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356594 [ RunTime:0.000999s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57030723 LIMIT 5 [ RunTime:0.002370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57030723 ORDER BY `minOrder` ASC [ RunTime:0.002284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57030723 ORDER BY `unit` DESC [ RunTime:0.000732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57030723 LIMIT 2 [ RunTime:0.001278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57030723 ORDER BY `minOrder` ASC [ RunTime:0.001613s ]
select * from pdf where partno='DS1809U-100' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.002524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1809U-100' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.000849s ]
SELECT `id` FROM `stock` WHERE `id` <> 57030723 AND `partno` = 'DS1809U-100' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.001469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356571 [ RunTime:0.000902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57030721 LIMIT 5 [ RunTime:0.001858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57030721 ORDER BY `minOrder` ASC [ RunTime:0.003032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57030721 ORDER BY `unit` DESC [ RunTime:0.000578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57030721 LIMIT 2 [ RunTime:0.001081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57030721 ORDER BY `minOrder` ASC [ RunTime:0.002937s ]
select * from pdf where partno='DS1809U-100/T&R' and brandshort='Analog Devices Inc./Maxim Integrated' limit 1 [ RunTime:0.004227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1809U-100/T&R' OR `brand` LIKE 'Analog Devices Inc./Maxim Integrated%' ) ) LIMIT 1 [ RunTime:0.002330s ]
SELECT `id` FROM `stock` WHERE `id` <> 57030721 AND `partno` = 'DS1809U-100/T&R' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%analog devices inc./maxim integrated%' ) [ RunTime:0.001485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15356573 [ RunTime:0.000841s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002270s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002558s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003643s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001686s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001030s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003332s ]
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 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001506s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DS1809U-100%' OR `brand` LIKE 'DS1809U-100%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003298s ]