我的任务-修改LARA纸

optimize
jianghaiqing 2 years ago
parent 253f226e62
commit a6480ff6b5

@ -25,5 +25,10 @@ namespace Myshipping.Application
/// 移动方向 up-向上 down-向下
/// </summary>
public string moveType { get; set; } = "down";
/// <summary>
/// 上次结束编号
/// </summary>
public Int32 NumberTo { get; set; }
}
}

@ -3490,7 +3490,7 @@ namespace Myshipping.Application
public async Task<IActionResult> DownloadClosingEDI([FromQuery] string taskPKId, [FromQuery] string orderNo, [FromQuery] bool useForwarderCode,
[FromQuery] string forwarderCode, [FromQuery] string forwarderName, [FromQuery] string fileRole, [FromQuery] string sendType)
{
if (sendType?.ToUpper() != "B")
if (sendType?.ToUpper() != "E")
throw Oops.Oh($"sendType只接收E-截单");
var taskInfo = _taskBaseInfoRepository.AsQueryable().First(t => t.PK_ID == taskPKId);
@ -3552,7 +3552,7 @@ namespace Myshipping.Application
public async Task<string> SendClosingEDI([FromQuery] string taskPKId, [FromQuery] string orderNo, [FromQuery] bool useForwarderCode,
[FromQuery] string forwarderCode, [FromQuery] string forwarderName, [FromQuery] string fileRole, [FromQuery] string sendType)
{
if (sendType?.ToUpper() != "B")
if (sendType?.ToUpper() != "E")
throw Oops.Oh($"sendType只接收E-截单");
var taskInfo = _taskBaseInfoRepository.AsQueryable().First(t => t.PK_ID == taskPKId);

Loading…
Cancel
Save