SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001441s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014294s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19212507 LIMIT 5 [ RunTime:0.008891s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19212507 ORDER BY `minOrder` ASC [ RunTime:0.024012s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005905s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19212507 ORDER BY `unit` DESC [ RunTime:0.014060s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19212507 LIMIT 2 [ RunTime:0.023017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19212507 ORDER BY `minOrder` ASC [ RunTime:0.001144s ]
select * from pdf where partno='PIC16LF15375-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.004194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15334924 LIMIT 5 [ RunTime:0.019892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15334924 ORDER BY `minOrder` ASC [ RunTime:0.042136s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15334924 ORDER BY `unit` DESC [ RunTime:0.021772s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15334924 LIMIT 2 [ RunTime:0.008669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15334924 ORDER BY `minOrder` ASC [ RunTime:0.023295s ]
select * from pdf where partno='PIC16LF15375-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.043141s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045291s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49757124 LIMIT 5 [ RunTime:0.015222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49757124 ORDER BY `minOrder` ASC [ RunTime:0.047836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49757124 ORDER BY `unit` DESC [ RunTime:0.011964s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49757124 LIMIT 2 [ RunTime:0.049911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49757124 ORDER BY `minOrder` ASC [ RunTime:0.033776s ]
select * from pdf where partno='PIC16LF15375-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.004368s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16LF15375-E/P' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.014397s ]
SELECT `id` FROM `stock` WHERE `id` <> 49757124 AND `partno` = 'PIC16LF15375-E/P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.062626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19212507 [ RunTime:0.021406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49754084 LIMIT 5 [ RunTime:0.033207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49754084 ORDER BY `minOrder` ASC [ RunTime:0.058918s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49754084 ORDER BY `unit` DESC [ RunTime:0.031423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49754084 LIMIT 2 [ RunTime:0.007137s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49754084 ORDER BY `minOrder` ASC [ RunTime:0.014599s ]
select * from pdf where partno='PIC16LF15375-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.010102s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16LF15375-E/PT' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.057578s ]
SELECT `id` FROM `stock` WHERE `id` <> 49754084 AND `partno` = 'PIC16LF15375-E/PT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.038405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15334924 [ RunTime:0.034678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36950268 LIMIT 5 [ RunTime:0.020861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36950268 ORDER BY `minOrder` ASC [ RunTime:0.015940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36950268 ORDER BY `unit` DESC [ RunTime:0.005188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36950268 LIMIT 2 [ RunTime:0.007691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36950268 ORDER BY `minOrder` ASC [ RunTime:0.004058s ]
select * from pdf where partno='PIC16LF15375-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000971s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16LF15375-E/P' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT `id` FROM `stock` WHERE `id` <> 36950268 AND `partno` = 'PIC16LF15375-E/P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.002243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19212507 [ RunTime:0.004880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36947259 LIMIT 5 [ RunTime:0.004123s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36947259 ORDER BY `minOrder` ASC [ RunTime:0.016409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36947259 ORDER BY `unit` DESC [ RunTime:0.003314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36947259 LIMIT 2 [ RunTime:0.007357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36947259 ORDER BY `minOrder` ASC [ RunTime:0.003227s ]
select * from pdf where partno='PIC16LF15375-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.004570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16LF15375-E/PT' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.005519s ]
SELECT `id` FROM `stock` WHERE `id` <> 36947259 AND `partno` = 'PIC16LF15375-E/PT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.008308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15334924 [ RunTime:0.007888s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003458s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015866s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041577s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025092s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030084s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003133s ]
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 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020457s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PIC16LF15375-E/P%' OR `brand` LIKE 'PIC16LF15375-E/P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.011321s ]