订舱、舱位、委托单位维护添加字段“商务”

master
zhangxiaofeng 6 months ago
parent 4d9994ce96
commit 291c7706b8

@ -793,6 +793,17 @@ namespace Myshipping.Application.Entity
[Description("航线操作")]
public string ROUTE { get; set; }
/// <summary>
/// 商务id
/// </summary>
[Description("商务ID")]
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
[Description("商务")]
public string BUSINESS { get; set; }
/// <summary>
/// 仓库

@ -300,6 +300,16 @@ namespace Myshipping.Application
/// </summary>
//[Description("单证")]
public string DOC { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
/// <summary>
/// 销售日期
/// </summary>

@ -247,6 +247,8 @@ namespace Myshipping.Application
x.OPID,
x.DOC,
x.DOCID,
x.BUSINESSID,
x.BUSINESS,
x.SHIPPER,
x.SALE_TIME,
x.GOODSNAME,
@ -271,6 +273,8 @@ namespace Myshipping.Application
bookingOrder.OPID = allocation.OPID;
bookingOrder.DOC = allocation.DOC;
bookingOrder.DOCID = allocation.DOCID;
bookingOrder.BUSINESS = allocation.BUSINESS;
bookingOrder.BUSINESSID = allocation.BUSINESSID;
await _repBookingOrder.AsUpdateable(bookingOrder).UpdateColumns(x => new
{
@ -533,6 +537,8 @@ namespace Myshipping.Application
OP = x.OP,
DOCID = x.DOCID,
DOC = x.DOC,
BUSINESS = x.BUSINESS,
BUSINESSID = x.BUSINESSID,
SALE = x.SALE,
SALE_TIME = x.SALE_TIME,
SHIPPER = x.SHIPPER,
@ -1714,6 +1720,8 @@ namespace Myshipping.Application
newSlotAllocation.DOC = generateModel.DocName;
newSlotAllocation.OPID = generateModel.OpId?.ToString();
newSlotAllocation.OP = generateModel.OpName;
newSlotAllocation.BUSINESS = generateModel.BUSINESS;
newSlotAllocation.BUSINESSID = generateModel.BUSINESSID;
newSlotAllocation.SALE_TIME = generateModel.SALE_TIME;
newSlotAllocation.SHIPPER = generateModel.SHIPPER;
newSlotAllocation.GOODSNAME = generateModel.GOODSNAME;
@ -1926,6 +1934,8 @@ namespace Myshipping.Application
OP = x.OP,
DOCID = x.DOCID,
DOC = x.DOC,
BUSINESS = x.BUSINESS,
BUSINESSID = x.BUSINESSID,
SALE_TIME = x.SALE_TIME,
SHIPPER = x.SHIPPER,
GOODSNAME = x.GOODSNAME,
@ -2673,6 +2683,8 @@ namespace Myshipping.Application
OP = x.OP,
DOCID = x.DOCID,
DOC = x.DOC,
BUSINESS = x.BUSINESS,
BUSINESSID = x.BUSINESSID,
SALE_TIME = x.SALE_TIME,
SHIPPER = x.SHIPPER,
GOODSNAME = x.GOODSNAME,

@ -54,6 +54,16 @@ namespace Myshipping.Application
/// </summary>
public string DocName { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
/// <summary>
/// 航线操作ID
/// </summary>

@ -633,6 +633,17 @@ namespace Myshipping.Application.Service.BookingSlot.Dto
/// 单证
/// </summary>
public string DOC { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
/// <summary>
/// 销售日期
/// </summary>

@ -132,6 +132,16 @@ namespace Myshipping.Core.Entity
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
/// <summary>
/// 提单信息
/// </summary>

@ -457,7 +457,12 @@ namespace Myshipping.Core.Service
updateable.SetColumns(x => x.DOC == input.DOC);
updateable.SetColumns(x => x.DOCID == input.DOCID);
}
if (input.IsSetCUSTSERVICE || input.IsSetSALE || input.IsSetOP || input.IsSetDOC)
if (input.IsSetBUSINESS)
{
updateable.SetColumns(x => x.BUSINESS == input.BUSINESS);
updateable.SetColumns(x => x.BUSINESSID == input.BUSINESSID);
}
if (input.IsSetCUSTSERVICE || input.IsSetSALE || input.IsSetOP || input.IsSetDOC || input.IsSetBUSINESS)
{
await updateable.Where(x => input.CustomnerIdList.Contains(x.Id)).ExecuteCommandAsync();
}

@ -159,6 +159,17 @@ namespace Myshipping.Core.Service
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
/// <summary>
/// 提单信息
/// </summary>
@ -358,6 +369,7 @@ namespace Myshipping.Core.Service
public bool IsSetDOC { get; set; }
public bool IsSetSALE { get; set; }
public bool IsSetCUSTSERVICE { get; set; }
public bool IsSetBUSINESS { get; set; }
/// <summary>
/// 操作id
/// </summary>
@ -390,5 +402,15 @@ namespace Myshipping.Core.Service
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 商务id
/// </summary>
public string BUSINESSID { get; set; }
/// <summary>
/// 商务
/// </summary>
public string BUSINESS { get; set; }
}
}

Loading…
Cancel
Save