SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002804s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018647s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.013543s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16106486 LIMIT 5 [ RunTime:0.000897s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16106486 ORDER BY `minOrder` ASC [ RunTime:0.005974s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16106486 ORDER BY `unit` DESC [ RunTime:0.007213s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16106486 LIMIT 2 [ RunTime:0.008262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16106486 ORDER BY `minOrder` ASC [ RunTime:0.004180s ]
select * from pdf where partno='PIC18F4685-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107104 LIMIT 5 [ RunTime:0.008094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107104 ORDER BY `minOrder` ASC [ RunTime:0.027877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16107104 ORDER BY `unit` DESC [ RunTime:0.032874s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16107104 LIMIT 2 [ RunTime:0.017675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16107104 ORDER BY `minOrder` ASC [ RunTime:0.014005s ]
select * from pdf where partno='PIC18F4685-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.007220s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51061939 LIMIT 5 [ RunTime:0.020456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51061939 ORDER BY `minOrder` ASC [ RunTime:0.018156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51061939 ORDER BY `unit` DESC [ RunTime:0.020885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51061939 LIMIT 2 [ RunTime:0.018514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51061939 ORDER BY `minOrder` ASC [ RunTime:0.001924s ]
select * from pdf where partno='pic18f4685-e/p' and brandshort='microchip technology' limit 1 [ RunTime:0.035515s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'pic18f4685-e/p' OR `brand` LIKE 'microchip technology%' ) ) LIMIT 1 [ RunTime:0.031104s ]
SELECT `id` FROM `stock` WHERE `id` <> 51061939 AND `partno` = 'pic18f4685-e/p' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.013828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107104 [ RunTime:0.025188s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018001s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63541561 LIMIT 5 [ RunTime:0.012682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63541561 ORDER BY `minOrder` ASC [ RunTime:0.017594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63541561 ORDER BY `unit` DESC [ RunTime:0.004899s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63541561 LIMIT 2 [ RunTime:0.008894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63541561 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='PIC18F4685-E/PT' and brandshort='Microchip Technology' limit 1 [ RunTime:0.002915s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC18F4685-E/PT' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.008021s ]
SELECT `id` FROM `stock` WHERE `id` <> 63541561 AND `partno` = 'PIC18F4685-E/PT' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.007457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16106486 [ RunTime:0.001937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63561378 LIMIT 5 [ RunTime:0.005759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63561378 ORDER BY `minOrder` ASC [ RunTime:0.005487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63561378 ORDER BY `unit` DESC [ RunTime:0.009107s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63561378 LIMIT 2 [ RunTime:0.002094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63561378 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='PIC18F4685-E/P' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC18F4685-E/P' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000684s ]
SELECT `id` FROM `stock` WHERE `id` <> 63561378 AND `partno` = 'PIC18F4685-E/P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.005859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16107104 [ RunTime:0.000272s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002112s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006597s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022151s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005001s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010312s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001024s ]
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 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005223s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PIC18F4685-E/P%' OR `brand` LIKE 'PIC18F4685-E/P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005076s ]