SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002568s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.122396s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.030496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14331331 LIMIT 5 [ RunTime:0.094511s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14331331 ORDER BY `minOrder` ASC [ RunTime:0.125388s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14331331 ORDER BY `unit` DESC [ RunTime:0.025004s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14331331 LIMIT 2 [ RunTime:0.038573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14331331 ORDER BY `minOrder` ASC [ RunTime:0.020956s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055525s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.056520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 40462184 LIMIT 5 [ RunTime:0.042277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40462184 ORDER BY `minOrder` ASC [ RunTime:0.029072s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 40462184 ORDER BY `unit` DESC [ RunTime:0.032581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 40462184 LIMIT 2 [ RunTime:0.036596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 40462184 ORDER BY `minOrder` ASC [ RunTime:0.003950s ]
select * from pdf where partno='IHDM1107BBEV2R7M30' and brandshort='Vishay Dale' limit 1 [ RunTime:0.027165s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IHDM1107BBEV2R7M30' OR `brand` LIKE 'Vishay Dale%' ) ) LIMIT 1 [ RunTime:0.017607s ]
SELECT `id` FROM `stock` WHERE `id` <> 40462184 AND `partno` = 'IHDM1107BBEV2R7M30' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay dale%' ) [ RunTime:0.011427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14331331 [ RunTime:0.018005s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036092s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019443s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024401s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017043s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004625s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014105s ]
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 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012692s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'IHDM1107BBEV2R7M30%' OR `brand` LIKE 'IHDM1107BBEV2R7M30%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002237s ]