|
|
@ -27,6 +27,7 @@ using Npoi.Mapper;
|
|
|
|
using NPOI.HPSF;
|
|
|
|
using NPOI.HPSF;
|
|
|
|
using NPOI.HSSF.UserModel;
|
|
|
|
using NPOI.HSSF.UserModel;
|
|
|
|
using NPOI.OpenXmlFormats;
|
|
|
|
using NPOI.OpenXmlFormats;
|
|
|
|
|
|
|
|
using NPOI.OpenXmlFormats.Wordprocessing;
|
|
|
|
using NPOI.POIFS.Crypt.Dsig;
|
|
|
|
using NPOI.POIFS.Crypt.Dsig;
|
|
|
|
using NPOI.SS.Formula.Eval;
|
|
|
|
using NPOI.SS.Formula.Eval;
|
|
|
|
using NPOI.SS.Formula.Functions;
|
|
|
|
using NPOI.SS.Formula.Functions;
|
|
|
@ -1876,6 +1877,9 @@ namespace Myshipping.Application
|
|
|
|
//{
|
|
|
|
//{
|
|
|
|
// Oops.Oh(sendResult.Value);
|
|
|
|
// Oops.Oh(sendResult.Value);
|
|
|
|
//}
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.succ = true;
|
|
|
|
|
|
|
|
result.msg = "操作成功";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception ex)
|
|
|
|
catch (Exception ex)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1933,6 +1937,9 @@ namespace Myshipping.Application
|
|
|
|
//{
|
|
|
|
//{
|
|
|
|
// Oops.Oh(sendResult.Value);
|
|
|
|
// Oops.Oh(sendResult.Value);
|
|
|
|
//}
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.succ = true;
|
|
|
|
|
|
|
|
result.msg = "操作成功";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception ex)
|
|
|
|
catch (Exception ex)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -3313,6 +3320,9 @@ namespace Myshipping.Application
|
|
|
|
model.Voyno = rtl.voyno.ToString();
|
|
|
|
model.Voyno = rtl.voyno.ToString();
|
|
|
|
model.ShipAgency = rtl.shipagency == null? rtl.shipagency.ToString():"";
|
|
|
|
model.ShipAgency = rtl.shipagency == null? rtl.shipagency.ToString():"";
|
|
|
|
model.MailUrl = rtl.mail_url.ToString();
|
|
|
|
model.MailUrl = rtl.mail_url.ToString();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.OriginalVessel = bookingOrder.VESSEL;
|
|
|
|
|
|
|
|
model.OriginalVoyno = bookingOrder.VOYNO;
|
|
|
|
|
|
|
|
|
|
|
|
//获得未处理的任务数量
|
|
|
|
//获得未处理的任务数量
|
|
|
|
model.TotalTask = await _taskBaseInfoRepository.AsQueryable().Where(t => t.CreatedTime < taskInfo.CreatedTime && t.STATUS == TaskStatusEnum.Create.ToString()
|
|
|
|
model.TotalTask = await _taskBaseInfoRepository.AsQueryable().Where(t => t.CreatedTime < taskInfo.CreatedTime && t.STATUS == TaskStatusEnum.Create.ToString()
|
|
|
@ -3377,6 +3387,9 @@ namespace Myshipping.Application
|
|
|
|
model.ShipAgency = rtl.shipagency == null ? rtl.shipagency.ToString() : "";
|
|
|
|
model.ShipAgency = rtl.shipagency == null ? rtl.shipagency.ToString() : "";
|
|
|
|
model.MailUrl = rtl.mail_url.ToString();
|
|
|
|
model.MailUrl = rtl.mail_url.ToString();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.OriginalVessel = bookingOrder.VESSEL;
|
|
|
|
|
|
|
|
model.OriginalVoyno = bookingOrder.VOYNO;
|
|
|
|
|
|
|
|
|
|
|
|
//获得未处理的任务数量
|
|
|
|
//获得未处理的任务数量
|
|
|
|
model.TotalTask = await _taskBaseInfoRepository.AsQueryable().Where(t => t.CreatedTime < taskInfo.CreatedTime && t.STATUS == TaskStatusEnum.Create.ToString()
|
|
|
|
model.TotalTask = await _taskBaseInfoRepository.AsQueryable().Where(t => t.CreatedTime < taskInfo.CreatedTime && t.STATUS == TaskStatusEnum.Create.ToString()
|
|
|
|
&& (t.TASK_TYPE == TaskBusiTypeEnum.CHANGE_SHIP.ToString() || t.TASK_TYPE == TaskBusiTypeEnum.ABORT_CHANGE_SHIP.ToString())).CountAsync();
|
|
|
|
&& (t.TASK_TYPE == TaskBusiTypeEnum.CHANGE_SHIP.ToString() || t.TASK_TYPE == TaskBusiTypeEnum.ABORT_CHANGE_SHIP.ToString())).CountAsync();
|
|
|
|