yanko 11 months ago
parent
commit
affababa4f
6 changed files with 45 additions and 1 deletions
  1. +25
    -0
      backend/BPA.MES.Base.Application/BPA.MES.Base.Application.xml
  2. +4
    -0
      backend/BPA.MES.Base.Application/Entitys/App/WorkInfoMaterialsRecordEntity.cs
  3. +5
    -0
      backend/BPA.MES.Base.Application/Entitys/Base/RecipeMaterialEntity.cs
  4. +4
    -0
      backend/BPA.MES.Base.Application/Services/RecipesService/Dtos/RecipeMaterialDto.cs
  5. +4
    -0
      backend/BPA.MES.Base.Application/Services/WorkInfoService/Dtos/WorkInfoMaterialsRecordDto.cs
  6. +3
    -1
      backend/BPA.MES.Base.Application/Services/WorkInfoService/Services/WorkInfoService.cs

+ 25
- 0
backend/BPA.MES.Base.Application/BPA.MES.Base.Application.xml View File

@@ -719,6 +719,11 @@
更新时间
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Entitys.WorkInfoMaterialsRecordEntity.ErrorWeight">
<summary>
误差
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Entitys.DeviceProductEntity">
<summary>
名 称 :设备产品
@@ -1010,6 +1015,11 @@
描述
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Entitys.RecipeMaterialEntity.ErrorWeight">
<summary>
误差
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Entitys.RecipesGroupEntity">
<summary>
名 称 :配方分组
@@ -2520,6 +2530,11 @@
计划重量
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Services.BucketMaterialsRecordOutput.PotNum">
<summary>
第几锅
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Services.BucketInfoService">
<summary>
名 称 :桶服务
@@ -6712,6 +6727,11 @@
描述
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Services.RecipeMaterialDto.ErrorWeight">
<summary>
误差
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Services.RecipeMaterialAddInput">
<summary>
增加
@@ -7711,6 +7731,11 @@
更新时间
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Services.WorkInfoMaterialsRecordDto.ErrorWeight">
<summary>
误差重量
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Services.WorkInfoMaterialsRecordAddInput">
<summary>
增加


+ 4
- 0
backend/BPA.MES.Base.Application/Entitys/App/WorkInfoMaterialsRecordEntity.cs View File

@@ -50,5 +50,9 @@
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 误差
/// </summary>
public string ErrorWeight { get; set; }
}
}

+ 5
- 0
backend/BPA.MES.Base.Application/Entitys/Base/RecipeMaterialEntity.cs View File

@@ -27,5 +27,10 @@
/// </summary>
[SugarColumn(IsNullable = true)]
public string Describe { get; set; }
/// <summary>
/// 误差
/// </summary>
[SugarColumn(IsNullable = true)]
public string ErrorWeight { get; set; }
}
}

+ 4
- 0
backend/BPA.MES.Base.Application/Services/RecipesService/Dtos/RecipeMaterialDto.cs View File

@@ -24,6 +24,10 @@
/// 描述
/// </summary>
public string Describe { get; set; }
/// <summary>
/// 误差
/// </summary>
public string ErrorWeight { get; set; }
}
/// <summary>
/// 增加


+ 4
- 0
backend/BPA.MES.Base.Application/Services/WorkInfoService/Dtos/WorkInfoMaterialsRecordDto.cs View File

@@ -44,6 +44,10 @@
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 误差重量
/// </summary>
public string ErrorWeight { get; set; }
}
/// <summary>
/// 增加


+ 3
- 1
backend/BPA.MES.Base.Application/Services/WorkInfoService/Services/WorkInfoService.cs View File

@@ -254,7 +254,8 @@ namespace BPA.MES.Base.Application.Services.WorkInfoService.Services
WorkId = input.WorkId,
Weight = a.Weight,
RecipeId = a.RecipesId,
RecipeName = c.Name
RecipeName = c.Name,
ErrorWeight = a.ErrorWeight,
})
.ToListAsync();

@@ -293,6 +294,7 @@ namespace BPA.MES.Base.Application.Services.WorkInfoService.Services
Weight = item.Weight,
RecipeId = item.RecipeId,
RecipeName = item.RecipeName,
ErrorWeight = item.ErrorWeight
};
newmateriallist.Add(itementity);
}


Loading…
Cancel
Save