SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001391s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027629s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018265s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003876s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51131535 LIMIT 5 [ RunTime:0.001748s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51131535 ORDER BY `minOrder` ASC [ RunTime:0.028967s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51131535 ORDER BY `unit` DESC [ RunTime:0.016164s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002048s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51131535 LIMIT 2 [ RunTime:0.000982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51131535 ORDER BY `minOrder` ASC [ RunTime:0.009508s ]
select * from pdf where partno='05-04-d-0050-a-4-06-4-t-hf' and brandshort='gct' limit 1 [ RunTime:0.010136s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002919s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '05-04-d-0050-a-4-06-4-t-hf' OR `brand` LIKE 'gct%' ) ) LIMIT 1 [ RunTime:0.020764s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51074529 LIMIT 5 [ RunTime:0.005110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51074529 ORDER BY `minOrder` ASC [ RunTime:0.023295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51074529 ORDER BY `unit` DESC [ RunTime:0.017256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51074529 LIMIT 2 [ RunTime:0.026503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51074529 ORDER BY `minOrder` ASC [ RunTime:0.011430s ]
select * from pdf where partno='05-04-d-0050-a-4-06-4-t-hf' and brandshort='gct' limit 1 [ RunTime:0.013148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '05-04-d-0050-a-4-06-4-t-hf' OR `brand` LIKE 'gct%' ) ) LIMIT 1 [ RunTime:0.003966s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56119983 LIMIT 5 [ RunTime:0.003451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56119983 ORDER BY `minOrder` ASC [ RunTime:0.001191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56119983 ORDER BY `unit` DESC [ RunTime:0.003110s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56119983 LIMIT 2 [ RunTime:0.009925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56119983 ORDER BY `minOrder` ASC [ RunTime:0.007438s ]
select * from pdf where partno='05-04-D-0050-A-4-06-4-T-HF' and brandshort='GCT' limit 1 [ RunTime:0.001438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '05-04-D-0050-A-4-06-4-T-HF' OR `brand` LIKE 'GCT%' ) ) LIMIT 1 [ RunTime:0.000689s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001066s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015508s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013360s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018103s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001384s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013885s ]
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-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006181s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '05-04-d-0050-a-4-06-4-t-hf%' OR `brand` LIKE '05-04-d-0050-a-4-06-4-t-hf%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015075s ]