bug
This commit is contained in:
@@ -63,7 +63,7 @@ public partial class PrdOutstockH : BaseEntity<string>
|
||||
/// <summary>
|
||||
/// 发料工位
|
||||
/// </summary>
|
||||
public string? workstation { get; set; }
|
||||
public string? workstation_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属产线
|
||||
|
||||
@@ -544,7 +544,7 @@ namespace Tnb.ProductionMgr
|
||||
|
||||
var queryable2 = db.Queryable<PrdOutstockH>()
|
||||
.LeftJoin<UserEntity>((a, b) => a.create_id == b.Id)
|
||||
.Where((a,b)=>a.workstation==input.stationId)
|
||||
.Where((a,b)=>a.workstation_id==input.stationId)
|
||||
.Select((a, b) => new FeedingRecordListOutput()
|
||||
{
|
||||
id = a.id,
|
||||
|
||||
@@ -206,7 +206,7 @@ namespace Tnb.ProductionMgr
|
||||
org_id = _userManager.GetUserInfo().Result.organizeId,
|
||||
bill_date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
create_time = DateTime.Now,
|
||||
workstation = generalOutstockInput.workstation_id,
|
||||
workstation_id = generalOutstockInput.workstation_id,
|
||||
workline = workline?.Id ?? ""
|
||||
};
|
||||
|
||||
@@ -325,7 +325,7 @@ namespace Tnb.ProductionMgr
|
||||
prdOutstockH.org_id = _userManager.GetUserInfo().Result.organizeId;
|
||||
prdOutstockH.bill_date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
prdOutstockH.create_time = DateTime.Now;
|
||||
prdOutstockH.workstation = materialOutstockInput.workstation_id;
|
||||
prdOutstockH.workstation_id = materialOutstockInput.workstation_id;
|
||||
prdOutstockH.workline = workline?.Id ?? "";
|
||||
|
||||
List<PrdOutstockD> prdOutstockDs = new List<PrdOutstockD>();
|
||||
|
||||
Reference in New Issue
Block a user