SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001313s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005184s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15338671 LIMIT 5 [ RunTime:0.003180s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15338671 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15338671 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15338671 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15338671 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
select * from pdf where partno='PIC16F19176-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19208917 LIMIT 5 [ RunTime:0.001202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19208917 ORDER BY `minOrder` ASC [ RunTime:0.000712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19208917 ORDER BY `unit` DESC [ RunTime:0.000584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19208917 LIMIT 2 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19208917 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
select * from pdf where partno='PIC16F19176-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19213334 LIMIT 5 [ RunTime:0.001119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19213334 ORDER BY `minOrder` ASC [ RunTime:0.000663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19213334 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19213334 LIMIT 2 [ RunTime:0.000646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19213334 ORDER BY `minOrder` ASC [ RunTime:0.000664s ]
select * from pdf where partno='PIC16F19176-E/PTVAO' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000984s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001987s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51061394 LIMIT 5 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51061394 ORDER BY `minOrder` ASC [ RunTime:0.005303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51061394 ORDER BY `unit` DESC [ RunTime:0.000640s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51061394 LIMIT 2 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51061394 ORDER BY `minOrder` ASC [ RunTime:0.000745s ]
select * from pdf where partno='pic16f19176-e/ptvao' and brandshort='microchip technology' limit 1 [ RunTime:0.000862s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pic16f19176-e/ptvao' OR `brand` LIKE 'microchip technology%' ) ) LIMIT 1 [ RunTime:0.003043s ]
SELECT `id` FROM `stock` WHERE `id` <> 51061394 AND `partno` = 'pic16f19176-e/ptvao' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.001738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19213334 [ RunTime:0.000632s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70322392 LIMIT 5 [ RunTime:0.000579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70322392 ORDER BY `minOrder` ASC [ RunTime:0.001113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70322392 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70322392 LIMIT 2 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70322392 ORDER BY `minOrder` ASC [ RunTime:0.000679s ]
select * from pdf where partno='PIC16F19176-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001087s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F19176-E/P' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000859s ]
SELECT `id` FROM `stock` WHERE `id` <> 70322392 AND `partno` = 'PIC16F19176-E/P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19208917 [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70325532 LIMIT 5 [ RunTime:0.000580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70325532 ORDER BY `minOrder` ASC [ RunTime:0.001208s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70325532 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70325532 LIMIT 2 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70325532 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
select * from pdf where partno='PIC16F19176-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F19176-E/PT' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000742s ]
SELECT `id` FROM `stock` WHERE `id` <> 70325532 AND `partno` = 'PIC16F19176-E/PT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15338671 [ RunTime:0.000633s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 70354856 LIMIT 5 [ RunTime:0.000732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70354856 ORDER BY `minOrder` ASC [ RunTime:0.001165s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 70354856 ORDER BY `unit` DESC [ RunTime:0.000556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 70354856 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 70354856 ORDER BY `minOrder` ASC [ RunTime:0.000585s ]
select * from pdf where partno='PIC16F19176-E/PTVAO' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F19176-E/PTVAO' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000794s ]
SELECT `id` FROM `stock` WHERE `id` <> 70354856 AND `partno` = 'PIC16F19176-E/PTVAO' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000858s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19213334 [ RunTime:0.000610s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000879s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000594s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000606s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000717s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000739s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000629s ]
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 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000903s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PIC16F19176-E/P%' OR `brand` LIKE 'PIC16F19176-E/P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000607s ]