public class ErrorCode
{
///
/// 意外的获取到多条记录(条件不精确)
///
public const int ERR_DB_UNEXPECTED_MULTI_RECORDS = -16;
///
/// 构建统计记录数SQL语句失败
///
public const int ERR_DB_GETTOTALSQLFAILED = -15;
///
/// sql非法
///
public const int ERR_MIDB_SQLILLEGAL = -13;
///
/// 请求数据库连接失败
///
public const int ERR_DB_CONNECTDBFAILED = -12;
///
/// 响应消息打包失败
///
public const int ERR_DB_BUILDRSPFAILED = -11;
///
/// 获取单条纪录失败
///
public const int ERR_DB_GETRECORDFAILED = -10;
///
/// 获取多条纪录失败
///
public const int ERR_DB_GETRECORDSFAILED = -9;
///
/// 分页处理失败
///
public const int ERR_DB_PROCPAGEFAILED = -8;
///
/// 构建sql语句失败
///
public const int ERR_DB_BUILDSQLFAILED = -7;
///
/// 执行SQL失败
///
public const int ERR_DB_EXECSQLFAILED = -6;
///
/// 请求消息业务检验失败
///
public const int ERR_DB_CHECKMSGFAILED = -5;
///
/// 请求消息proto协议检查失败(调函数check_proto失败)
///
public const int ERR_DB_CHECKPROTOFAILED = -4;
///
/// 请求消息解析失败(调函数ParseFromArray失败)
///
public const int ERR_DB_PARSEMSGFAILED = -3;
///
/// 未知错误
///
public const int ERR_UNKNOW = -2;
///
/// 正确处理
///
public const int ERR_OK = 0;
///
/// 数据类型错误,表示proto buffer数据解析失败
///
public const int ERR_DATAERROR = 1;
///
/// 无效的证件类型
///
public const int ERR_INVALIDCARDTYPE = 2;
///
/// 无效的性别
///
public const int ERR_INVALIDSEX = 3;
///
/// 无效的会员类型
///
public const int ERR_INVALIDMEMBERTYPE = 4;
///
/// 错误的订单类型
///
public const int ERR_INVALID_ORDER_TYPE = 5;
///
/// 持仓汇总不足
///
public const int ERR_NOT_ENOUGH_POSITIONS = 6;
///
/// 错误的买卖方向
///
public const int ERR_INVALID_BUYORSELL = 7;
///
/// 行情服务异常
///
public const int ERR_QUOTESERVER_EXCEPTION = 8;
///
/// 实时价格超出委托价格和允许成交偏移范围
///
public const int ERR_OFFSET_OUT_SCOPE = 9;
///
/// 错误的偏移点差
///
public const int ERR_INVALID_PRICE_OFFSET = 10;
///
/// 错误的委托状态
///
public const int ERR_ORDERSTATUS = 11;
///
/// 当前时间不支持撤单
///
public const int ERR_CANCELNOTSUPPORTED = 12;
///
/// 委托未成交
///
public const int ERR_ORDERNOTDEAL = 13;
///
/// 撤单失败
///
public const int ERR_CANCEL_FAILED = 14;
///
/// 订单ID已存在
///
public const int ERR_ORDERREQUEST_ORDERIDEXISTS = 15;
///
/// 加载xml文件失败
///
public const int ERR_CONFIG_LOADXMLFAIL = 16;
///
/// 参数不存在
///
public const int ERR_CONFIG_NOSQLPARAM = 17;
///
/// SqlStatement 不存在
///
public const int ERR_CONFIG_NOSQLSTATEMENT = 18;
///
/// 参数为空
///
public const int ERR_CONFIG_PARAMISNULL = 19;
///
/// 配置值非法
///
public const int ERR_CONFIG_ITEMVALUEILLEGAL = 20;
///
/// 数据库连接异常
///
public const int ERR_MIDB_CONNECTEXCEPTION = 21;
///
/// 数据库DataSet操作异常
///
public const int ERR_MIDB_DATASETEXCEPTION = 22;
///
/// 数据库绑定参数异常
///
public const int ERR_MIDB_BINDPARAMEXCEPTION = 23;
///
/// 数据库执行操作异常
///
public const int ERR_MIDB_EXECUTEEXCEPTION = 24;
///
/// 数据库提交事务失败
///
public const int ERR_MIDB_COMMITEXCEPTION = 25;
///
/// 数据库回滚事务失败
///
public const int ERR_MIDB_ROLLBACKEXCEPTION = 26;
///
/// 不支持的数据库类型
///
public const int ERR_MIDB_UNSUPPORTDBTYPE = 27;
///
/// 数据库设置隔离等级异常
///
public const int ERR_MIDB_ISOLATIONLEVELEXCEPTION = 28;
///
/// 数据库设置自动提交异常
///
public const int ERR_MIDB_AUTOCOMMITEXCEPTION = 29;
///
/// 断开连接异常
///
public const int ERR_MIDB_DISCONNECTEXCEPTION = 30;
///
/// 结果集体字段序号越界
///
public const int ERR_MIDB_FIELDINDEXBEYOND = 31;
///
/// 错误的数据库类型
///
public const int ERR_MIDB_ERRORDBTYPE = 32;
///
/// 数据源配置错误
///
public const int ERR_MIDB_DBSOURCEERROR = 33;
///
/// SqlStatement非法
///
public const int ERR_MIDB_SQLSTATEMENTNULL = 34;
///
/// 获取基本sql语句错误
///
public const int ERR_MIDB_GETBASESQLERROR = 35;
///
/// SqlStatement没有找到
///
public const int ERR_MIDB_SQLSTATEMENTNOTFOUND = 36;
///
/// 分页参数非法
///
public const int ERR_MIDB_ROWBOUNDSILLEGAL = 37;
///
/// 不支持的数据类型
///
public const int ERR_MIDB_UNSUPPORTDBDATATYPE = 38;
///
/// 取数据库记录失败
///
public const int ERR_MIDB_FETCHRECORDFAIL = 39;
///
/// 空指针异常
///
public const int ERR_MIDB_NULLEXCEPTION = 40;
///
/// 达到最大连接数量
///
public const int ERR_MIDB_MAXCONNETION = 41;
///
/// 不受管理的连接
///
public const int ERR_MIDB_UNMANAGEREDCONNETION = 42;
///
/// 字段类型非法
///
public const int ERR_MIDB_FIELDTYPEILLEGAL = 43;
///
/// 不支持批量执行
///
public const int ERR_MIDB_NOTSUPPORTBATCH = 44;
///
/// 创建statement失败
///
public const int ERR_MIDB_CREATESTATEMENTFAIL = 45;
///
/// 参数类型不一至(批量处理绑定参数时)
///
public const int ERR_MIDB_PARAMTYPENOTEQUAL = 46;
///
/// 超过最大的批量执行记录数
///
public const int ERR_MIDB_OVERMAXBATCHRECORD = 47;
///
/// 内存数据序列化到Protobuf失败(调函数SerializeToArray失败)
///
public const int ERR_PROTOBUF_SERIALIZETOARRAY = 48;
///
/// 收到不希望收到的FUNCTIONCODE
///
public const int ERR_UNEXCEPTED_FUNCTIONCODE_RECEIVED = 49;
///
/// 没有用户账号记录
///
public const int ERR_MONEY_NO_USERACCOUNT_RECORD = 50;
///
/// 没有用户信息记录
///
public const int ERR_MONEY_NO_USERINFO_RECORD = 51;
///
/// 没有登录账号信息
///
public const int ERR_MONEY_NO_LOGINACCOUNT_RECORD = 52;
///
/// 没有帐户签约记录
///
public const int ERR_MONEY_NO_ACCOUNTSIGNINFO_RECORD = 53;
///
/// 会话超时
///
public const int ERR_SESSION_TIMEOUT = 1001;
///
/// 资金密码错误
///
public const int ERR_TAPWDERROR = 1002;
///
/// 账号或密码不匹配
///
public const int ERR_PWDMISMATCHING = 1003;
///
/// 无效账号
///
public const int ERR_INVALIDACCOUNT = 1004;
///
/// 账号类型不匹配
///
public const int ERR_ACCOUNTTYPEMISATCHING = 1005;
///
/// 账号不在线
///
public const int ERR_ACCOUNTNOTONLINE = 1006;
///
/// 操作权限不够
///
public const int ERR_PERMISSIONFAILED = 1007;
///
/// 会员无账户在线
///
public const int ERR_MEMBERCODENOTONLINE = 1008;
///
/// 账户在别处登录
///
public const int ERR_ACCOUNTOTHERPLACELOGIN = 1009;
///
/// 值为空
///
public const int ERR_VALUEISNULL = 1010;
///
/// 登录账户已经存在
///
public const int ERR_LOGINCODEISEXIST = 1011;
///
/// 软件版本过低不能登陆
///
public const int ERR_VERSION_NOMATCH = 1012;
///
/// IP地址不在允许范围内
///
public const int ERR_IP_INVALID = 1013;
///
/// 短信模版为空
///
public const int ERR_SM_TEMPLATE_NULL = 1014;
///
/// 接收手机号码为空
///
public const int ERR_SM_RECVPHONE_NULL = 1015;
///
/// 模板参数不匹配
///
public const int ERR_SM_TEMPLATE_PARAM_NO_MATCH = 1016;
///
/// 短信发送失败
///
public const int ERR_SM_SEND_FAILED = 1017;
///
/// 密码被修改,请重新登录,如有异常请联系管理员
///
public const int ERR_NTF_MODIFYPWD = 1018;
///
/// 无效令牌
///
public const int ERR_INVALIDTOKEN = 1019;
///
/// 消息通知模式为空
///
public const int ERR_NTFMODE_NULL = 2001;
///
/// 消息通知帐号为空
///
public const int ERR_NTFACCOUNTS_NULL = 2002;
///
/// 委托订单类型不存在
///
public const int ERR_ORDERREQUEST_NOORDERTYPE = 3001;
///
/// 委托账户状态不对
///
public const int ERR_ORDERREQUEST_ACCOUNTNOTOK = 3002;
///
/// 账号为空
///
public const int ERR_ORDERREQUEST_ACCOUNTISEMPTY = 3003;
///
/// 二级委托单号无效
///
public const int ERR_ORDERREQUEST_SECENTRUSTIDINVALID = 3004;
///
/// 操作员为空
///
public const int ERR_ORDERREQUEST_OPERATECODEISEMPTY = 3005;
///
/// 错误的校验类型
///
public const int ERR_ORDERREQUEST_VALIDTYPEWRONG = 3006;
///
/// 有效时间为空
///
public const int ERR_ORDERREQUEST_VALIDTIMEISEMPTY = 3007;
///
/// 有效时间错误
///
public const int ERR_ORDERREQUEST_WRONGVALIDTIME = 3008;
///
/// 会员编号为空
///
public const int ERR_ORDERREQUEST_MEMBERCODEISEMPTY = 3009;
///
/// 会员编号错误
///
public const int ERR_ORDERREQUEST_WRONGMEMBERCODE = 3010;
///
/// 特别会员编号为空
///
public const int ERR_ORDERREQUEST_SMEMBERCODEISEMPTY = 3011;
///
/// 买卖方向无效
///
public const int ERR_ORDERREQUEST_BUYORSELLINVALID = 3012;
///
/// 关联单号无效
///
public const int ERR_ORDERREQUEST_RELATEDORDERIDINVALID = 3013;
///
/// 止盈或止损价格无效
///
public const int ERR_ORDERREQUEST_SPORSLPRICEINVALID = 3014;
///
/// 委托账户没有交易权限
///
public const int ERR_ORDERREQUEST_ACCOUNTNOTRADERIGHT = 3015;
///
/// 该商品不在连续现货委托状态
///
public const int ERR_ORDERREQUEST_GOODSNOTMARKETORDERSTATUS = 3016;
///
/// 内容权限不存在
///
public const int ERR_ORDERREQUEST_CONTENTRIGHTNOTEXIST = 3017;
///
/// 委托没有改单据类型权限
///
public const int ERR_ORDERREQUEST_NOORDERTYPERIGHT = 3018;
///
/// 该商品不在挂牌委托状态
///
public const int ERR_ORDERREQUEST_GOODSNOTBIDORDERSTATUS = 3019;
///
/// 该商品当前状态不能撤单
///
public const int ERR_ORDERREQUEST_GOODSNOTCANCELSTATUS = 3020;
///
/// 委托错误单据数量
///
public const int ERR_ORDERREQUEST_WRONGORDERCOUNT = 3021;
///
/// 委托解冻资金失败
///
public const int ERR_ORDERREQUEST_UNFREEZEFAILED = 3022;
///
/// 委托订单不存在
///
public const int ERR_ORDERREQUEST_ORDERNOTEXIST = 3023;
///
/// 委托单保存失败
///
public const int ERR_ORDERREQUEST_ORDERSAVEFAILED = 3024;
///
/// 委托撮合失败
///
public const int ERR_ORDERREQUEST_MATCHFAILED = 3025;
///
/// 当前行情价无效
///
public const int ERR_ORDERREQUEST_CURTQUOTEPRICEINVALID = 3026;
///
/// 委托账号保证金不足
///
public const int ERR_ORDERREQUEST_MARGINNOTENOUGH = 3027;
///
/// 委托账号不存在
///
public const int ERR_ORDERACCOUNT_ACCOUNTNOTEXIST = 3028;
///
/// 账号对应的资金账户不存在
///
public const int ERR_ORDERACCOUNT_TAACCOUNTNOTEXIST = 3029;
///
/// 委托账户未激活
///
public const int ERR_ORDERACCOUNT_STATUSINACTIVE = 3030;
///
/// 委托账户冻结
///
public const int ERR_ORDERACCOUNT_STATUSFREEZE = 3031;
///
/// 委托账户受限
///
public const int ERR_ORDERACCOUNT_STATUSRESTRICTED = 3032;
///
/// 委托账户注销
///
public const int ERR_ORDERACCOUNT_STATUSCANCEL = 3033;
///
/// 特别会员账号不存在
///
public const int ERR_ORDERACCOUNT_SPECIALACCOUNTNOTEXIST = 3034;
///
/// 特别会员账号对应的资金账户不存在
///
public const int ERR_ORDERACCOUNT_SPECIALTAACCOUNTNOTEXIST = 3035;
///
/// 特别会员账户未激活
///
public const int ERR_ORDERACCOUNT_SPECIALSTATUSINACTIVE = 3036;
///
/// 特别会员账户冻结
///
public const int ERR_ORDERACCOUNT_SPECIALSTATUSFREEZE = 3037;
///
/// 特别会员账户受限
///
public const int ERR_ORDERACCOUNT_SPECIALSTATUSRESTRICTED = 3038;
///
/// 特别会员账户注销
///
public const int ERR_ORDERACCOUNT_SPECIALSTATUSCANCEL = 3039;
///
/// 委托商品不存在
///
public const int ERR_ORDERACCOUNT_GOODSNOTEXIST = 3040;
///
/// 委托权限定义不存在
///
public const int ERR_ORDERACCOUNT_RULENOTEXIST = 3041;
///
/// 委托账户无下单权限
///
public const int ERR_ORDERACCOUNT_NORIGHT = 3042;
///
/// 商品参数无该订单类型权限
///
public const int ERR_ORDERACCOUNT_NOGOODSPARAMORDERTYPERIGHT = 3043;
///
/// 商品无该订单类型权限
///
public const int ERR_ORDERACCOUNT_NOGOODSORDERTYPERIGHT = 3044;
///
/// 委托下单商品不存在
///
public const int ERR_ORDERGOODS_NOTEXIST = 3045;
///
/// 委托商品代码为空
///
public const int ERR_ORDERGOODS_GOODSCODEISEMPTY = 3046;
///
/// 委托下单商品不在开市状态
///
public const int ERR_ORDERGOODS_WRONGSTATUS = 3047;
///
/// 委托商品未包含对应订单类型
///
public const int ERR_ORDERGOODS_NOORDERTYPE = 3048;
///
/// 委托数量小于等于零
///
public const int ERR_ORDERGOODS_WRONGENTRUSTQTY = 3049;
///
/// 委托数量小于此商品单笔最小买入数量
///
public const int ERR_ORDERGOODS_NOMINOPENNUM = 3050;
///
/// 委托数量大于此商品单笔最大买入数量
///
public const int ERR_ORDERGOODS_NOMAXOPENNUM = 3051;
///
/// 委托订单价格不正确
///
public const int ERR_ORDERGOODS_WRONGORDERPRICE = 3052;
///
/// 止盈或止损价格为空
///
public const int ERR_ORDERGOODS_SPORSLPRICEISEMPTY = 3053;
///
/// 委托账号没有持仓汇总
///
public const int ERR_ORDERHOLDER_ACCOUNTNOPOSITION = 3054;
///
/// 委托持仓商品不存在
///
public const int ERR_ORDERHOLDER_GOODSNOTEXIST = 3055;
///
/// 委托超出最大买持仓数量
///
public const int ERR_ORDERHOLDER_EXCEEDMAXBUYHOLDERQTY = 3056;
///
/// 委托超出最大卖持仓数量
///
public const int ERR_ORDERHOLDER_EXCEEDMAXSELLHOLDERQTY = 3057;
///
/// 委托超出持仓数量
///
public const int ERR_ORDERHOLDER_EXCEEDHOLDERQTY = 3058;
///
/// 委托关联委托单无效
///
public const int ERR_ORDERHOLDER_RELATEORDERINVALID = 3059;
///
/// 委托关联持仓单无效
///
public const int ERR_ORDERHOLDER_RELATEHOLDERINVALID = 3060;
///
/// 关联持仓单数量为零
///
public const int ERR_ORDERHOLDER_RELATEHOLDERQTYISZERO = 3061;
///
/// 不允许双边持仓
///
public const int ERR_ORDERHOLDER_COULDNOTHOLDEROTHERSIDE = 3062;
///
/// 行情超时
///
public const int ERR_ORDERREQUEST_QUOTESERVEREXPIRED = 3063;
///
/// 错误的买卖点差
///
public const int ERR_ORDERREQUEST_WRONGBUYORSELLSUB = 3064;
///
/// 劵金额为零
///
public const int ERR_ORDERREQUEST_COUPONAMOUNTISZERO = 3065;
///
/// 不支持买卖点差
///
public const int ERR_ORDERREQUEST_PRICEPOINTNOTSUPPORT = 3066;
///
/// 当前阶段不支持撤单
///
public const int ERR_ORDERREQUEST_COULDNOTCANCELONCURRSTATE = 3067;
///
/// 会员不支持投资者买入
///
public const int ERR_ORDERREQUEST_MEMBERCOULDNOTMARKETOPEN = 3068;
///
/// 会员不支持投资者卖出
///
public const int ERR_ORDERREQUEST_MEMBERCOULDNOTMARKETCLOSE = 3069;
///
/// 会员处于对冲状态
///
public const int ERR_ORDERREQUEST_MEMBERISHEDGINGSTATUS = 3070;
///
/// 账号处于人工冻结状态
///
public const int ERR_ORDERACCOUNT_STATUSMANUALFREEZE = 3071;
///
/// 该商品不在理财委托状态
///
public const int ERR_ORDERREQUEST_GOODSNOTFINANCEORDERSTATUS = 3072;
///
/// 委托数不是最小买入数量或申购单位的整数倍
///
public const int ERR_ORDERREQUEST_ENTRUSTQTYNOTMINOPENNUMINTEGER = 3073;
///
/// 委托数不是最小卖出数量的整数倍
///
public const int ERR_ORDERREQUEST_ENTRUSTQTYNOTMINCLOSENUMINTEGER = 3074;
///
/// 交收权限规则未找到
///
public const int ERR_ORDERREQUEST_DELIVERYPARAMRULENOTFOUND = 3075;
///
/// 商品不允许卖买入
///
public const int ERR_ORDERREQUEST_SELLOPENNOTALLOWED = 3076;
///
/// 超出用户最大可申购数量
///
public const int ERR_ORDERREQUEST_EXCEEDUSERMAXAPPLYQTY = 3077;
///
/// 卖出成功但是反手买入失败
///
public const int ERR_ORDERREQUEST_CLOSEOKREVERSEOPENFAILED = 3078;
///
/// 会员交易员开平方向有误
///
public const int ERR_ORDERREQUEST_MEMBEROPENORCLOSEDIRECTIONERR = 3079;
///
/// 会员当前不允许创建订单增加持仓汇总
///
public const int ERR_ORDERREQUEST_MEMBERNOTALLOWCREATEINPD = 3080;
///
/// 无委托消息头
///
public const int ERR_ORDERREQUEST_NOORDERHEAD = 3081;
///
/// 错误的委托类型
///
public const int ERR_ORDERREQUEST_WRONGORDERTYPE = 3082;
///
/// 无客户端流水号
///
public const int ERR_ORDERREQUEST_NOCLIENTSERIALNO = 3083;
///
/// 无商品ID
///
public const int ERR_ORDERREQUEST_NOGOODSID = 3084;
///
/// 错误的客户端时间格式
///
public const int ERR_ORDERREQUEST_WRONGCLIENTTIME = 3085;
///
/// 错误的客户端类型
///
public const int ERR_ORDERREQUEST_WRONGCLIENTTYPE = 3086;
///
/// 重复的客户端流水号
///
public const int ERR_ORDERREQUEST_REPEATEDCLIENTSERIALNO = 3087;
///
/// 买卖值错误
///
public const int ERR_ORDERREQUEST_WRONGBUYORSELL = 3088;
///
/// 下单类型错误
///
public const int ERR_ORDERREQUEST_WRONGBUILDTYPE = 3089;
///
/// 取价方式错误
///
public const int ERR_ORDERREQUEST_WRONGPIRCEMODE = 3090;
///
/// 关联持仓单方向错误
///
public const int ERR_ORDERREQUEST_RELATEHOLDDIFFDIRECTION = 3091;
///
/// 委托数量大于关联持仓单可平持仓数量
///
public const int ERR_ORDERREQUEST_RELATEHOLDWRONGQTY = 3092;
///
/// 委托数量大于可平持仓数量
///
public const int ERR_ORDERREQUEST_POSITIONWRONGQTY = 3093;
///
/// 委托消息头无关联单号
///
public const int ERR_ORDERREQUEST_ORDERHEADNORELATEORDERID = 3094;
///
/// 数据库中无最小买入数或申购单位参数
///
public const int ERR_ORDERREQUEST_NOMINOPENNUMINSQL = 3095;
///
/// 数据库中无最大买入数参数
///
public const int ERR_ORDERREQUEST_NOMAXOPENNUMINSQL = 3096;
///
/// 账户无此商品交易权限
///
public const int ERR_ORDERREQUEST_ACCOUNTNOGOODSRIGHT = 3097;
///
/// 委托关联委托单状态无效
///
public const int ERR_ORDERHOLDER_RELATEORDERSTATUSINVALID = 3098;
///
/// 委托消息无反手买入标志
///
public const int ERR_ORDERREQUEST_NOREOPENFLAG = 3099;
///
/// 数据库缺少账户状态或运行阶段的交易规则
///
public const int ERR_ORDERREQUEST_LOSTTRADERULE = 3100;
///
/// 数据库中无买最大持仓数参数
///
public const int ERR_ORDERREQUEST_NOBUYMAXHOLDINSQL = 3101;
///
/// 数据库中无卖最大持仓数参数
///
public const int ERR_ORDERREQUEST_NOSELLMAXHOLDINSQL = 3102;
///
/// 账户类型不是会员
///
public const int ERR_ORDERREQUEST_WRONGMEMBERACCOUNTTYPE = 3103;
///
/// 限价卖出暂不支持部分卖出
///
public const int ERR_ORDERREQUEST_LIMITCLOSENOTSUPPORTPARTCLOSE = 3104;
///
/// 当前账户不能平其他账户的单据
///
public const int ERR_ORDERREQUEST_WRONGCLOSEACCOUNTID = 3105;
///
/// 错误的委托账户类型
///
public const int ERR_ORDERREQUEST_WRONGORDERACCOUNTTYPE = 3106;
///
/// 无可用连续现货关系,确定对手失败
///
public const int ERR_ORDERREQUEST_NOAVALIZBLEMMRELATION = 3107;
///
/// 运行阶段不是申购中
///
public const int ERR_ORDERREQUEST_RUNSTEPNOTINSUBSCRIPTING = 3108;
///
/// 运行阶段不是待发售
///
public const int ERR_ORDERREQUEST_RUNSTEPNOTINWAITISSUE = 3109;
///
/// 发售账户受限
///
public const int ERR_ORDERREQUEST_ISSUEACCOUNTSTATUSLIMITED = 3110;
///
/// 当前账户不能撤其他账户的单据
///
public const int ERR_ORDERREQUEST_CURRENTACCOUNTNOTCANCLEOTHER = 3111;
///
/// 改单数量不为0且不能与原单据数量相同
///
public const int ERR_ORDERREQUEST_MODIFYQTYWRONG = 3112;
///
/// 数据库中无最大申购持仓数量
///
public const int ERR_ORDERREQUEST_NOMAXAPPLYNUMS = 3113;
///
/// 申购数量超过最大申购持仓数量
///
public const int ERR_ORDERREQUEST_BEYONDMAXAPPLYNUMS = 3114;
///
/// 触发类型值错误
///
public const int ERR_ORDERREQUEST_WRONGTRIGGERTYPE = 3115;
///
/// 触发价格值错误
///
public const int ERR_ORDERREQUEST_WRONGTRIGGERPRICE = 3116;
///
/// 消息头无UUID
///
public const int ERR_ORDERREQUEST_NOUUID = 3117;
///
/// 数据库无此预埋单
///
public const int ERR_ORDERREQUEST_NOPREPOSTDETAIL = 3118;
///
/// 撤单时,预埋单不在订单在市状态
///
public const int ERR_ORDERREQUEST_WRONGPREPOSTDETAILSTATUS = 3119;
///
/// 买方向,委托价格高于涨停价
///
public const int ERR_ORDERREQUEST_BUYHIGHERNEXTLIMITUPPRICE = 3120;
///
/// 卖方向,委托价格底于跌停价
///
public const int ERR_ORDERREQUEST_SELLLOWERNEXTLIMITDOWNPRICE = 3121;
///
/// 未查询到此商品的涨跌停价
///
public const int ERR_ORDERREQUEST_NOGOODSLIMITUPDOWNPRICE = 3122;
///
/// 委托价格不在此商品涨跌停价区间
///
public const int ERR_ORDERREQUEST_WRONGGOODSNEXTLIMITPRICE = 3123;
///
/// 挂牌市场受限状态只允许卖出持仓
///
public const int ERR_ORDERREQUEST_BIDONLYCLOSE = 3124;
///
/// 交易模式错误
///
public const int ERR_ORDERREQUEST_WRONGTRADEMODE = 3125;
///
/// 账户类型不是投资者
///
public const int ERR_ORDERREQUEST_ACCOUNTTYPENOTINVESTOR = 3126;
///
/// 下单类型不是改单
///
public const int ERR_ORDERREQUEST_BUILDTYPENOTMODIFY = 3127;
///
/// 止盈止损单不在在市状态
///
public const int ERR_ORDERREQUEST_SPSLNOTINMARKETSTATUS = 3128;
///
/// 止盈止损主单不在已成状态
///
public const int ERR_ORDERREQUEST_SPSLMAINNOTINDEALEDSTATUS = 3129;
///
/// 商品不在连续交易阶段,不允许下市价单
///
public const int ERR_ORDERREQUEST_MARKETNOTINCONTINUOUS = 3130;
///
/// 当前反方向持仓有冻结数量,不允许下先平后建单
///
public const int ERR_ORDERREQUEST_HASREVERSEFREEZEQTYNOCLOSETHENOPEN = 3131;
///
/// 数据库无最大持仓量参数
///
public const int ERR_ORDERREQUEST_NOMAXHOLDNUMINSQL = 3132;
///
/// 下单数量不允许超过最大持仓量
///
public const int ERR_ORDERREQUEST_ORDERQTYBIGGERTHANMAXHOLDNUM = 3133;
///
/// 最小买入数量或申购单位值不能为0
///
public const int ERR_ORDERREQUEST_MINOPENORAPPLYNUMVALUEZERO = 3134;
///
/// 没有找到可接单的结算会员
///
public const int ERR_ORDERREQUEST_CANTFINDTOPMARKMEMBERACCEPTORDER = 3135;
///
/// 下单数量不允许超过当前商品组最大持仓量
///
public const int ERR_ORDERREQUEST_ORDERQTYBIGGERTHANGOODSGROUPMAXHOLDNUM = 3136;
///
/// 未找到可用对手关系
///
public const int ERR_ORDERREQUEST_NOTFINDVAILDMMRELATION = 3137;
///
/// 竞价全额模式只允许买建仓,卖平仓
///
public const int ERR_ORDERREQUEST_ONLYBUYOPENSELLCLOSEINBID = 3138;
///
/// 数据库中无商品持仓天数限制参数
///
public const int ERR_ORDERREQUEST_NOGOODSHOLDDAYSINSQL = 3139;
///
/// 持仓单持仓天数小于限制天数
///
public const int ERR_ORDERREQUEST_HOLDDAYSLESSTHANPARAM = 3140;
///
/// 平仓数量必须是单笔最小交易数量整数倍,如果不是,则平仓数量必须等于可平数量
///
public const int ERR_ORDERREQUEST_ORDERNUMLIMITEDWHENCLOSE = 3141;
///
/// 市场ID为空
///
public const int ERR_ORDERREQUEST_NOTMARKETID = 3142;
///
/// 请求市场ID非法
///
public const int ERR_ORDERREQUEST_MARKETID_INVALID = 3143;
///
/// 市场ID不匹配
///
public const int ERR_ORDERREQUEST_MARKETID_NOT_MATCH = 3144;
///
/// 未选定摘牌类型
///
public const int ERR_ORDERREQUEST_DELISTINGTYPE_NOTEXIST = 3145;
///
/// 不允许摘相同账号的挂牌单据
///
public const int ERR_ORDERREQUEST_NOTALLOW_DELISTING_MATCHACCOUNT_LISTING = 3146;
///
/// 请求账户ID非法
///
public const int ERR_ORDERREQUEST_ACCOUNTID_INVALID = 3147;
///
/// 请求参数不全
///
public const int ERR_ORDERREQUEST_PARAM_MISSHAPEN = 3148;
///
/// 委托用户ID为空
///
public const int ERR_ORDERREQUEST_NOTUSERID = 3149;
///
/// 委托用户无账户权限
///
public const int ERR_ORDERREQUEST_USER_ACCOUNT_NORIGHT = 3150;
///
/// 关联用户账户状态不支持委托类型
///
public const int ERR_ORDERREQUEST_RELATEDUSER_ACCOUNTSTATUS_NOSUPPORT = 3151;
///
/// 小于最小建仓数量
///
public const int ERR_ORDERREQUEST_LESS_THAN_MIN_WAREHOUSE = 3152;
///
/// 大于最大建仓数量
///
public const int ERR_ORDERREQUEST_GREATER_THAN_MAX_WAREHOUSE = 3153;
///
/// 市场未开市
///
public const int ERR_ORDERREQUEST_MARKET_NOT_OPEN = 3154;
///
/// 目标挂牌单据已失效
///
public const int ERR_ORDERREQUEST_LISTINGORDER_STATUS_INVALID = 3155;
///
/// 冻结持仓汇总失败
///
public const int ERR_BIDMATCH_FREEZE_POSITION_FAILED = 3200;
///
/// 冻结持仓失败
///
public const int ERR_BIDMATCH_FREEZE_HOLDER_FAILED = 3201;
///
/// 解冻持仓汇总失败
///
public const int ERR_BIDMATCH_UNFREEZE_POSITION_FAILED = 3202;
///
/// 解冻持仓失败
///
public const int ERR_BIDMATCH_UNFREEZE_HOLDER_FAILED = 3203;
///
/// 成交数量大于冻结数量
///
public const int ERR_BIDMATCH_DEAL_POSITION_FAILED = 3204;
///
/// 成交数量大于持仓数量
///
public const int ERR_BIDMATCH_DEAL_HOLDER_FAILED = 3205;
///
/// 商品不是开市状态
///
public const int ERR_BIDMATCH_TRANSHOLDER_NO_OPEN = 3206;
///
/// 没有找到对应的持仓单
///
public const int ERR_BIDMATCH_FIND_HOLDER_FAILED = 3207;
///
/// 持仓单有部分数量被冻结
///
public const int ERR_BIDMATCH_INVALID_HOLDER_FREEZE = 3208;
///
/// 持仓汇总可用数量不足
///
public const int ERR_BIDMATCH_AVAILABLE_NUM_FAILED = 3209;
///
/// 查找投资者对应的交易会员失败
///
public const int ERR_XMATCH_MIXED_MEMBER_FAILED = 3210;
///
/// 没有设置混合模式下会员报价
///
public const int ERR_XMATCH_MIXED_ORDERSETTINT_FAILED = 3211;
///
/// 撤单失败,同一张单据不允许被重复撤单
///
public const int ERR_MATCH_CANCELED_REPEATEDLY = 3212;
///
/// 交割请求数据无效
///
public const int ERR_MATCH_DELIVERYREQ_INVALID = 3213;
///
/// 获取斩仓对应的持仓失败
///
public const int ERR_RISKCLOSE_GETHOLDERS_FAIL = 3300;
///
/// 计算斩仓手续费失败
///
public const int ERR_RISKCLOSE_ALCCLOSECHANGE_FAIL = 3301;
///
/// 账户委托回应失败
///
public const int ERR_RISKCLOSE_ACCOUNTORDERRSP_FAIL = 3302;
///
/// 账户成交回应失败
///
public const int ERR_RISKCLOSE_ACCOUNTTRADERSP_FAIL = 3303;
///
/// 冻结会员头寸失败
///
public const int ERR_RISKCLOSE_FREEZEMEMBERPOSITION_FAIL = 3304;
///
/// 获取会员头寸失败
///
public const int ERR_RISKCLOSE_GETMEMBERPOSITION_FAIL = 3305;
///
/// 没有市场信息
///
public const int ERR_RECKON_NO_MARKET_INFO = 3400;
///
/// 没有结算计划
///
public const int ERR_RECKON_NO_PLAN = 3401;
///
/// 获取结算价TIK失败
///
public const int ERR_RECKON_FETCH_RECKON_PRICE_TIK_FAIL = 3402;
///
/// 不是所有商品都有行情TIK
///
public const int ERR_RECKON_NOT_ALL_GOODS_HAS_TIK = 3403;
///
/// 找不到上次商品结算信息
///
public const int ERR_RECKON_NOT_FOUND_LAST_RECKON_INFO = 3404;
///
/// 更新涨跌停价到商品属性表失败
///
public const int ERR_RECKON_UPDATE_LIMIT_PRICE_FAIL = 3405;
///
/// 协议转让失败
///
public const int ERR_RECKON_TREATY_CLOSE_FAIL = 3406;
///
/// 到期单撤单失败
///
public const int ERR_RECKON_CANCEL_ORDER_FAIL = 3407;
///
/// 等待资金响应超时
///
public const int ERR_RECKON_WAIT_MONEY_RSP_TIME_OUT = 3408;
///
/// 资金请求失败
///
public const int ERR_RECKON_MONEY_REQ_FAIL = 3409;
///
/// 费用分成创建源单据失败
///
public const int ERR_RECKON_FEEDIVDE_BUILD_SRCORDER_FAILED = 3410;
///
/// 费用分成创建目标失败
///
public const int ERR_RECKON_FEEDIVDE_BUILD_TARGET_FAILED = 3411;
///
/// 费用分成加载目标失败
///
public const int ERR_RECKON_FEEDIVDE_LOAD_TARGET_FAILED = 3412;
///
/// 费用分成没有目标账号
///
public const int ERR_RECKON_FEEDIVDE_TARGETACCOUNTS_SIZE_ISZERO = 3413;
///
/// 费用分成插入账号分成日志失败
///
public const int ERR_RECKON_FEEDIVDE_INSERT_ACCOUNTDIVIDELOG_FAILED = 3414;
///
/// 费用分成查询分成类型失败
///
public const int ERR_RECKON_FEEDIVDE_QUERY_FEEDIVIDETYPES_FAILED = 3415;
///
/// 费用分成没有分成类型
///
public const int ERR_RECKON_FEEDIVDE_NO_FEEDIVIDETYPES_FOUND = 3416;
///
/// 费用分成账号数据在分成之前
///
public const int ERR_RECKON_FEEDIVDE_ACCOUNTLOG_DATAEXIST_BEFORE_DIVIDE = 3417;
///
/// 费用分成检查节点失败
///
public const int ERR_RECKON_FEEDIVDE_NODE_CHECK_ERROR = 3418;
///
/// 费用分成找不到源单据
///
public const int ERR_RECKON_FEEDIVDE_CANNOTFOUND_SRCORDER = 3419;
///
/// 费用分成找不到目标账号
///
public const int ERR_RECKON_FEEDIVDE_CANNOTFOUND_TARGETACCOUNT = 3420;
///
/// 费用分成插入目标单据失败
///
public const int ERR_RECKON_FEEDIVDE_INSERT_TARGETORDER_FAILED = 3421;
///
/// 费用分成加载账号日志失败
///
public const int ERR_RECKON_FEEDIVDE_LOAD_ACCOUNTLOG_FAILED = 3422;
///
/// 费用分成没有目标单据产生
///
public const int ERR_RECKON_FEEDIVDE_NO_TARGETORDER_OCCURED = 3423;
///
/// 费用分成未创建目标
///
public const int ERR_RECKON_FEEDIVDE_NO_TARGET_CREATED = 3424;
///
/// 费用分成源单据金额与目标单据金额不匹配
///
public const int ERR_RECKON_FEEDIVDE_SRC_TARGET_AMOUNT_NOTMATCH = 3425;
///
/// 费用分成目标单据金额与目标账户金额不匹配
///
public const int ERR_RECKON_FEEDIVDE_TARGET_ACCOUNT_AMOUNT_NOTMATCH = 3426;
///
/// 费用分成没有账号分配
///
public const int ERR_RECKON_FEEDIVDE_NO_ACCOUNT_DIVIDE_FOUND = 3427;
///
/// 费用分成资金响应超时
///
public const int ERR_RECKON_FEEDIVDE_MONEY_MSG_TIMEOUT = 3428;
///
/// 费用分成未知错误
///
public const int ERR_RECKON_FEEDIVDE_UNKNOWN_ERROR = 3429;
///
/// 费用分成资金返回错误
///
public const int ERR_RECKON_FEEDIVDE_MONEY_RET_ERROR = 3430;
///
/// 导到历史表失败
///
public const int ERR_RECKON_EXPORT_TO_HIS_FAIL = 3431;
///
/// 没有可结算的商品
///
public const int ERR_RECKON_NO_SETTLE_GOODS = 3432;
///
/// 商品发行价没有配置
///
public const int ERR_RECKON_LISTEN_PRICE_NOT_CONFIG = 3433;
///
/// 商品上市日不是下个交易日不能结算
///
public const int ERR_RECKON_FIRST_DATE_NOT_NEXT_TRADE_DATE = 3434;
///
/// 结算撤销预买单失败
///
public const int ERR_RECKON_CANCEL_PRE_POST_ORDER_FAIL = 3435;
///
/// 结算请求与结算工作模式不一致
///
public const int ERR_RECKON_NOT_FOR_THIS_TRADE_MODE = 3436;
///
/// 到期强平撤单失败
///
public const int ERR_RECKON_FORCE_CLOSE_CANCEL_ORDER_FAIL = 3437;
///
/// 到期强平失败
///
public const int ERR_RECKON_FORCE_CLOSE_FAIL = 3438;
///
/// 无效的分成金额
///
public const int ERR_RECKON_FEEDIVDE_DIVIDEAMOUNT_INVALID = 3439;
///
/// 无效的分成目标账号
///
public const int ERR_RECKON_FEEDIVDE_DIVIDETARGET_INVALID = 3440;
///
/// 分成比例超出100%
///
public const int ERR_RECKON_FEEDIVDE_RATIO_OVER100 = 3441;
///
/// 分成比例不足100%
///
public const int ERR_RECKON_FEEDIVDE_RATIO_NOTENOUGH100 = 3442;
///
/// 获取涨跌停交易规则失败
///
public const int ERR_RECKON_FETCH_TRADE_RULE_FAIL = 3443;
///
/// 首次结算但发行日期不是下一个交易日
///
public const int ERR_RECKON_LISTEN_DATE_NOT_NEXT_TRADE_DATE = 3444;
///
/// 商品没有配置到期处理方式
///
public const int ERR_RECKON_NOT_CONFIG_TIMEOUT_DEAL_METHOD = 3445;
///
/// 到期无效交易服务返回失败
///
public const int ERR_RECKON_INVALID_HOLDER_FAIL = 3446;
///
/// 此交易日已经结算过
///
public const int ERR_RECKON_ALREADY_DONE = 3447;
///
/// 下一个交易日比当前交易日小
///
public const int ERR_RECKON_NEXT_TRADE_DATE_LARGER_THAN_CUR = 3448;
///
/// 有部分单据在交易过程中存在错误
///
public const int ERR_RECKON_HAS_SOME_TRADE_FAIL_ORDER = 3449;
///
/// 结算单据试算平衡处理失败
///
public const int ERR_RECKON_BALANCE_CALCULATE_FAIL = 3450;
///
/// 结算委托单撤单处理失败
///
public const int ERR_RECKON_ORDER_CANCEL_FAIL = 3451;
///
/// 结算预埋单撤单处理失败
///
public const int ERR_RECKON_PERPOST_CANCEL_FAIL = 3452;
///
/// 结算结算价节点处理失败
///
public const int ERR_RECKON_RECKPRICE_CALCULATE_FAIL = 3453;
///
/// 结算持仓单备份处理失败
///
public const int ERR_RECKON_HOLDERDETAIL_BACKUP_FAIL = 3454;
///
/// 结算持仓单到期解冻处理失败
///
public const int ERR_RECKON_HOLDER_EXPIRE_UNFREEZE_FAIL = 3455;
///
/// 结算价不能为0
///
public const int ERR_RECKON_RECKONPRICE_CANNOT_ZERO = 3456;
///
/// 内存不足
///
public const int ERR_ACCOUNT_MEMORYNOTENOUGH_ERR = 4001;
///
/// 没有协议头
///
public const int ERR_ACCOUNT_NOHEADER_ERR = 4002;
///
/// 没有账户ID
///
public const int ERR_ACCOUNT_NOACCOUNTID_ERR = 4003;
///
/// 账户不存在
///
public const int ERR_ACCOUNT_ACCOUNTNOTEXIST_ERR = 4004;
///
/// 没有业务编码
///
public const int ERR_ACCOUNT_NOBUSINESSCODE_ERR = 4005;
///
/// 没有关联委托单号
///
public const int ERR_ACCOUNT_NORELATEDORDERID_ERR = 4006;
///
/// 没有命令码
///
public const int ERR_ACCOUNT_NOCOMMANDCODE_ERR = 4007;
///
/// 解析子命令失败
///
public const int ERR_ACCOUNT_PARSESUBCMD_ERR = 4008;
///
/// 没有操作类型
///
public const int ERR_ACCOUNT_NOOPERATETYPE_ERR = 4009;
///
/// 无效操作类型
///
public const int ERR_ACCOUNT_INVALIDOPERATETYPE_ERR = 4010;
///
/// 资金不足
///
public const int ERR_ACCOUNT_MONEYNOTENOUGH_ERR = 4011;
///
/// 没有商品ID
///
public const int ERR_ACCOUNT_NOGOODSID_ERR = 4012;
///
/// 没有买卖方向
///
public const int ERR_ACCOUNT_NOBUYORSELL_ERR = 4013;
///
/// 不存在商品
///
public const int ERR_ACCOUNT_GOODSNOTEXIST_ERR = 4014;
///
/// 头寸不足
///
public const int ERR_ACCOUNT_POSITIONNOTENOUGH_ERR = 4015;
///
/// 交易参数不存在
///
public const int ERR_ACCOUNT_TRADEPARAMNOTEXIST_ERR = 4016;
///
/// 没有变更类型
///
public const int ERR_ACCOUNT_NOCHANGETYPE_ERR = 4017;
///
/// 无效变更类型
///
public const int ERR_ACCOUNT_INVALIDCHANGETYPE_ERR = 4018;
///
/// 没有查询掩码
///
public const int ERR_ACCOUNT_NOQUERYBITMASK_ERR = 4019;
///
/// 无效买卖方向
///
public const int ERR_ACCOUNT_INVALIDBUYORSELL_ERR = 4020;
///
/// 无效交易模式
///
public const int ERR_ACCOUNT_INVALIDTRADEMODE_ERR = 4021;
///
/// 无效交易属性
///
public const int ERR_ACCOUNT_INVALIDTRADEPROPERTY_ERR = 4022;
///
/// 违反唯一性
///
public const int ERR_ACCOUNT_VIOLATEDUNIQUENESS_ERR = 4023;
///
/// 没有交易日
///
public const int ERR_ACCOUNT_NOTRADEDATE_ERR = 4024;
///
/// 无效交易日
///
public const int ERR_ACCOUNT_INVALIDTRADEDATE_ERR = 4025;
///
/// 格式化交易日失败
///
public const int ERR_ACCOUNT_FORMATTRADEDATE_ERR = 4026;
///
/// 没有市场运行状态
///
public const int ERR_ACCOUNT_NOMARKETRUNSTATUS_ERR = 4027;
///
/// 查询数据库失败
///
public const int ERR_ACCOUNT_QUERYDATABASE_ERR = 4028;
///
/// 记录不存在
///
public const int ERR_ACCOUNT_RECORDSNOTEXIST_ERR = 4029;
///
/// 校验资金失败
///
public const int ERR_ACCOUNT_VERIFYFUNDFAILED_ERR = 4030;
///
/// 校验头寸失败
///
public const int ERR_ACCOUNT_VERIFYPOSITIONFAILED_ERR = 4031;
///
/// 获取浮动盈亏失败
///
public const int ERR_ACCOUNT_GETFLOATPLFAILED_ERR = 4032;
///
/// 数据库事务失败
///
public const int ERR_ACCOUNT_DATABASETRANSACT_ERR = 4033;
///
/// 缺少必要字段
///
public const int ERR_ACCOUNT_NOREQUIREDFIELD_ERR = 4034;
///
/// 没有用户ID
///
public const int ERR_ACCOUNT_NOUSERID_ERR = 4035;
///
/// 用户不存在错误
///
public const int ERR_ACCOUNT_USERNOTEXIST_ERR = 4036;
///
/// 超过最大持仓量
///
public const int ERR_ACCOUNT_EXCEEDMAXHOLDPOSITION_ERR = 4037;
///
/// 没有市场ID
///
public const int ERR_ACCOUNT_NOMARKETID_ERR = 4038;
///
/// 预结算成功
///
public const int ERR_ACCOUNT_PRERECKONSUCCESS_ERR = 4039;
///
/// 数量正负号错误
///
public const int ERR_ACCOUNT_SIGNOFQTY_ERR = 4040;
///
/// 金额正负号错误
///
public const int ERR_ACCOUNT_SIGNOFAMOUNT_ERR = 4041;
///
/// 手数变负异常
///
public const int ERR_ACCOUNT_QTYNEGAEXCEPTION_ERR = 4042;
///
/// 金额变负异常
///
public const int ERR_ACCOUNT_AMOUNTNEGAEXCEPTION_ERR = 4043;
///
/// 没有保证金配置
///
public const int ERR_ACCOUNT_NOMARGINCONFIG_ERR = 4044;
///
/// 更新占用保证金失败
///
public const int ERR_ACCOUNT_UPDATEUSEDMARGIN_ERR = 4045;
///
/// 行情未找到
///
public const int ERR_RISK_CANNOT_FOUND_QUOTE = 4506;
///
/// 无效的查询参数
///
public const int ERR_QUERY_INVALID_PARAM = 5001;
///
/// 业务处理中
///
public const int ERR_BANK_DOING = 6001;
///
/// 获取托管银签到签退信息失败
///
public const int ERR_BANK_FAILTOGETSIGNINTABLEINFO = 6002;
///
/// 托管银没有为签到
///
public const int ERR_BANK_BANKNOTSIGNIN = 6003;
///
/// 获取公共配置失败
///
public const int ERR_BANK_FAILTOGETSYSCONFIG = 6004;
///
/// 币种校验失败(与托管银行币种不一致)
///
public const int ERR_BANK_ERRCURRENCY = 6005;
///
/// 该银行禁止发起签约
///
public const int ERR_BANK_FORBIDSIGNBANK = 6006;
///
/// 等待审核
///
public const int ERR_BANK_WAITINGCONFIRM = 6007;
///
/// 错误码转换失败
///
public const int ERR_BANK_FAILTOCONVERERRCORD = 6008;
///
/// 获取缓存失败
///
public const int ERR_BANK_FAILTOGETCACHE = 6009;
///
/// 业务重复
///
public const int ERR_BANK_REPEATED = 6010;
///
/// 解析报文失败
///
public const int ERR_BANK_PKGERR = 6011;
///
/// 账户服务冻结资金失败
///
public const int ERR_BANK_ASFROZENFAIL = 6012;
///
/// 获取msg表的记录失败
///
public const int ERR_BANK_FAIL_TOGET_MSGTABLE_RECORDS = 6013;
///
/// 无法反序列化MSG表记录的对象内容
///
public const int ERR_BANK_FAIL_TOPARSE_FROM_MSGTABLE_REC = 6014;
///
/// 获取数据库记录失败
///
public const int ERR_BANK_FAIL_TOGET_DB_RECORD = 6015;
///
/// 系统错误
///
public const int ERR_BANK_SYS_ERR = 6016;
///
/// 账户服务解冻资金失败
///
public const int ERR_BANK_UNFREEFAIL = 6017;
///
/// 账户服务扣款(出金)失败
///
public const int ERR_BANK_ACOUTAIL = 6018;
///
/// 客户签约状态不在业务允许范围内
///
public const int ERR_BANK_SIGNSTATUSERR = 6019;
///
/// 系统禁止出金
///
public const int ERR_BANK_FORBIDOUTBANK = 6020;
///
/// 出金金额太小
///
public const int ERR_BANK_AMOUTTOSMALL = 6021;
///
/// 出金金额太大
///
public const int ERR_BANK_AMOUTTOBIG = 6022;
///
/// 出金次数超限制
///
public const int ERR_BANK_COUNTOUTTIME = 6023;
///
/// 出金总金额超限制
///
public const int ERR_BANK_SUMOUTAMOUNT = 6024;
///
/// 计算手续费失败
///
public const int ERR_BANK_GETCHARGE = 6025;
///
/// 资金密码错误
///
public const int ERR_BANK_ACCPASSWORD = 6026;
///
/// 金额太大,需要审核
///
public const int ERR_BANK_TOOBIGAMOUNTNEEDCONFIRM = 6027;
///
/// 解冻扣款中
///
public const int ERR_BANK_ASDOINGUNFREEANDOUT = 6028;
///
/// 账户服务扣款中
///
public const int ERR_BANK_ASDOINGOUT = 6029;
///
/// 账户服务入金中
///
public const int ERR_BANK_ASDOINGIN = 6030;
///
/// 账户服务解冻中
///
public const int ERR_BANK_ASDOINGUNFREE = 6031;
///
/// 系统禁止入金
///
public const int ERR_BANK_FORBIDINBANK = 6032;
///
/// 入金金额太小
///
public const int ERR_BANK_AMINTOSMALL = 6033;
///
/// 入金金额太大
///
public const int ERR_BANK_AMINTOBIG = 6034;
///
/// 入金次数超限制
///
public const int ERR_BANK_COUNTINTIME = 6035;
///
/// 入金总金额超限制
///
public const int ERR_BANK_SUMINAMOUNT = 6036;
///
/// 入金处理中
///
public const int ERR_BANK_DOINGINMONEY = 6037;
///
/// 系统找不到这样的流水号
///
public const int ERR_BANK_ERRQUERYEXCHTICKET = 6038;
///
/// 账户服务操作失败
///
public const int ERR_BANK_ASOPERFAIL = 6039;
///
/// 客户已经处于已签约状态
///
public const int ERR_BANK_HAVEINSIGNEDSTATUS = 6040;
///
/// 客户当前的签约状态不允许再发起签约
///
public const int ERR_BANK_SIGNEDSTATUSERR = 6041;
///
/// 系统禁止解约
///
public const int ERR_BANK_FORBIDCANCELSIGN = 6042;
///
/// 客户已经处于解约状态
///
public const int ERR_BANK_HAVEINCANCELSIGNSTATUS = 6043;
///
/// 客户不是签约状态,不能解约
///
public const int ERR_BANK_NOTINSIGNSTATUS = 6044;
///
/// 客户当前状态不能解约
///
public const int ERR_BANK_STATUSNOTALLOWTOCANCELSIGN = 6045;
///
/// 账户服务冻结资金中
///
public const int ERR_BANK_FROZEN = 6046;
///
/// 读取文件失败
///
public const int ERR_BANK_READFILEFAILED = 6047;
///
/// 写入文件失败
///
public const int ERR_BANK_WRITEFILEFAILED = 6048;
///
/// 审核已拒绝次申请
///
public const int ERR_BANK_CONFIRM_REJECT = 6049;
///
/// 对账结果:成功
///
public const int ERR_BANK_ACR_SUCCESS = 6050;
///
/// 对账结果:平台成功,金额不一致
///
public const int ERR_BANK_ACR_PLATFORMSUCCESSAMOUNTERR = 6051;
///
/// 对账结果:平台缺失(银行存在系统不存在)
///
public const int ERR_BANK_ACR_PLATFORMMISS = 6052;
///
/// 对账结果:银行成功,平台失败
///
public const int ERR_BANK_ACR_CENTERSUCCESSPLATFORMFAIL = 6053;
///
/// 对账结果:银行成功,平台处理中
///
public const int ERR_BANK_ACR_CERTERSUCCESSPLATFORMDOING = 6054;
///
/// 对账结果:平台成功,银行不成功
///
public const int ERR_BANK_ACR_PLATFORMSUCCESSCENTERFAIL = 6055;
///
/// 对账结果:平台处理中,银行不成功
///
public const int ERR_BANK_ACR_PLATFORMDOINGCENTERFAIL = 6056;
///
/// 对账结果:平台处理中,金额不一致
///
public const int ERR_BANK_ACR_PLATFORMDOINGAMOUNTERR = 6057;
///
/// 对账结果:平台失败,金额不一致
///
public const int ERR_BANK_ACR_PLATFORMFAILAMOUNTERR = 6058;
///
/// 对账结果:平台成功,账户服务操作失败
///
public const int ERR_BANK_ACR_PLATFORMSUCCESSASOPERATFAIL = 6059;
///
/// 对账结果:平台失败,账户服务解冻资金失败
///
public const int ERR_BANK_ACR_PLATFORMFAILASOPERATFAIL = 6060;
///
/// 行情中断
///
public const int ERR_QUOTE_INTERRUPTED = 7001;
///
/// 没找到投资者账户信息
///
public const int ERR_DELIVERY_NO_ACCOUNT_RECORD = 8001;
///
/// 没找到交割关系
///
public const int ERR_DELIVERY_NO_RELATION_RECORD = 8002;
///
/// 交割申请日期不在允许范围内
///
public const int ERR_DELIVERY_NOT_ALLOWED_ORDER_DATE = 8003;
///
/// 交割申请数量小于最小交割手数
///
public const int ERR_DELIVERY_ORDER_QTY_LESS_THEN_MIN = 8004;
///
/// 创建交割委托处理对象失败
///
public const int ERR_DELIVERY_CREATE_ORDER_DEAL_OBJ_FAILED = 8005;
///
/// 未提供主商品ID
///
public const int ERR_DELIVERY_NO_X_GOODID = 8006;
///
/// 未提供主商品市场ID
///
public const int ERR_DELIVERY_NO_X_MARKET = 8007;
///
/// 未提供主商品手数
///
public const int ERR_DELIVERY_NO_X_GOOD_QUANTITY = 8008;
///
/// 未提供交割商品ID
///
public const int ERR_DELIVERY_NO_DELIVERY_GOODID = 8009;
///
/// 未提供交割手数
///
public const int ERR_DELIVERY_NO_DELIVERY_GOOD_QUANTITY = 8010;
///
/// 未提供交割仓单明细
///
public const int ERR_DELIVERY_NO_DELIVERY_DETAIL = 8011;
///
/// 未提供仓单账号
///
public const int ERR_DELIVERY_NO_WAREHOUSE_ACCOUNTID = 8012;
///
/// 未提供仓单手数
///
public const int ERR_DELIVERY_NO_WAREHOUSE_QUANTITY = 8013;
///
/// 交割主商品市场未开市
///
public const int ERR_DELIVERY_X_MARKET_STATUS_NOT_OPEN = 8014;
///
/// 主商品状态异常
///
public const int ERR_DELIVERY_X_GOOD_STATUS_UNNORMAL = 8015;
///
/// 辅商品已退市,不能发起交割
///
public const int ERR_DELIVERY_P_GOOD_STATUS_DELISTED = 8016;
///
/// 账户状态异常
///
public const int ERR_ACCOUNT_STATUS_UNNORMAL = 8017;
///
/// 商品交割关系不匹配
///
public const int ERR_DELIVERY_RELATION_UNNORMAL = 8018;
///
/// 主副商品不符合合约系数
///
public const int ERR_X_P_GOODS_RADIO_NOT_MATCH = 8019;
///
/// 仓单校验失败
///
public const int ERR_WARE_HORSE_CHECK_FAILED = 8020;
///
/// 未知命令
///
public const int ERR_DELIVERY_WAREHORSE_QUERY_UNKNOW_COMMANDCODE = 8021;
///
/// 找不到交割价
///
public const int ERR_NO_XGOOD_DELIVERY_PRICE = 8022;
///
/// 找不到交割申报单号
///
public const int ERR_NO_DILIVERY_ORDERID = 8023;
///
/// 找不到交割成交单号
///
public const int ERR_NO_DELIVERY_ID = 8024;
///
/// 子命令解析失败
///
public const int ERR_SUBCOMMAND_PARSE_ERROR = 8025;
///
/// 交割审核消息解析失败
///
public const int ERR_MANAGE_AUDIT_MESSAGE_PARSE_FAILED = 8026;
///
/// 未提供审核状态
///
public const int ERR_NO_AUDIT_STATUS = 8027;
///
/// 未提供审核日期
///
public const int ERR_NO_AUTHORIZEDDATE = 8028;
///
/// 未提供操作人
///
public const int ERR_NO_OPERATORID = 8029;
///
/// 未提供仓单手数
///
public const int ERR_DELIVERY_NO_WAREHOUSE_QTY = 8030;
///
/// 未提供品牌ID
///
public const int ERR_DELIVERY_NO_WAREHOUSE_BRANDID = 8031;
///
/// 未提供品质ID
///
public const int ERR_DELIVERY_NO_WAREHOUSE_QUALITYID = 8032;
///
/// 未提供规格ID
///
public const int ERR_DELIVERY_NO_WAREHOUSE_STANDARDID = 8033;
///
/// 未提供仓单ID
///
public const int ERR_DELIVERY_NO_WAREHOUSE_WAREHOUSEID = 8034;
///
/// 未提供月份ID
///
public const int ERR_DELIVERY_NO_WAREHOUSE_DELIVERYMONTHID = 8035;
///
/// 交割市场未开市
///
public const int ERR_DELIVERY_MARKET_NOT_OPEN = 8036;
///
/// 没找到市场信息
///
public const int ERR_CONTROL_MARKET_NOT_FOUND = 9001;
///
/// 系统状态错误
///
public const int ERR_CONTROL_SYSTEM_STATUS_WRONG = 9002;
///
/// 市场状态错误
///
public const int ERR_CONTROL_MARKET_STATUS_WRONG = 9003;
///
/// 无法找到履约计划模板
///
public const int ERR_PERFORMANCE_NOT_FIND_PLANTEMPLATE = 10001;
///
/// 计划模板没有对应的步骤
///
public const int ERR_PERFORMANCE_PLANTEMPLATE_HAVE_NO_STEP = 10002;
///
/// 支付比例和不为100%
///
public const int ERR_PERFORMANCE_PAYMENT_SUMRATIO_ERR = 10003;
///
/// 收款比例和不为100%
///
public const int ERR_PERFORMANCE_RECV_SUMRATIO_ERR = 10004;
///
/// 无法找到履约计划仓单
///
public const int ERR_PERFORMANCE_NOT_FIND_PLANWR = 10005;
///
/// 无法找到履约计划
///
public const int ERR_PERFORMANCE_NOT_FIND_PLAN = 10006;
///
/// 无法找到履约计划步骤
///
public const int ERR_PERFORMANCE_NOT_FIND_STEP = 10007;
///
/// 违约审核校验失败
///
public const int ERR_CHECK_PERFORMANCE_BREACH_AUDIT = 10008;
///
/// 违约申请校验失败
///
public const int ERR_CHECK_PERFORMANCE_BREACH_APPLY = 10009;
///
/// 延期申请校验失败
///
public const int ERR_CHECK_PERFORMANCE_DELAY_APPLY = 10010;
///
/// 延期审核校验失败
///
public const int ERR_CHECK_PERFORMANCE_DELAY_AUDIT = 10011;
///
/// 履约计划状态不正常
///
public const int ERR_PERFORMANCE_PLAN_STATUS_IS_NOT_NORMAL = 10012;
///
/// 履约计划步骤已经处理完成
///
public const int ERR_PERFORMANCE_STEP_FINISHED = 10013;
///
/// 没有找到总线主题
///
public const int ERR_PERFORMANCE_NOT_FIND_TOPIC = 10014;
///
/// 没有找到相关仓单信息
///
public const int ERR_PERFORMANCE_NOT_FIND_WAREHOUSERECIEPT = 10015;
///
/// 未找到相应库位
///
public const int ERR_WR_CANNOT_FOUND_LOCATIONS = 21004;
///
/// 库位状态更新失败
///
public const int ERR_WR_LOCATION_STATUS_UPDATE_FAILED = 21005;
///
/// 更新库位属主用户失败
///
public const int ERR_WR_UPDATE_FAILED_LOCATION_USER = 21010;
///
/// 更新仓单属主用户失败
///
public const int ERR_WR_UPDATE_FAILED_WR_USER = 21011;
///
/// 库位状态错误
///
public const int ERR_WR_LOCATION_STATUS_EXEPTION = 21012;
///
/// 没有找到商品交易属性
///
public const int ERR_WR_NO_GOODS_TRADE_PROPERTY = 21016;
///
/// 库位编号重复
///
public const int ERR_WR_LOCATION_DUPLICATE = 21019;
}