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

master
zhangxiaofeng 6 months ago
parent 4d9994ce96
commit 291c7706b8

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

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

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

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

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

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

@ -457,7 +457,12 @@ namespace Myshipping.Core.Service
updateable.SetColumns(x => x.DOC == input.DOC); updateable.SetColumns(x => x.DOC == input.DOC);
updateable.SetColumns(x => x.DOCID == input.DOCID); 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(); await updateable.Where(x => input.CustomnerIdList.Contains(x.Id)).ExecuteCommandAsync();
} }

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

Loading…
Cancel
Save