SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001306s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010752s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003652s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17104943 LIMIT 5 [ RunTime:0.010414s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17104943 ORDER BY `minOrder` ASC [ RunTime:0.014594s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.018852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17104943 ORDER BY `unit` DESC [ RunTime:0.010065s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.019070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17104943 LIMIT 2 [ RunTime:0.010491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17104943 ORDER BY `minOrder` ASC [ RunTime:0.012755s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19175442 LIMIT 5 [ RunTime:0.021492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19175442 ORDER BY `minOrder` ASC [ RunTime:0.035761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19175442 ORDER BY `unit` DESC [ RunTime:0.080559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19175442 LIMIT 2 [ RunTime:0.084030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19175442 ORDER BY `minOrder` ASC [ RunTime:0.019600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19176868 LIMIT 5 [ RunTime:0.094583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19176868 ORDER BY `minOrder` ASC [ RunTime:0.162598s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19176868 ORDER BY `unit` DESC [ RunTime:0.092862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19176868 LIMIT 2 [ RunTime:0.086880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19176868 ORDER BY `minOrder` ASC [ RunTime:0.042977s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19176843 LIMIT 5 [ RunTime:0.104183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19176843 ORDER BY `minOrder` ASC [ RunTime:0.266823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19176843 ORDER BY `unit` DESC [ RunTime:0.073406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19176843 LIMIT 2 [ RunTime:0.095833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19176843 ORDER BY `minOrder` ASC [ RunTime:0.050043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19176651 LIMIT 5 [ RunTime:0.076681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19176651 ORDER BY `minOrder` ASC [ RunTime:0.153201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19176651 ORDER BY `unit` DESC [ RunTime:0.140052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19176651 LIMIT 2 [ RunTime:0.119168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19176651 ORDER BY `minOrder` ASC [ RunTime:0.033889s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.076379s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56991719 LIMIT 5 [ RunTime:0.134968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56991719 ORDER BY `minOrder` ASC [ RunTime:0.152915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56991719 ORDER BY `unit` DESC [ RunTime:0.051515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56991719 LIMIT 2 [ RunTime:0.152146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56991719 ORDER BY `minOrder` ASC [ RunTime:0.052848s ]
select * from pdf where partno='CD74AC174M' and brandshort='Harris Corporation' limit 1 [ RunTime:0.077592s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74AC174M' OR `brand` LIKE 'Harris Corporation%' ) ) LIMIT 1 [ RunTime:0.064217s ]
SELECT `id` FROM `stock` WHERE `id` <> 56991719 AND `partno` = 'CD74AC174M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%harris corporation%' ) [ RunTime:0.147544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19175442 [ RunTime:0.128390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56994537 LIMIT 5 [ RunTime:0.155157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56994537 ORDER BY `minOrder` ASC [ RunTime:0.209664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56994537 ORDER BY `unit` DESC [ RunTime:0.138321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56994537 LIMIT 2 [ RunTime:0.119836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56994537 ORDER BY `minOrder` ASC [ RunTime:0.050710s ]
select * from pdf where partno='CD74AC174M' and brandshort='Texas Instruments' limit 1 [ RunTime:0.049725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74AC174M' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.056178s ]
SELECT `id` FROM `stock` WHERE `id` <> 56994537 AND `partno` = 'CD74AC174M' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.143198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17104943 [ RunTime:0.177685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56994199 LIMIT 5 [ RunTime:0.106583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56994199 ORDER BY `minOrder` ASC [ RunTime:0.308671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56994199 ORDER BY `unit` DESC [ RunTime:0.102401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56994199 LIMIT 2 [ RunTime:0.162165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56994199 ORDER BY `minOrder` ASC [ RunTime:0.051101s ]
select * from pdf where partno='CD74AC174M96E4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.111649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74AC174M96E4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.051396s ]
SELECT `id` FROM `stock` WHERE `id` <> 56994199 AND `partno` = 'CD74AC174M96E4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.051253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19176651 [ RunTime:0.021448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56993838 LIMIT 5 [ RunTime:0.072251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56993838 ORDER BY `minOrder` ASC [ RunTime:0.273386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56993838 ORDER BY `unit` DESC [ RunTime:0.245473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56993838 LIMIT 2 [ RunTime:0.079079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56993838 ORDER BY `minOrder` ASC [ RunTime:0.045787s ]
select * from pdf where partno='CD74AC174M96' and brandshort='Texas Instruments' limit 1 [ RunTime:0.117889s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74AC174M96' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.114574s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034981s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.173532s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051571s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047849s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.131427s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051337s ]
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 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.128664s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CD74AC174M%' OR `brand` LIKE 'CD74AC174M%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.051910s ]