Browse Source

整改

master
Yanko 3 months ago
parent
commit
dc7385c5ac
5 changed files with 22 additions and 3 deletions
  1. +11
    -1
      backend/BPA.MES.Base.Application/BPA.MES.Base.Application.xml
  2. +4
    -0
      backend/BPA.MES.Base.Application/Entitys/Base/ProductLineEntity.cs
  3. +2
    -1
      backend/BPA.MES.Base.Application/Services/FinalsInfoService/Services/FinalsInfoService.cs
  4. +4
    -0
      backend/BPA.MES.Base.Application/Services/ProductLineService/Dtos/ProductLineDto.cs
  5. +1
    -1
      backend/BPA.MES.Base.Application/Services/ProductLineService/Services/ProductLineService.cs

+ 11
- 1
backend/BPA.MES.Base.Application/BPA.MES.Base.Application.xml View File

@@ -1193,6 +1193,11 @@
产线描述
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Entitys.ProductLineEntity.CreateTime">
<summary>
创建时间
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Entitys.ProductLineStepsEntity">
<summary>
产线工序
@@ -5515,7 +5520,7 @@
</member>
<member name="M:BPA.MES.Base.Application.Services.FinalsInfoService.CancelConfigStatus(BPA.MES.Base.Application.Services.SaveFinalConfigStatusInput)">
<summary>
保存产线配置
取消产线配置
</summary>
<param name="input"></param>
<returns></returns>
@@ -7534,6 +7539,11 @@
产线描述
</summary>
</member>
<member name="P:BPA.MES.Base.Application.Services.ProductLineDto.CreateTime">
<summary>
创建时间
</summary>
</member>
<member name="T:BPA.MES.Base.Application.Services.ProductLineAddInput">
<summary>
增加


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

@@ -21,5 +21,9 @@
/// 产线描述
/// </summary>
public string Describe { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
}
}

+ 2
- 1
backend/BPA.MES.Base.Application/Services/FinalsInfoService/Services/FinalsInfoService.cs View File

@@ -160,6 +160,7 @@ namespace BPA.MES.Base.Application.Services
FinalLineEntity finalLine = new();
finalLine.FinalId=input.FinalId;
finalLine.LineId = item;
finalLine.Status = "0";
entitys.Add(finalLine);
}
try
@@ -189,7 +190,7 @@ namespace BPA.MES.Base.Application.Services
return result;
}
/// <summary>
/// 保存产线配置
/// 取消产线配置
/// </summary>
/// <param name="input"></param>
/// <returns></returns>


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

@@ -20,6 +20,10 @@
/// 产线描述
/// </summary>
public string Describe { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
}
/// <summary>
/// 增加


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

@@ -80,7 +80,7 @@ namespace BPA.MES.Base.Application.Services
{
var entity = await _dbContext.Queryable<ProductLineEntity>()
.WhereIF(!string.IsNullOrEmpty(input.Name), x => x.Name.Contains(input.Name))
.WhereIF(!string.IsNullOrEmpty(input.Code), x => x.Name.Contains(input.Code))
.WhereIF(!string.IsNullOrEmpty(input.Code), x => x.Code.Contains(input.Code))
.ToPagedListAsync(input.PageIndex, input.PageSize);
SqlSugarPagedList<ProductLineOutput> output = entity.Adapt<SqlSugarPagedList<ProductLineOutput>>();
return output;


Loading…
Cancel
Save