SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003650s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.114978s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.036906s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16086605 LIMIT 5 [ RunTime:0.059956s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16086605 ORDER BY `minOrder` ASC [ RunTime:0.099315s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16086605 ORDER BY `unit` DESC [ RunTime:0.050916s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16086605 LIMIT 2 [ RunTime:0.038979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16086605 ORDER BY `minOrder` ASC [ RunTime:0.045891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19166679 LIMIT 5 [ RunTime:0.114909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19166679 ORDER BY `minOrder` ASC [ RunTime:0.067264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19166679 ORDER BY `unit` DESC [ RunTime:0.168641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19166679 LIMIT 2 [ RunTime:0.072671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19166679 ORDER BY `minOrder` ASC [ RunTime:0.088135s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19167292 LIMIT 5 [ RunTime:0.101782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19167292 ORDER BY `minOrder` ASC [ RunTime:0.075534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19167292 ORDER BY `unit` DESC [ RunTime:0.107977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19167292 LIMIT 2 [ RunTime:0.052477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19167292 ORDER BY `minOrder` ASC [ RunTime:0.053250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16086649 LIMIT 5 [ RunTime:0.055887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16086649 ORDER BY `minOrder` ASC [ RunTime:0.029457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16086649 ORDER BY `unit` DESC [ RunTime:0.128599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16086649 LIMIT 2 [ RunTime:0.080023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16086649 ORDER BY `minOrder` ASC [ RunTime:0.081586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19165468 LIMIT 5 [ RunTime:0.037144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165468 ORDER BY `minOrder` ASC [ RunTime:0.040222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19165468 ORDER BY `unit` DESC [ RunTime:0.128163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19165468 LIMIT 2 [ RunTime:0.062163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165468 ORDER BY `minOrder` ASC [ RunTime:0.026764s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19165313 LIMIT 5 [ RunTime:0.037012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165313 ORDER BY `minOrder` ASC [ RunTime:0.052764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19165313 ORDER BY `unit` DESC [ RunTime:0.067347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19165313 LIMIT 2 [ RunTime:0.045632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165313 ORDER BY `minOrder` ASC [ RunTime:0.079891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16084846 LIMIT 5 [ RunTime:0.049084s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16084846 ORDER BY `minOrder` ASC [ RunTime:0.058862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16084846 ORDER BY `unit` DESC [ RunTime:0.016872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16084846 LIMIT 2 [ RunTime:0.103029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16084846 ORDER BY `minOrder` ASC [ RunTime:0.022638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16084243 LIMIT 5 [ RunTime:0.054971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16084243 ORDER BY `minOrder` ASC [ RunTime:0.113734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16084243 ORDER BY `unit` DESC [ RunTime:0.074598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16084243 LIMIT 2 [ RunTime:0.057688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16084243 ORDER BY `minOrder` ASC [ RunTime:0.058699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14231826 LIMIT 5 [ RunTime:0.145467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14231826 ORDER BY `minOrder` ASC [ RunTime:0.027638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14231826 ORDER BY `unit` DESC [ RunTime:0.047901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14231826 LIMIT 2 [ RunTime:0.155850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14231826 ORDER BY `minOrder` ASC [ RunTime:0.038824s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.079512s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63813684 LIMIT 5 [ RunTime:0.115562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813684 ORDER BY `minOrder` ASC [ RunTime:0.099609s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63813684 ORDER BY `unit` DESC [ RunTime:0.086788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63813684 LIMIT 2 [ RunTime:0.152208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813684 ORDER BY `minOrder` ASC [ RunTime:0.041183s ]
select * from pdf where partno='ICL3221ECA-T' and brandshort='Intersil' limit 1 [ RunTime:0.153711s ]
select foldpath,foldpath2,filename from pdf_file where id=382430 limit 1 [ RunTime:0.076520s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004103s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3221ECA-T' OR `brand` LIKE 'Intersil%' ) ) LIMIT 1 [ RunTime:0.029127s ]
SELECT `id` FROM `stock` WHERE `id` <> 63813684 AND `partno` = 'ICL3221ECA-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%intersil%' ) [ RunTime:0.095924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16086605 [ RunTime:0.073683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63813800 LIMIT 5 [ RunTime:0.041772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813800 ORDER BY `minOrder` ASC [ RunTime:0.047926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63813800 ORDER BY `unit` DESC [ RunTime:0.022782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63813800 LIMIT 2 [ RunTime:0.011339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813800 ORDER BY `minOrder` ASC [ RunTime:0.016944s ]
select * from pdf where partno='ICL3221ECA' and brandshort='Intersil' limit 1 [ RunTime:0.046083s ]
select foldpath,foldpath2,filename from pdf_file where id=382430 limit 1 [ RunTime:0.016991s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3221ECA' OR `brand` LIKE 'Intersil%' ) ) LIMIT 1 [ RunTime:0.008639s ]
SELECT `id` FROM `stock` WHERE `id` <> 63813800 AND `partno` = 'ICL3221ECA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%intersil%' ) [ RunTime:0.051052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16086649 [ RunTime:0.015933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63811036 LIMIT 5 [ RunTime:0.038052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63811036 ORDER BY `minOrder` ASC [ RunTime:0.005583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63811036 ORDER BY `unit` DESC [ RunTime:0.046476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63811036 LIMIT 2 [ RunTime:0.040668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63811036 ORDER BY `minOrder` ASC [ RunTime:0.015941s ]
select * from pdf where partno='ICL3221ECAZ' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.010244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3221ECAZ' OR `brand` LIKE 'Renesas Electronics Corporation%' ) ) LIMIT 1 [ RunTime:0.010315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63809590 LIMIT 5 [ RunTime:0.007752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63809590 ORDER BY `minOrder` ASC [ RunTime:0.036749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63809590 ORDER BY `unit` DESC [ RunTime:0.019012s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63809590 LIMIT 2 [ RunTime:0.064414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63809590 ORDER BY `minOrder` ASC [ RunTime:0.024192s ]
select * from pdf where partno='ICL3221ECAZ-T' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.212767s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3221ECAZ-T' OR `brand` LIKE 'Renesas Electronics Corporation%' ) ) LIMIT 1 [ RunTime:0.149320s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070997s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.143539s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077651s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036366s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044536s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055259s ]
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 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.190698s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ICL3221ECA%' OR `brand` LIKE 'ICL3221ECA%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.085778s ]