SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002549s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050051s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19169104 LIMIT 5 [ RunTime:0.048537s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.010425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19169104 ORDER BY `minOrder` ASC [ RunTime:0.021777s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19169104 ORDER BY `unit` DESC [ RunTime:0.053137s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19169104 LIMIT 2 [ RunTime:0.030250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19169104 ORDER BY `minOrder` ASC [ RunTime:0.042005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17102199 LIMIT 5 [ RunTime:0.047588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17102199 ORDER BY `minOrder` ASC [ RunTime:0.057002s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17102199 ORDER BY `unit` DESC [ RunTime:0.058848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17102199 LIMIT 2 [ RunTime:0.012152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17102199 ORDER BY `minOrder` ASC [ RunTime:0.056637s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032049s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63814212 LIMIT 5 [ RunTime:0.203313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63814212 ORDER BY `minOrder` ASC [ RunTime:0.034694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63814212 ORDER BY `unit` DESC [ RunTime:0.061990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63814212 LIMIT 2 [ RunTime:0.049647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63814212 ORDER BY `minOrder` ASC [ RunTime:0.035377s ]
select * from pdf where partno='ICL3222EIV-T' and brandshort='Intersil' limit 1 [ RunTime:0.049032s ]
select foldpath,foldpath2,filename from pdf_file where id=382443 limit 1 [ RunTime:0.013250s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002704s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3222EIV-T' OR `brand` LIKE 'Intersil%' ) ) LIMIT 1 [ RunTime:0.058779s ]
SELECT `id` FROM `stock` WHERE `id` <> 63814212 AND `partno` = 'ICL3222EIV-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%intersil%' ) [ RunTime:0.047975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19169104 [ RunTime:0.149674s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045574s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053062s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011332s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007541s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029487s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.066371s ]
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 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007976s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ICL3222EIV-T%' OR `brand` LIKE 'ICL3222EIV-T%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.045803s ]