SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001405s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026404s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19186432 LIMIT 5 [ RunTime:0.008988s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.029037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19186432 ORDER BY `minOrder` ASC [ RunTime:0.016296s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19186432 ORDER BY `unit` DESC [ RunTime:0.021100s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001040s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19186432 LIMIT 2 [ RunTime:0.017025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19186432 ORDER BY `minOrder` ASC [ RunTime:0.007432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17107586 LIMIT 5 [ RunTime:0.019763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17107586 ORDER BY `minOrder` ASC [ RunTime:0.053908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17107586 ORDER BY `unit` DESC [ RunTime:0.089236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17107586 LIMIT 2 [ RunTime:0.050281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17107586 ORDER BY `minOrder` ASC [ RunTime:0.052262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17107567 LIMIT 5 [ RunTime:0.046500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17107567 ORDER BY `minOrder` ASC [ RunTime:0.027906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17107567 ORDER BY `unit` DESC [ RunTime:0.021041s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17107567 LIMIT 2 [ RunTime:0.022787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17107567 ORDER BY `minOrder` ASC [ RunTime:0.025085s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023943s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51045616 LIMIT 5 [ RunTime:0.034240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51045616 ORDER BY `minOrder` ASC [ RunTime:0.057512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51045616 ORDER BY `unit` DESC [ RunTime:0.014091s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51045616 LIMIT 2 [ RunTime:0.043233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51045616 ORDER BY `minOrder` ASC [ RunTime:0.006487s ]
select * from pdf where partno='cd74hct161e' and brandshort='texas instruments' limit 1 [ RunTime:0.036269s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002044s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'cd74hct161e' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.040279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51045447 LIMIT 5 [ RunTime:0.040494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51045447 ORDER BY `minOrder` ASC [ RunTime:0.041120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51045447 ORDER BY `unit` DESC [ RunTime:0.053368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51045447 LIMIT 2 [ RunTime:0.058694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51045447 ORDER BY `minOrder` ASC [ RunTime:0.013456s ]
select * from pdf where partno='cd74hct161ee4' and brandshort='texas instruments' limit 1 [ RunTime:0.018761s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'cd74hct161ee4' OR `brand` LIKE 'texas instruments%' ) ) LIMIT 1 [ RunTime:0.017847s ]
SELECT `id` FROM `stock` WHERE `id` <> 51045447 AND `partno` = 'cd74hct161ee4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.064006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17107586 [ RunTime:0.019593s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072095s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63862485 LIMIT 5 [ RunTime:0.038931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63862485 ORDER BY `minOrder` ASC [ RunTime:0.026736s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63862485 ORDER BY `unit` DESC [ RunTime:0.025603s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63862485 LIMIT 2 [ RunTime:0.060773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63862485 ORDER BY `minOrder` ASC [ RunTime:0.005192s ]
select * from pdf where partno='CD74HCT161E' and brandshort='Texas Instruments' limit 1 [ RunTime:0.027473s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74HCT161E' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.023667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63864299 LIMIT 5 [ RunTime:0.020132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63864299 ORDER BY `minOrder` ASC [ RunTime:0.035528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63864299 ORDER BY `unit` DESC [ RunTime:0.039020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63864299 LIMIT 2 [ RunTime:0.014707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63864299 ORDER BY `minOrder` ASC [ RunTime:0.020063s ]
select * from pdf where partno='CD74HCT161EE4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.017394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74HCT161EE4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.023661s ]
SELECT `id` FROM `stock` WHERE `id` <> 63864299 AND `partno` = 'CD74HCT161EE4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.013611s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17107586 [ RunTime:0.035711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63864068 LIMIT 5 [ RunTime:0.008204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63864068 ORDER BY `minOrder` ASC [ RunTime:0.045538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63864068 ORDER BY `unit` DESC [ RunTime:0.031357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63864068 LIMIT 2 [ RunTime:0.021598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63864068 ORDER BY `minOrder` ASC [ RunTime:0.010981s ]
select * from pdf where partno='CD74HCT161EG4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.013382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CD74HCT161EG4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.048034s ]
SELECT `id` FROM `stock` WHERE `id` <> 63864068 AND `partno` = 'CD74HCT161EG4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.017514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17107567 [ RunTime:0.000923s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020392s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028404s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016794s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008444s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003719s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001454s ]
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 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013273s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'cd74hct161e%' OR `brand` LIKE 'cd74hct161e%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001340s ]