修改提单管理

dev
jianghaiqing 3 weeks ago
parent 64705c1633
commit 296a8c676d

@ -63,6 +63,11 @@ namespace DS.WMS.Core.Op.Dtos
/// </summary> /// </summary>
public Nullable<DateTime> StlDate { get; set; } public Nullable<DateTime> StlDate { get; set; }
/// <summary>
/// 结算方式
/// </summary>
public string StlName { get; set; }
/// <summary> /// <summary>
/// 提单签发状态代码 /// 提单签发状态代码
/// </summary> /// </summary>

@ -57,6 +57,12 @@ namespace DS.WMS.Core.Op.Entity
[SqlSugar.SugarColumn(ColumnDescription = "结算日期", IsNullable = true)] [SqlSugar.SugarColumn(ColumnDescription = "结算日期", IsNullable = true)]
public Nullable<DateTime> StlDate { get; set; } public Nullable<DateTime> StlDate { get; set; }
/// <summary>
/// 结算方式
/// </summary>
[SugarColumn(ColumnDescription = "结算方式", IsNullable = true, Length = 30)]
public string StlName { get; set; }
/// <summary> /// <summary>
/// 提单签发状态代码 /// 提单签发状态代码
/// </summary> /// </summary>

@ -151,7 +151,8 @@ namespace DS.WMS.Core.Op.Method
Vessel = a.Vessel, Vessel = a.Vessel,
Voyno = a.Voyno, Voyno = a.Voyno,
IssuePlaceCode = a.IssuePlaceCode, IssuePlaceCode = a.IssuePlaceCode,
StlDate = a.StlDate StlDate = a.StlDate,
StlName = a.StlName,
}); });
var q2 = q1.InnerJoin<SeaExportBillManage>((l, r) => l.Id == r.BusinessId) var q2 = q1.InnerJoin<SeaExportBillManage>((l, r) => l.Id == r.BusinessId)
@ -185,7 +186,8 @@ namespace DS.WMS.Core.Op.Method
Vessel = r.Vessel, Vessel = r.Vessel,
Voyno = r.Voyno, Voyno = r.Voyno,
IssuePlaceCode = "", IssuePlaceCode = "",
StlDate = null, StlDate = l.StlDate,
StlName = l.StlName,
}); });
var queryBase = tenantDb.UnionAll(q1, q2); var queryBase = tenantDb.UnionAll(q1, q2);
@ -306,6 +308,8 @@ namespace DS.WMS.Core.Op.Method
currBl.DocName = data.order.DocName; currBl.DocName = data.order.DocName;
currBl.MasterHBill = data.order.BillType; currBl.MasterHBill = data.order.BillType;
currBl.MasterHBillName = data.order.BillType == "M" ? "主单" : "分单"; currBl.MasterHBillName = data.order.BillType == "M" ? "主单" : "分单";
currBl.StlDate = data.order.StlDate;
currBl.StlName = data.order.StlName;
resultList.Add(currBl); resultList.Add(currBl);
@ -338,6 +342,7 @@ namespace DS.WMS.Core.Op.Method
BLType = BLTypeEnum.BL.ToString(), BLType = BLTypeEnum.BL.ToString(),
BLTypeName = BLTypeEnum.BL.GetDescription(), BLTypeName = BLTypeEnum.BL.GetDescription(),
StlDate = data.order.StlDate, StlDate = data.order.StlDate,
StlName = data.order.StlName,
Doc = data.order.Doc, Doc = data.order.Doc,
DocName = data.order.DocName, DocName = data.order.DocName,
MasterHBill = data.order.BillType, MasterHBill = data.order.BillType,
@ -1928,5 +1933,10 @@ namespace DS.WMS.Core.Op.Method
/// Desc:月结算时间 /// Desc:月结算时间
/// </summary> /// </summary>
public DateTime? StlDate { get; set; } public DateTime? StlDate { get; set; }
/// <summary>
/// 结算方式
/// </summary>
public string StlName { get; set; }
} }
} }

Loading…
Cancel
Save