You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Furion.FriendlyException;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application.Enum
|
|
|
|
|
{
|
|
|
|
|
[ErrorCodeType]
|
|
|
|
|
public enum BookingErrorCode
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
#region 订舱
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱数据不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("订舱数据不存在")]
|
|
|
|
|
BOOK001,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已存在同类型且名称相同的收发通模板
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("已存在同类型且名称相同的收发通模板")]
|
|
|
|
|
BOOK101,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收发通模板不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("收发通模板不存在")]
|
|
|
|
|
BOOK111,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打印模板不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("打印模板不存在")]
|
|
|
|
|
BOOK112,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 未上传模板文件
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("未上传模板文件")]
|
|
|
|
|
BOOK113,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 不允许的文件类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("不允许的文件类型")]
|
|
|
|
|
BOOK114,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板文件不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("模板文件不存在")]
|
|
|
|
|
BOOK115,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 放舱信息不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("放舱信息不存在")]
|
|
|
|
|
BOOK116,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 不支持的船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("不支持的船公司")]
|
|
|
|
|
BOOK117,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司未正确填写
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("船公司未正确填写")]
|
|
|
|
|
BOOK118,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 亿通账号未正确配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("亿通账号未正确配置")]
|
|
|
|
|
BOOK119,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站EDI配置未找到
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("场站EDI配置未找到:{0}")]
|
|
|
|
|
BOOK120,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所有箱型箱量必须录入完整
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("所有箱型箱量必须录入完整")]
|
|
|
|
|
BOOK121,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型EDI配置未找到
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("箱型EDI配置未找到")]
|
|
|
|
|
BOOK122,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型EDI配置未找到
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("箱型EDI配置未找到:{0}")]
|
|
|
|
|
BOOK123,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提箱小票链接生成失败
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("提箱小票链接生成失败:{0}")]
|
|
|
|
|
BOOK124,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司网站账号未配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("船公司网站账号未配置")]
|
|
|
|
|
BOOK125,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// vgm链接生成失败
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("vgm链接生成失败:{0}")]
|
|
|
|
|
BOOK126,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主提单号不能为空
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("主提单号不能为空")]
|
|
|
|
|
BOOK127,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// vgm发送失败
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("vgm发送失败:{0}")]
|
|
|
|
|
BOOK128,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 附件不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ErrorCodeItemMetadata("附件不存在")]
|
|
|
|
|
BOOK200,
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|