SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002521s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105901s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19168508 LIMIT 5 [ RunTime:0.131635s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.126385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19168508 ORDER BY `minOrder` ASC [ RunTime:0.199268s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.165308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19168508 ORDER BY `unit` DESC [ RunTime:0.051155s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002104s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19168508 LIMIT 2 [ RunTime:0.047946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19168508 ORDER BY `minOrder` ASC [ RunTime:0.070106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14232529 LIMIT 5 [ RunTime:0.095831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14232529 ORDER BY `minOrder` ASC [ RunTime:0.064479s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14232529 ORDER BY `unit` DESC [ RunTime:0.087464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14232529 LIMIT 2 [ RunTime:0.133733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14232529 ORDER BY `minOrder` ASC [ RunTime:0.039644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19168314 LIMIT 5 [ RunTime:0.061292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19168314 ORDER BY `minOrder` ASC [ RunTime:0.119877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19168314 ORDER BY `unit` DESC [ RunTime:0.161660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19168314 LIMIT 2 [ RunTime:0.120230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19168314 ORDER BY `minOrder` ASC [ RunTime:0.052455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19165477 LIMIT 5 [ RunTime:0.106562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165477 ORDER BY `minOrder` ASC [ RunTime:0.245528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19165477 ORDER BY `unit` DESC [ RunTime:0.055419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19165477 LIMIT 2 [ RunTime:0.052018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165477 ORDER BY `minOrder` ASC [ RunTime:0.073867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19165476 LIMIT 5 [ RunTime:0.164296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165476 ORDER BY `minOrder` ASC [ RunTime:0.176666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19165476 ORDER BY `unit` DESC [ RunTime:0.072548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19165476 LIMIT 2 [ RunTime:0.102899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165476 ORDER BY `minOrder` ASC [ RunTime:0.021200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19165475 LIMIT 5 [ RunTime:0.104325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165475 ORDER BY `minOrder` ASC [ RunTime:0.124077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19165475 ORDER BY `unit` DESC [ RunTime:0.052473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19165475 LIMIT 2 [ RunTime:0.115074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19165475 ORDER BY `minOrder` ASC [ RunTime:0.080352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14231808 LIMIT 5 [ RunTime:0.051104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14231808 ORDER BY `minOrder` ASC [ RunTime:0.055019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14231808 ORDER BY `unit` DESC [ RunTime:0.132008s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14231808 LIMIT 2 [ RunTime:0.165841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14231808 ORDER BY `minOrder` ASC [ RunTime:0.050666s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017905s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.225134s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63813359 LIMIT 5 [ RunTime:0.203587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813359 ORDER BY `minOrder` ASC [ RunTime:0.127117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63813359 ORDER BY `unit` DESC [ RunTime:0.051290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63813359 LIMIT 2 [ RunTime:0.051042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813359 ORDER BY `minOrder` ASC [ RunTime:0.040412s ]
select * from pdf where partno='ICL3222CA' and brandshort='Harris Corporation' limit 1 [ RunTime:0.051445s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002405s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3222CA' OR `brand` LIKE 'Harris Corporation%' ) ) LIMIT 1 [ RunTime:0.051127s ]
SELECT `id` FROM `stock` WHERE `id` <> 63813359 AND `partno` = 'ICL3222CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%harris corporation%' ) [ RunTime:0.051298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19168508 [ RunTime:0.141566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63813368 LIMIT 5 [ RunTime:0.129253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813368 ORDER BY `minOrder` ASC [ RunTime:0.075202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63813368 ORDER BY `unit` DESC [ RunTime:0.050842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63813368 LIMIT 2 [ RunTime:0.077879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63813368 ORDER BY `minOrder` ASC [ RunTime:0.155274s ]
select * from pdf where partno='ICL3222CA' and brandshort='Intersil' limit 1 [ RunTime:0.029771s ]
select foldpath,foldpath2,filename from pdf_file where id=646991 limit 1 [ RunTime:0.087729s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3222CA' OR `brand` LIKE 'Intersil%' ) ) LIMIT 1 [ RunTime:0.054706s ]
SELECT `id` FROM `stock` WHERE `id` <> 63813368 AND `partno` = 'ICL3222CA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%intersil%' ) [ RunTime:0.073427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14232529 [ RunTime:0.100608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63812926 LIMIT 5 [ RunTime:0.106143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63812926 ORDER BY `minOrder` ASC [ RunTime:0.087877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63812926 ORDER BY `unit` DESC [ RunTime:0.105916s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63812926 LIMIT 2 [ RunTime:0.051286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63812926 ORDER BY `minOrder` ASC [ RunTime:0.050940s ]
select * from pdf where partno='ICL3222CA-T' and brandshort='Harris Corporation' limit 1 [ RunTime:0.134911s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ICL3222CA-T' OR `brand` LIKE 'Harris Corporation%' ) ) LIMIT 1 [ RunTime:0.051076s ]
SELECT `id` FROM `stock` WHERE `id` <> 63812926 AND `partno` = 'ICL3222CA-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%harris corporation%' ) [ RunTime:0.050400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19168314 [ RunTime:0.165126s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.257795s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051685s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103642s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.151668s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.071603s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.101237s ]
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 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.105634s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'ICL3222CA%' OR `brand` LIKE 'ICL3222CA%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.092260s ]