修正singR
This commit is contained in:
@@ -35,7 +35,7 @@ namespace ZR.Service.MES.op
|
||||
opStatisticsDTO.PlanNum = OpStatistics.PlanNum;
|
||||
opStatisticsDTO.ProductedNum = OpStatistics.ProductedNum;
|
||||
decimal num1 = (decimal) OpStatistics.ProductedNum / (decimal)OpStatistics.PlanNum*100;
|
||||
opStatisticsDTO.ProductProgressRate = num1.ToString("0.00") ;
|
||||
opStatisticsDTO.ProductProgressRate = (int)num1 ;
|
||||
opStatisticsDTO.GoodproductsNum = OpStatistics.GoodproductsNum;
|
||||
opStatisticsDTO.DefectiveProductsNum = OpStatistics.DefectiveProductsNum;
|
||||
decimal num2 = (decimal)OpStatistics.DefectiveProductsNum / (decimal)(OpStatistics.GoodproductsNum + OpStatistics.DefectiveProductsNum);
|
||||
|
||||
Reference in New Issue
Block a user