SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001448s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003431s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19050919 LIMIT 5 [ RunTime:0.000195s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19050919 ORDER BY `minOrder` ASC [ RunTime:0.003712s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.013792s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19050919 ORDER BY `unit` DESC [ RunTime:0.002354s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19050919 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19050919 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001210s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57187971 LIMIT 5 [ RunTime:0.036532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57187971 ORDER BY `minOrder` ASC [ RunTime:0.016202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57187971 ORDER BY `unit` DESC [ RunTime:0.013422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57187971 LIMIT 2 [ RunTime:0.005234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57187971 ORDER BY `minOrder` ASC [ RunTime:0.010217s ]
select * from pdf where partno='IS43TR81024BL-125KBLI-TR' and brandshort='ISSI, Integrated Silicon Solution Inc' limit 1 [ RunTime:0.009939s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IS43TR81024BL-125KBLI-TR' OR `brand` LIKE 'ISSI, Integrated Silicon Solution Inc%' ) ) LIMIT 1 [ RunTime:0.013368s ]
SELECT `id` FROM `stock` WHERE `id` <> 57187971 AND `partno` = 'IS43TR81024BL-125KBLI-TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%issi, integrated silicon solution inc%' ) [ RunTime:0.027841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19050919 [ RunTime:0.030565s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028447s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035877s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037186s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037462s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043194s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047972s ]
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 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041772s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'IS43TR81024BL-125KBLI-TR%' OR `brand` LIKE 'IS43TR81024BL-125KBLI-TR%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.074563s ]