修改提单管理

dev
jianghaiqing 3 weeks ago
parent 64705c1633
commit 296a8c676d

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

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

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

Loading…
Cancel
Save