SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002499s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.086965s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.050477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19141823 LIMIT 5 [ RunTime:0.081184s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.046747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19141823 ORDER BY `minOrder` ASC [ RunTime:0.051560s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19141823 ORDER BY `unit` DESC [ RunTime:0.051113s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19141823 LIMIT 2 [ RunTime:0.105898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19141823 ORDER BY `minOrder` ASC [ RunTime:0.232810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16072302 LIMIT 5 [ RunTime:0.051629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16072302 ORDER BY `minOrder` ASC [ RunTime:0.072852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16072302 ORDER BY `unit` DESC [ RunTime:0.051738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16072302 LIMIT 2 [ RunTime:0.123338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16072302 ORDER BY `minOrder` ASC [ RunTime:0.109925s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.082963s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50118455 LIMIT 5 [ RunTime:0.110029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50118455 ORDER BY `minOrder` ASC [ RunTime:0.053623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50118455 ORDER BY `unit` DESC [ RunTime:0.051089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50118455 LIMIT 2 [ RunTime:0.079972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50118455 ORDER BY `minOrder` ASC [ RunTime:0.045798s ]
select * from pdf where partno='NCP1230P133G' and brandshort='onsemi' limit 1 [ RunTime:0.099731s ]
select foldpath,foldpath2,filename from pdf_file where id=627549 limit 1 [ RunTime:0.051152s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP1230P133G' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.115704s ]
SELECT `id` FROM `stock` WHERE `id` <> 50118455 AND `partno` = 'NCP1230P133G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.096186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19141823 [ RunTime:0.208222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37315591 LIMIT 5 [ RunTime:0.196920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37315591 ORDER BY `minOrder` ASC [ RunTime:0.129397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37315591 ORDER BY `unit` DESC [ RunTime:0.147889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37315591 LIMIT 2 [ RunTime:0.051490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37315591 ORDER BY `minOrder` ASC [ RunTime:0.093593s ]
select * from pdf where partno='NCP1230P133G' and brandshort='onsemi' limit 1 [ RunTime:0.051372s ]
select foldpath,foldpath2,filename from pdf_file where id=627549 limit 1 [ RunTime:0.037655s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP1230P133G' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.159082s ]
SELECT `id` FROM `stock` WHERE `id` <> 37315591 AND `partno` = 'NCP1230P133G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.080603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19141823 [ RunTime:0.057840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50118348 LIMIT 5 [ RunTime:0.203462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50118348 ORDER BY `minOrder` ASC [ RunTime:0.051382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50118348 ORDER BY `unit` DESC [ RunTime:0.175059s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50118348 LIMIT 2 [ RunTime:0.050923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50118348 ORDER BY `minOrder` ASC [ RunTime:0.038767s ]
select * from pdf where partno='NCP1230P133' and brandshort='onsemi' limit 1 [ RunTime:0.124297s ]
select foldpath,foldpath2,filename from pdf_file where id=627549 limit 1 [ RunTime:0.050960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP1230P133' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.028687s ]
SELECT `id` FROM `stock` WHERE `id` <> 50118348 AND `partno` = 'NCP1230P133' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.125207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16072302 [ RunTime:0.031298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37315483 LIMIT 5 [ RunTime:0.088235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37315483 ORDER BY `minOrder` ASC [ RunTime:0.104388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37315483 ORDER BY `unit` DESC [ RunTime:0.037912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37315483 LIMIT 2 [ RunTime:0.066229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37315483 ORDER BY `minOrder` ASC [ RunTime:0.144862s ]
select * from pdf where partno='NCP1230P133' and brandshort='onsemi' limit 1 [ RunTime:0.052336s ]
select foldpath,foldpath2,filename from pdf_file where id=627549 limit 1 [ RunTime:0.044360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP1230P133' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.050020s ]
SELECT `id` FROM `stock` WHERE `id` <> 37315483 AND `partno` = 'NCP1230P133' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.100910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16072302 [ RunTime:0.019882s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.161262s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.099372s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.126676s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103519s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051431s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.189024s ]
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 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.135348s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'NCP1230P133%' OR `brand` LIKE 'NCP1230P133%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.052413s ]