SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001758s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019651s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019252s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51131546 LIMIT 5 [ RunTime:0.037644s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.018601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51131546 ORDER BY `minOrder` ASC [ RunTime:0.047427s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.019445s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51131546 ORDER BY `unit` DESC [ RunTime:0.029553s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51131546 LIMIT 2 [ RunTime:0.024641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51131546 ORDER BY `minOrder` ASC [ RunTime:0.045813s ]
select * from pdf where partno='05-04-d-0101-a-4-06-4-t-hf' and brandshort='gct' limit 1 [ RunTime:0.019297s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '05-04-d-0101-a-4-06-4-t-hf' OR `brand` LIKE 'gct%' ) ) LIMIT 1 [ RunTime:0.029141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51074660 LIMIT 5 [ RunTime:0.008001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51074660 ORDER BY `minOrder` ASC [ RunTime:0.035647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51074660 ORDER BY `unit` DESC [ RunTime:0.015786s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51074660 LIMIT 2 [ RunTime:0.027206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51074660 ORDER BY `minOrder` ASC [ RunTime:0.027712s ]
select * from pdf where partno='05-04-d-0101-a-4-06-4-t-hf' and brandshort='gct' limit 1 [ RunTime:0.031594s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '05-04-d-0101-a-4-06-4-t-hf' OR `brand` LIKE 'gct%' ) ) LIMIT 1 [ RunTime:0.015041s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.052948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56120118 LIMIT 5 [ RunTime:0.015710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56120118 ORDER BY `minOrder` ASC [ RunTime:0.018130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56120118 ORDER BY `unit` DESC [ RunTime:0.024533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56120118 LIMIT 2 [ RunTime:0.028023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56120118 ORDER BY `minOrder` ASC [ RunTime:0.016905s ]
select * from pdf where partno='05-04-D-0101-A-4-06-4-T-HF' and brandshort='GCT' limit 1 [ RunTime:0.019412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '05-04-D-0101-A-4-06-4-T-HF' OR `brand` LIKE 'GCT%' ) ) LIMIT 1 [ RunTime:0.027308s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065890s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048167s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.120886s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067032s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032169s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.114271s ]
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 '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028303s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '05-04-d-0101-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0101-a-4-06-4-t-hf%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009460s ]