tas_errorcodes.cs 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963
  1. public class ErrorCode
  2. {
  3. /// <summary>
  4. /// 意外的获取到多条记录(条件不精确)
  5. /// </summary>
  6. public const int ERR_DB_UNEXPECTED_MULTI_RECORDS = -16;
  7. /// <summary>
  8. /// 构建统计记录数SQL语句失败
  9. /// </summary>
  10. public const int ERR_DB_GETTOTALSQLFAILED = -15;
  11. /// <summary>
  12. /// sql非法
  13. /// </summary>
  14. public const int ERR_MIDB_SQLILLEGAL = -13;
  15. /// <summary>
  16. /// 请求数据库连接失败
  17. /// </summary>
  18. public const int ERR_DB_CONNECTDBFAILED = -12;
  19. /// <summary>
  20. /// 响应消息打包失败
  21. /// </summary>
  22. public const int ERR_DB_BUILDRSPFAILED = -11;
  23. /// <summary>
  24. /// 获取单条纪录失败
  25. /// </summary>
  26. public const int ERR_DB_GETRECORDFAILED = -10;
  27. /// <summary>
  28. /// 获取多条纪录失败
  29. /// </summary>
  30. public const int ERR_DB_GETRECORDSFAILED = -9;
  31. /// <summary>
  32. /// 分页处理失败
  33. /// </summary>
  34. public const int ERR_DB_PROCPAGEFAILED = -8;
  35. /// <summary>
  36. /// 构建sql语句失败
  37. /// </summary>
  38. public const int ERR_DB_BUILDSQLFAILED = -7;
  39. /// <summary>
  40. /// 执行SQL失败
  41. /// </summary>
  42. public const int ERR_DB_EXECSQLFAILED = -6;
  43. /// <summary>
  44. /// 请求消息业务检验失败
  45. /// </summary>
  46. public const int ERR_DB_CHECKMSGFAILED = -5;
  47. /// <summary>
  48. /// 请求消息proto协议检查失败(调函数check_proto失败)
  49. /// </summary>
  50. public const int ERR_DB_CHECKPROTOFAILED = -4;
  51. /// <summary>
  52. /// 请求消息解析失败(调函数ParseFromArray失败)
  53. /// </summary>
  54. public const int ERR_DB_PARSEMSGFAILED = -3;
  55. /// <summary>
  56. /// 未知错误
  57. /// </summary>
  58. public const int ERR_UNKNOW = -2;
  59. /// <summary>
  60. /// 正确处理
  61. /// </summary>
  62. public const int ERR_OK = 0;
  63. /// <summary>
  64. /// 数据类型错误,表示proto buffer数据解析失败
  65. /// </summary>
  66. public const int ERR_DATAERROR = 1;
  67. /// <summary>
  68. /// 无效的证件类型
  69. /// </summary>
  70. public const int ERR_INVALIDCARDTYPE = 2;
  71. /// <summary>
  72. /// 无效的性别
  73. /// </summary>
  74. public const int ERR_INVALIDSEX = 3;
  75. /// <summary>
  76. /// 无效的会员类型
  77. /// </summary>
  78. public const int ERR_INVALIDMEMBERTYPE = 4;
  79. /// <summary>
  80. /// 错误的订单类型
  81. /// </summary>
  82. public const int ERR_INVALID_ORDER_TYPE = 5;
  83. /// <summary>
  84. /// 持仓汇总不足
  85. /// </summary>
  86. public const int ERR_NOT_ENOUGH_POSITIONS = 6;
  87. /// <summary>
  88. /// 错误的买卖方向
  89. /// </summary>
  90. public const int ERR_INVALID_BUYORSELL = 7;
  91. /// <summary>
  92. /// 行情服务异常
  93. /// </summary>
  94. public const int ERR_QUOTESERVER_EXCEPTION = 8;
  95. /// <summary>
  96. /// 实时价格超出委托价格和允许成交偏移范围
  97. /// </summary>
  98. public const int ERR_OFFSET_OUT_SCOPE = 9;
  99. /// <summary>
  100. /// 错误的偏移点差
  101. /// </summary>
  102. public const int ERR_INVALID_PRICE_OFFSET = 10;
  103. /// <summary>
  104. /// 错误的委托状态
  105. /// </summary>
  106. public const int ERR_ORDERSTATUS = 11;
  107. /// <summary>
  108. /// 当前时间不支持撤单
  109. /// </summary>
  110. public const int ERR_CANCELNOTSUPPORTED = 12;
  111. /// <summary>
  112. /// 委托未成交
  113. /// </summary>
  114. public const int ERR_ORDERNOTDEAL = 13;
  115. /// <summary>
  116. /// 撤单失败
  117. /// </summary>
  118. public const int ERR_CANCEL_FAILED = 14;
  119. /// <summary>
  120. /// 订单ID已存在
  121. /// </summary>
  122. public const int ERR_ORDERREQUEST_ORDERIDEXISTS = 15;
  123. /// <summary>
  124. /// 加载xml文件失败
  125. /// </summary>
  126. public const int ERR_CONFIG_LOADXMLFAIL = 16;
  127. /// <summary>
  128. /// 参数不存在
  129. /// </summary>
  130. public const int ERR_CONFIG_NOSQLPARAM = 17;
  131. /// <summary>
  132. /// SqlStatement 不存在
  133. /// </summary>
  134. public const int ERR_CONFIG_NOSQLSTATEMENT = 18;
  135. /// <summary>
  136. /// 参数为空
  137. /// </summary>
  138. public const int ERR_CONFIG_PARAMISNULL = 19;
  139. /// <summary>
  140. /// 配置值非法
  141. /// </summary>
  142. public const int ERR_CONFIG_ITEMVALUEILLEGAL = 20;
  143. /// <summary>
  144. /// 数据库连接异常
  145. /// </summary>
  146. public const int ERR_MIDB_CONNECTEXCEPTION = 21;
  147. /// <summary>
  148. /// 数据库DataSet操作异常
  149. /// </summary>
  150. public const int ERR_MIDB_DATASETEXCEPTION = 22;
  151. /// <summary>
  152. /// 数据库绑定参数异常
  153. /// </summary>
  154. public const int ERR_MIDB_BINDPARAMEXCEPTION = 23;
  155. /// <summary>
  156. /// 数据库执行操作异常
  157. /// </summary>
  158. public const int ERR_MIDB_EXECUTEEXCEPTION = 24;
  159. /// <summary>
  160. /// 数据库提交事务失败
  161. /// </summary>
  162. public const int ERR_MIDB_COMMITEXCEPTION = 25;
  163. /// <summary>
  164. /// 数据库回滚事务失败
  165. /// </summary>
  166. public const int ERR_MIDB_ROLLBACKEXCEPTION = 26;
  167. /// <summary>
  168. /// 不支持的数据库类型
  169. /// </summary>
  170. public const int ERR_MIDB_UNSUPPORTDBTYPE = 27;
  171. /// <summary>
  172. /// 数据库设置隔离等级异常
  173. /// </summary>
  174. public const int ERR_MIDB_ISOLATIONLEVELEXCEPTION = 28;
  175. /// <summary>
  176. /// 数据库设置自动提交异常
  177. /// </summary>
  178. public const int ERR_MIDB_AUTOCOMMITEXCEPTION = 29;
  179. /// <summary>
  180. /// 断开连接异常
  181. /// </summary>
  182. public const int ERR_MIDB_DISCONNECTEXCEPTION = 30;
  183. /// <summary>
  184. /// 结果集体字段序号越界
  185. /// </summary>
  186. public const int ERR_MIDB_FIELDINDEXBEYOND = 31;
  187. /// <summary>
  188. /// 错误的数据库类型
  189. /// </summary>
  190. public const int ERR_MIDB_ERRORDBTYPE = 32;
  191. /// <summary>
  192. /// 数据源配置错误
  193. /// </summary>
  194. public const int ERR_MIDB_DBSOURCEERROR = 33;
  195. /// <summary>
  196. /// SqlStatement非法
  197. /// </summary>
  198. public const int ERR_MIDB_SQLSTATEMENTNULL = 34;
  199. /// <summary>
  200. /// 获取基本sql语句错误
  201. /// </summary>
  202. public const int ERR_MIDB_GETBASESQLERROR = 35;
  203. /// <summary>
  204. /// SqlStatement没有找到
  205. /// </summary>
  206. public const int ERR_MIDB_SQLSTATEMENTNOTFOUND = 36;
  207. /// <summary>
  208. /// 分页参数非法
  209. /// </summary>
  210. public const int ERR_MIDB_ROWBOUNDSILLEGAL = 37;
  211. /// <summary>
  212. /// 不支持的数据类型
  213. /// </summary>
  214. public const int ERR_MIDB_UNSUPPORTDBDATATYPE = 38;
  215. /// <summary>
  216. /// 取数据库记录失败
  217. /// </summary>
  218. public const int ERR_MIDB_FETCHRECORDFAIL = 39;
  219. /// <summary>
  220. /// 空指针异常
  221. /// </summary>
  222. public const int ERR_MIDB_NULLEXCEPTION = 40;
  223. /// <summary>
  224. /// 达到最大连接数量
  225. /// </summary>
  226. public const int ERR_MIDB_MAXCONNETION = 41;
  227. /// <summary>
  228. /// 不受管理的连接
  229. /// </summary>
  230. public const int ERR_MIDB_UNMANAGEREDCONNETION = 42;
  231. /// <summary>
  232. /// 字段类型非法
  233. /// </summary>
  234. public const int ERR_MIDB_FIELDTYPEILLEGAL = 43;
  235. /// <summary>
  236. /// 不支持批量执行
  237. /// </summary>
  238. public const int ERR_MIDB_NOTSUPPORTBATCH = 44;
  239. /// <summary>
  240. /// 创建statement失败
  241. /// </summary>
  242. public const int ERR_MIDB_CREATESTATEMENTFAIL = 45;
  243. /// <summary>
  244. /// 参数类型不一至(批量处理绑定参数时)
  245. /// </summary>
  246. public const int ERR_MIDB_PARAMTYPENOTEQUAL = 46;
  247. /// <summary>
  248. /// 超过最大的批量执行记录数
  249. /// </summary>
  250. public const int ERR_MIDB_OVERMAXBATCHRECORD = 47;
  251. /// <summary>
  252. /// 内存数据序列化到Protobuf失败(调函数SerializeToArray失败)
  253. /// </summary>
  254. public const int ERR_PROTOBUF_SERIALIZETOARRAY = 48;
  255. /// <summary>
  256. /// 收到不希望收到的FUNCTIONCODE
  257. /// </summary>
  258. public const int ERR_UNEXCEPTED_FUNCTIONCODE_RECEIVED = 49;
  259. /// <summary>
  260. /// 没有用户账号记录
  261. /// </summary>
  262. public const int ERR_MONEY_NO_USERACCOUNT_RECORD = 50;
  263. /// <summary>
  264. /// 没有用户信息记录
  265. /// </summary>
  266. public const int ERR_MONEY_NO_USERINFO_RECORD = 51;
  267. /// <summary>
  268. /// 没有登录账号信息
  269. /// </summary>
  270. public const int ERR_MONEY_NO_LOGINACCOUNT_RECORD = 52;
  271. /// <summary>
  272. /// 没有帐户签约记录
  273. /// </summary>
  274. public const int ERR_MONEY_NO_ACCOUNTSIGNINFO_RECORD = 53;
  275. /// <summary>
  276. /// 会话超时
  277. /// </summary>
  278. public const int ERR_SESSION_TIMEOUT = 1001;
  279. /// <summary>
  280. /// 资金密码错误
  281. /// </summary>
  282. public const int ERR_TAPWDERROR = 1002;
  283. /// <summary>
  284. /// 账号或密码不匹配
  285. /// </summary>
  286. public const int ERR_PWDMISMATCHING = 1003;
  287. /// <summary>
  288. /// 无效账号
  289. /// </summary>
  290. public const int ERR_INVALIDACCOUNT = 1004;
  291. /// <summary>
  292. /// 账号类型不匹配
  293. /// </summary>
  294. public const int ERR_ACCOUNTTYPEMISATCHING = 1005;
  295. /// <summary>
  296. /// 账号不在线
  297. /// </summary>
  298. public const int ERR_ACCOUNTNOTONLINE = 1006;
  299. /// <summary>
  300. /// 操作权限不够
  301. /// </summary>
  302. public const int ERR_PERMISSIONFAILED = 1007;
  303. /// <summary>
  304. /// 会员无账户在线
  305. /// </summary>
  306. public const int ERR_MEMBERCODENOTONLINE = 1008;
  307. /// <summary>
  308. /// 账户在别处登录
  309. /// </summary>
  310. public const int ERR_ACCOUNTOTHERPLACELOGIN = 1009;
  311. /// <summary>
  312. /// 值为空
  313. /// </summary>
  314. public const int ERR_VALUEISNULL = 1010;
  315. /// <summary>
  316. /// 登录账户已经存在
  317. /// </summary>
  318. public const int ERR_LOGINCODEISEXIST = 1011;
  319. /// <summary>
  320. /// 软件版本过低不能登陆
  321. /// </summary>
  322. public const int ERR_VERSION_NOMATCH = 1012;
  323. /// <summary>
  324. /// IP地址不在允许范围内
  325. /// </summary>
  326. public const int ERR_IP_INVALID = 1013;
  327. /// <summary>
  328. /// 短信模版为空
  329. /// </summary>
  330. public const int ERR_SM_TEMPLATE_NULL = 1014;
  331. /// <summary>
  332. /// 接收手机号码为空
  333. /// </summary>
  334. public const int ERR_SM_RECVPHONE_NULL = 1015;
  335. /// <summary>
  336. /// 模板参数不匹配
  337. /// </summary>
  338. public const int ERR_SM_TEMPLATE_PARAM_NO_MATCH = 1016;
  339. /// <summary>
  340. /// 短信发送失败
  341. /// </summary>
  342. public const int ERR_SM_SEND_FAILED = 1017;
  343. /// <summary>
  344. /// 密码被修改,请重新登录,如有异常请联系管理员
  345. /// </summary>
  346. public const int ERR_NTF_MODIFYPWD = 1018;
  347. /// <summary>
  348. /// 无效令牌
  349. /// </summary>
  350. public const int ERR_INVALIDTOKEN = 1019;
  351. /// <summary>
  352. /// 消息通知模式为空
  353. /// </summary>
  354. public const int ERR_NTFMODE_NULL = 2001;
  355. /// <summary>
  356. /// 消息通知帐号为空
  357. /// </summary>
  358. public const int ERR_NTFACCOUNTS_NULL = 2002;
  359. /// <summary>
  360. /// 委托订单类型不存在
  361. /// </summary>
  362. public const int ERR_ORDERREQUEST_NOORDERTYPE = 3001;
  363. /// <summary>
  364. /// 委托账户状态不对
  365. /// </summary>
  366. public const int ERR_ORDERREQUEST_ACCOUNTNOTOK = 3002;
  367. /// <summary>
  368. /// 账号为空
  369. /// </summary>
  370. public const int ERR_ORDERREQUEST_ACCOUNTISEMPTY = 3003;
  371. /// <summary>
  372. /// 二级委托单号无效
  373. /// </summary>
  374. public const int ERR_ORDERREQUEST_SECENTRUSTIDINVALID = 3004;
  375. /// <summary>
  376. /// 操作员为空
  377. /// </summary>
  378. public const int ERR_ORDERREQUEST_OPERATECODEISEMPTY = 3005;
  379. /// <summary>
  380. /// 错误的校验类型
  381. /// </summary>
  382. public const int ERR_ORDERREQUEST_VALIDTYPEWRONG = 3006;
  383. /// <summary>
  384. /// 有效时间为空
  385. /// </summary>
  386. public const int ERR_ORDERREQUEST_VALIDTIMEISEMPTY = 3007;
  387. /// <summary>
  388. /// 有效时间错误
  389. /// </summary>
  390. public const int ERR_ORDERREQUEST_WRONGVALIDTIME = 3008;
  391. /// <summary>
  392. /// 会员编号为空
  393. /// </summary>
  394. public const int ERR_ORDERREQUEST_MEMBERCODEISEMPTY = 3009;
  395. /// <summary>
  396. /// 会员编号错误
  397. /// </summary>
  398. public const int ERR_ORDERREQUEST_WRONGMEMBERCODE = 3010;
  399. /// <summary>
  400. /// 特别会员编号为空
  401. /// </summary>
  402. public const int ERR_ORDERREQUEST_SMEMBERCODEISEMPTY = 3011;
  403. /// <summary>
  404. /// 买卖方向无效
  405. /// </summary>
  406. public const int ERR_ORDERREQUEST_BUYORSELLINVALID = 3012;
  407. /// <summary>
  408. /// 关联单号无效
  409. /// </summary>
  410. public const int ERR_ORDERREQUEST_RELATEDORDERIDINVALID = 3013;
  411. /// <summary>
  412. /// 止盈或止损价格无效
  413. /// </summary>
  414. public const int ERR_ORDERREQUEST_SPORSLPRICEINVALID = 3014;
  415. /// <summary>
  416. /// 委托账户没有交易权限
  417. /// </summary>
  418. public const int ERR_ORDERREQUEST_ACCOUNTNOTRADERIGHT = 3015;
  419. /// <summary>
  420. /// 该商品不在连续现货委托状态
  421. /// </summary>
  422. public const int ERR_ORDERREQUEST_GOODSNOTMARKETORDERSTATUS = 3016;
  423. /// <summary>
  424. /// 内容权限不存在
  425. /// </summary>
  426. public const int ERR_ORDERREQUEST_CONTENTRIGHTNOTEXIST = 3017;
  427. /// <summary>
  428. /// 委托没有改单据类型权限
  429. /// </summary>
  430. public const int ERR_ORDERREQUEST_NOORDERTYPERIGHT = 3018;
  431. /// <summary>
  432. /// 该商品不在挂牌委托状态
  433. /// </summary>
  434. public const int ERR_ORDERREQUEST_GOODSNOTBIDORDERSTATUS = 3019;
  435. /// <summary>
  436. /// 该商品当前状态不能撤单
  437. /// </summary>
  438. public const int ERR_ORDERREQUEST_GOODSNOTCANCELSTATUS = 3020;
  439. /// <summary>
  440. /// 委托错误单据数量
  441. /// </summary>
  442. public const int ERR_ORDERREQUEST_WRONGORDERCOUNT = 3021;
  443. /// <summary>
  444. /// 委托解冻资金失败
  445. /// </summary>
  446. public const int ERR_ORDERREQUEST_UNFREEZEFAILED = 3022;
  447. /// <summary>
  448. /// 委托订单不存在
  449. /// </summary>
  450. public const int ERR_ORDERREQUEST_ORDERNOTEXIST = 3023;
  451. /// <summary>
  452. /// 委托单保存失败
  453. /// </summary>
  454. public const int ERR_ORDERREQUEST_ORDERSAVEFAILED = 3024;
  455. /// <summary>
  456. /// 委托撮合失败
  457. /// </summary>
  458. public const int ERR_ORDERREQUEST_MATCHFAILED = 3025;
  459. /// <summary>
  460. /// 当前行情价无效
  461. /// </summary>
  462. public const int ERR_ORDERREQUEST_CURTQUOTEPRICEINVALID = 3026;
  463. /// <summary>
  464. /// 委托账号保证金不足
  465. /// </summary>
  466. public const int ERR_ORDERREQUEST_MARGINNOTENOUGH = 3027;
  467. /// <summary>
  468. /// 委托账号不存在
  469. /// </summary>
  470. public const int ERR_ORDERACCOUNT_ACCOUNTNOTEXIST = 3028;
  471. /// <summary>
  472. /// 账号对应的资金账户不存在
  473. /// </summary>
  474. public const int ERR_ORDERACCOUNT_TAACCOUNTNOTEXIST = 3029;
  475. /// <summary>
  476. /// 委托账户未激活
  477. /// </summary>
  478. public const int ERR_ORDERACCOUNT_STATUSINACTIVE = 3030;
  479. /// <summary>
  480. /// 委托账户冻结
  481. /// </summary>
  482. public const int ERR_ORDERACCOUNT_STATUSFREEZE = 3031;
  483. /// <summary>
  484. /// 委托账户受限
  485. /// </summary>
  486. public const int ERR_ORDERACCOUNT_STATUSRESTRICTED = 3032;
  487. /// <summary>
  488. /// 委托账户注销
  489. /// </summary>
  490. public const int ERR_ORDERACCOUNT_STATUSCANCEL = 3033;
  491. /// <summary>
  492. /// 特别会员账号不存在
  493. /// </summary>
  494. public const int ERR_ORDERACCOUNT_SPECIALACCOUNTNOTEXIST = 3034;
  495. /// <summary>
  496. /// 特别会员账号对应的资金账户不存在
  497. /// </summary>
  498. public const int ERR_ORDERACCOUNT_SPECIALTAACCOUNTNOTEXIST = 3035;
  499. /// <summary>
  500. /// 特别会员账户未激活
  501. /// </summary>
  502. public const int ERR_ORDERACCOUNT_SPECIALSTATUSINACTIVE = 3036;
  503. /// <summary>
  504. /// 特别会员账户冻结
  505. /// </summary>
  506. public const int ERR_ORDERACCOUNT_SPECIALSTATUSFREEZE = 3037;
  507. /// <summary>
  508. /// 特别会员账户受限
  509. /// </summary>
  510. public const int ERR_ORDERACCOUNT_SPECIALSTATUSRESTRICTED = 3038;
  511. /// <summary>
  512. /// 特别会员账户注销
  513. /// </summary>
  514. public const int ERR_ORDERACCOUNT_SPECIALSTATUSCANCEL = 3039;
  515. /// <summary>
  516. /// 委托商品不存在
  517. /// </summary>
  518. public const int ERR_ORDERACCOUNT_GOODSNOTEXIST = 3040;
  519. /// <summary>
  520. /// 委托权限定义不存在
  521. /// </summary>
  522. public const int ERR_ORDERACCOUNT_RULENOTEXIST = 3041;
  523. /// <summary>
  524. /// 委托账户无下单权限
  525. /// </summary>
  526. public const int ERR_ORDERACCOUNT_NORIGHT = 3042;
  527. /// <summary>
  528. /// 商品参数无该订单类型权限
  529. /// </summary>
  530. public const int ERR_ORDERACCOUNT_NOGOODSPARAMORDERTYPERIGHT = 3043;
  531. /// <summary>
  532. /// 商品无该订单类型权限
  533. /// </summary>
  534. public const int ERR_ORDERACCOUNT_NOGOODSORDERTYPERIGHT = 3044;
  535. /// <summary>
  536. /// 委托下单商品不存在
  537. /// </summary>
  538. public const int ERR_ORDERGOODS_NOTEXIST = 3045;
  539. /// <summary>
  540. /// 委托商品代码为空
  541. /// </summary>
  542. public const int ERR_ORDERGOODS_GOODSCODEISEMPTY = 3046;
  543. /// <summary>
  544. /// 委托下单商品不在开市状态
  545. /// </summary>
  546. public const int ERR_ORDERGOODS_WRONGSTATUS = 3047;
  547. /// <summary>
  548. /// 委托商品未包含对应订单类型
  549. /// </summary>
  550. public const int ERR_ORDERGOODS_NOORDERTYPE = 3048;
  551. /// <summary>
  552. /// 委托数量小于等于零
  553. /// </summary>
  554. public const int ERR_ORDERGOODS_WRONGENTRUSTQTY = 3049;
  555. /// <summary>
  556. /// 委托数量小于此商品单笔最小买入数量
  557. /// </summary>
  558. public const int ERR_ORDERGOODS_NOMINOPENNUM = 3050;
  559. /// <summary>
  560. /// 委托数量大于此商品单笔最大买入数量
  561. /// </summary>
  562. public const int ERR_ORDERGOODS_NOMAXOPENNUM = 3051;
  563. /// <summary>
  564. /// 委托订单价格不正确
  565. /// </summary>
  566. public const int ERR_ORDERGOODS_WRONGORDERPRICE = 3052;
  567. /// <summary>
  568. /// 止盈或止损价格为空
  569. /// </summary>
  570. public const int ERR_ORDERGOODS_SPORSLPRICEISEMPTY = 3053;
  571. /// <summary>
  572. /// 委托账号没有持仓汇总
  573. /// </summary>
  574. public const int ERR_ORDERHOLDER_ACCOUNTNOPOSITION = 3054;
  575. /// <summary>
  576. /// 委托持仓商品不存在
  577. /// </summary>
  578. public const int ERR_ORDERHOLDER_GOODSNOTEXIST = 3055;
  579. /// <summary>
  580. /// 委托超出最大买持仓数量
  581. /// </summary>
  582. public const int ERR_ORDERHOLDER_EXCEEDMAXBUYHOLDERQTY = 3056;
  583. /// <summary>
  584. /// 委托超出最大卖持仓数量
  585. /// </summary>
  586. public const int ERR_ORDERHOLDER_EXCEEDMAXSELLHOLDERQTY = 3057;
  587. /// <summary>
  588. /// 委托超出持仓数量
  589. /// </summary>
  590. public const int ERR_ORDERHOLDER_EXCEEDHOLDERQTY = 3058;
  591. /// <summary>
  592. /// 委托关联委托单无效
  593. /// </summary>
  594. public const int ERR_ORDERHOLDER_RELATEORDERINVALID = 3059;
  595. /// <summary>
  596. /// 委托关联持仓单无效
  597. /// </summary>
  598. public const int ERR_ORDERHOLDER_RELATEHOLDERINVALID = 3060;
  599. /// <summary>
  600. /// 关联持仓单数量为零
  601. /// </summary>
  602. public const int ERR_ORDERHOLDER_RELATEHOLDERQTYISZERO = 3061;
  603. /// <summary>
  604. /// 不允许双边持仓
  605. /// </summary>
  606. public const int ERR_ORDERHOLDER_COULDNOTHOLDEROTHERSIDE = 3062;
  607. /// <summary>
  608. /// 行情超时
  609. /// </summary>
  610. public const int ERR_ORDERREQUEST_QUOTESERVEREXPIRED = 3063;
  611. /// <summary>
  612. /// 错误的买卖点差
  613. /// </summary>
  614. public const int ERR_ORDERREQUEST_WRONGBUYORSELLSUB = 3064;
  615. /// <summary>
  616. /// 劵金额为零
  617. /// </summary>
  618. public const int ERR_ORDERREQUEST_COUPONAMOUNTISZERO = 3065;
  619. /// <summary>
  620. /// 不支持买卖点差
  621. /// </summary>
  622. public const int ERR_ORDERREQUEST_PRICEPOINTNOTSUPPORT = 3066;
  623. /// <summary>
  624. /// 当前阶段不支持撤单
  625. /// </summary>
  626. public const int ERR_ORDERREQUEST_COULDNOTCANCELONCURRSTATE = 3067;
  627. /// <summary>
  628. /// 会员不支持投资者买入
  629. /// </summary>
  630. public const int ERR_ORDERREQUEST_MEMBERCOULDNOTMARKETOPEN = 3068;
  631. /// <summary>
  632. /// 会员不支持投资者卖出
  633. /// </summary>
  634. public const int ERR_ORDERREQUEST_MEMBERCOULDNOTMARKETCLOSE = 3069;
  635. /// <summary>
  636. /// 会员处于对冲状态
  637. /// </summary>
  638. public const int ERR_ORDERREQUEST_MEMBERISHEDGINGSTATUS = 3070;
  639. /// <summary>
  640. /// 账号处于人工冻结状态
  641. /// </summary>
  642. public const int ERR_ORDERACCOUNT_STATUSMANUALFREEZE = 3071;
  643. /// <summary>
  644. /// 该商品不在理财委托状态
  645. /// </summary>
  646. public const int ERR_ORDERREQUEST_GOODSNOTFINANCEORDERSTATUS = 3072;
  647. /// <summary>
  648. /// 委托数不是最小买入数量或申购单位的整数倍
  649. /// </summary>
  650. public const int ERR_ORDERREQUEST_ENTRUSTQTYNOTMINOPENNUMINTEGER = 3073;
  651. /// <summary>
  652. /// 委托数不是最小卖出数量的整数倍
  653. /// </summary>
  654. public const int ERR_ORDERREQUEST_ENTRUSTQTYNOTMINCLOSENUMINTEGER = 3074;
  655. /// <summary>
  656. /// 交收权限规则未找到
  657. /// </summary>
  658. public const int ERR_ORDERREQUEST_DELIVERYPARAMRULENOTFOUND = 3075;
  659. /// <summary>
  660. /// 商品不允许卖买入
  661. /// </summary>
  662. public const int ERR_ORDERREQUEST_SELLOPENNOTALLOWED = 3076;
  663. /// <summary>
  664. /// 超出用户最大可申购数量
  665. /// </summary>
  666. public const int ERR_ORDERREQUEST_EXCEEDUSERMAXAPPLYQTY = 3077;
  667. /// <summary>
  668. /// 卖出成功但是反手买入失败
  669. /// </summary>
  670. public const int ERR_ORDERREQUEST_CLOSEOKREVERSEOPENFAILED = 3078;
  671. /// <summary>
  672. /// 会员交易员开平方向有误
  673. /// </summary>
  674. public const int ERR_ORDERREQUEST_MEMBEROPENORCLOSEDIRECTIONERR = 3079;
  675. /// <summary>
  676. /// 会员当前不允许创建订单增加持仓汇总
  677. /// </summary>
  678. public const int ERR_ORDERREQUEST_MEMBERNOTALLOWCREATEINPD = 3080;
  679. /// <summary>
  680. /// 无委托消息头
  681. /// </summary>
  682. public const int ERR_ORDERREQUEST_NOORDERHEAD = 3081;
  683. /// <summary>
  684. /// 错误的委托类型
  685. /// </summary>
  686. public const int ERR_ORDERREQUEST_WRONGORDERTYPE = 3082;
  687. /// <summary>
  688. /// 无客户端流水号
  689. /// </summary>
  690. public const int ERR_ORDERREQUEST_NOCLIENTSERIALNO = 3083;
  691. /// <summary>
  692. /// 无商品ID
  693. /// </summary>
  694. public const int ERR_ORDERREQUEST_NOGOODSID = 3084;
  695. /// <summary>
  696. /// 错误的客户端时间格式
  697. /// </summary>
  698. public const int ERR_ORDERREQUEST_WRONGCLIENTTIME = 3085;
  699. /// <summary>
  700. /// 错误的客户端类型
  701. /// </summary>
  702. public const int ERR_ORDERREQUEST_WRONGCLIENTTYPE = 3086;
  703. /// <summary>
  704. /// 重复的客户端流水号
  705. /// </summary>
  706. public const int ERR_ORDERREQUEST_REPEATEDCLIENTSERIALNO = 3087;
  707. /// <summary>
  708. /// 买卖值错误
  709. /// </summary>
  710. public const int ERR_ORDERREQUEST_WRONGBUYORSELL = 3088;
  711. /// <summary>
  712. /// 下单类型错误
  713. /// </summary>
  714. public const int ERR_ORDERREQUEST_WRONGBUILDTYPE = 3089;
  715. /// <summary>
  716. /// 取价方式错误
  717. /// </summary>
  718. public const int ERR_ORDERREQUEST_WRONGPIRCEMODE = 3090;
  719. /// <summary>
  720. /// 关联持仓单方向错误
  721. /// </summary>
  722. public const int ERR_ORDERREQUEST_RELATEHOLDDIFFDIRECTION = 3091;
  723. /// <summary>
  724. /// 委托数量大于关联持仓单可平持仓数量
  725. /// </summary>
  726. public const int ERR_ORDERREQUEST_RELATEHOLDWRONGQTY = 3092;
  727. /// <summary>
  728. /// 委托数量大于可平持仓数量
  729. /// </summary>
  730. public const int ERR_ORDERREQUEST_POSITIONWRONGQTY = 3093;
  731. /// <summary>
  732. /// 委托消息头无关联单号
  733. /// </summary>
  734. public const int ERR_ORDERREQUEST_ORDERHEADNORELATEORDERID = 3094;
  735. /// <summary>
  736. /// 数据库中无最小买入数或申购单位参数
  737. /// </summary>
  738. public const int ERR_ORDERREQUEST_NOMINOPENNUMINSQL = 3095;
  739. /// <summary>
  740. /// 数据库中无最大买入数参数
  741. /// </summary>
  742. public const int ERR_ORDERREQUEST_NOMAXOPENNUMINSQL = 3096;
  743. /// <summary>
  744. /// 账户无此商品交易权限
  745. /// </summary>
  746. public const int ERR_ORDERREQUEST_ACCOUNTNOGOODSRIGHT = 3097;
  747. /// <summary>
  748. /// 委托关联委托单状态无效
  749. /// </summary>
  750. public const int ERR_ORDERHOLDER_RELATEORDERSTATUSINVALID = 3098;
  751. /// <summary>
  752. /// 委托消息无反手买入标志
  753. /// </summary>
  754. public const int ERR_ORDERREQUEST_NOREOPENFLAG = 3099;
  755. /// <summary>
  756. /// 数据库缺少账户状态或运行阶段的交易规则
  757. /// </summary>
  758. public const int ERR_ORDERREQUEST_LOSTTRADERULE = 3100;
  759. /// <summary>
  760. /// 数据库中无买最大持仓数参数
  761. /// </summary>
  762. public const int ERR_ORDERREQUEST_NOBUYMAXHOLDINSQL = 3101;
  763. /// <summary>
  764. /// 数据库中无卖最大持仓数参数
  765. /// </summary>
  766. public const int ERR_ORDERREQUEST_NOSELLMAXHOLDINSQL = 3102;
  767. /// <summary>
  768. /// 账户类型不是会员
  769. /// </summary>
  770. public const int ERR_ORDERREQUEST_WRONGMEMBERACCOUNTTYPE = 3103;
  771. /// <summary>
  772. /// 限价卖出暂不支持部分卖出
  773. /// </summary>
  774. public const int ERR_ORDERREQUEST_LIMITCLOSENOTSUPPORTPARTCLOSE = 3104;
  775. /// <summary>
  776. /// 当前账户不能平其他账户的单据
  777. /// </summary>
  778. public const int ERR_ORDERREQUEST_WRONGCLOSEACCOUNTID = 3105;
  779. /// <summary>
  780. /// 错误的委托账户类型
  781. /// </summary>
  782. public const int ERR_ORDERREQUEST_WRONGORDERACCOUNTTYPE = 3106;
  783. /// <summary>
  784. /// 无可用连续现货关系,确定对手失败
  785. /// </summary>
  786. public const int ERR_ORDERREQUEST_NOAVALIZBLEMMRELATION = 3107;
  787. /// <summary>
  788. /// 运行阶段不是申购中
  789. /// </summary>
  790. public const int ERR_ORDERREQUEST_RUNSTEPNOTINSUBSCRIPTING = 3108;
  791. /// <summary>
  792. /// 运行阶段不是待发售
  793. /// </summary>
  794. public const int ERR_ORDERREQUEST_RUNSTEPNOTINWAITISSUE = 3109;
  795. /// <summary>
  796. /// 发售账户受限
  797. /// </summary>
  798. public const int ERR_ORDERREQUEST_ISSUEACCOUNTSTATUSLIMITED = 3110;
  799. /// <summary>
  800. /// 当前账户不能撤其他账户的单据
  801. /// </summary>
  802. public const int ERR_ORDERREQUEST_CURRENTACCOUNTNOTCANCLEOTHER = 3111;
  803. /// <summary>
  804. /// 改单数量不为0且不能与原单据数量相同
  805. /// </summary>
  806. public const int ERR_ORDERREQUEST_MODIFYQTYWRONG = 3112;
  807. /// <summary>
  808. /// 数据库中无最大申购持仓数量
  809. /// </summary>
  810. public const int ERR_ORDERREQUEST_NOMAXAPPLYNUMS = 3113;
  811. /// <summary>
  812. /// 申购数量超过最大申购持仓数量
  813. /// </summary>
  814. public const int ERR_ORDERREQUEST_BEYONDMAXAPPLYNUMS = 3114;
  815. /// <summary>
  816. /// 触发类型值错误
  817. /// </summary>
  818. public const int ERR_ORDERREQUEST_WRONGTRIGGERTYPE = 3115;
  819. /// <summary>
  820. /// 触发价格值错误
  821. /// </summary>
  822. public const int ERR_ORDERREQUEST_WRONGTRIGGERPRICE = 3116;
  823. /// <summary>
  824. /// 消息头无UUID
  825. /// </summary>
  826. public const int ERR_ORDERREQUEST_NOUUID = 3117;
  827. /// <summary>
  828. /// 数据库无此预埋单
  829. /// </summary>
  830. public const int ERR_ORDERREQUEST_NOPREPOSTDETAIL = 3118;
  831. /// <summary>
  832. /// 撤单时,预埋单不在订单在市状态
  833. /// </summary>
  834. public const int ERR_ORDERREQUEST_WRONGPREPOSTDETAILSTATUS = 3119;
  835. /// <summary>
  836. /// 买方向,委托价格高于涨停价
  837. /// </summary>
  838. public const int ERR_ORDERREQUEST_BUYHIGHERNEXTLIMITUPPRICE = 3120;
  839. /// <summary>
  840. /// 卖方向,委托价格底于跌停价
  841. /// </summary>
  842. public const int ERR_ORDERREQUEST_SELLLOWERNEXTLIMITDOWNPRICE = 3121;
  843. /// <summary>
  844. /// 未查询到此商品的涨跌停价
  845. /// </summary>
  846. public const int ERR_ORDERREQUEST_NOGOODSLIMITUPDOWNPRICE = 3122;
  847. /// <summary>
  848. /// 委托价格不在此商品涨跌停价区间
  849. /// </summary>
  850. public const int ERR_ORDERREQUEST_WRONGGOODSNEXTLIMITPRICE = 3123;
  851. /// <summary>
  852. /// 挂牌市场受限状态只允许卖出持仓
  853. /// </summary>
  854. public const int ERR_ORDERREQUEST_BIDONLYCLOSE = 3124;
  855. /// <summary>
  856. /// 交易模式错误
  857. /// </summary>
  858. public const int ERR_ORDERREQUEST_WRONGTRADEMODE = 3125;
  859. /// <summary>
  860. /// 账户类型不是投资者
  861. /// </summary>
  862. public const int ERR_ORDERREQUEST_ACCOUNTTYPENOTINVESTOR = 3126;
  863. /// <summary>
  864. /// 下单类型不是改单
  865. /// </summary>
  866. public const int ERR_ORDERREQUEST_BUILDTYPENOTMODIFY = 3127;
  867. /// <summary>
  868. /// 止盈止损单不在在市状态
  869. /// </summary>
  870. public const int ERR_ORDERREQUEST_SPSLNOTINMARKETSTATUS = 3128;
  871. /// <summary>
  872. /// 止盈止损主单不在已成状态
  873. /// </summary>
  874. public const int ERR_ORDERREQUEST_SPSLMAINNOTINDEALEDSTATUS = 3129;
  875. /// <summary>
  876. /// 商品不在连续交易阶段,不允许下市价单
  877. /// </summary>
  878. public const int ERR_ORDERREQUEST_MARKETNOTINCONTINUOUS = 3130;
  879. /// <summary>
  880. /// 当前反方向持仓有冻结数量,不允许下先平后建单
  881. /// </summary>
  882. public const int ERR_ORDERREQUEST_HASREVERSEFREEZEQTYNOCLOSETHENOPEN = 3131;
  883. /// <summary>
  884. /// 数据库无最大持仓量参数
  885. /// </summary>
  886. public const int ERR_ORDERREQUEST_NOMAXHOLDNUMINSQL = 3132;
  887. /// <summary>
  888. /// 下单数量不允许超过最大持仓量
  889. /// </summary>
  890. public const int ERR_ORDERREQUEST_ORDERQTYBIGGERTHANMAXHOLDNUM = 3133;
  891. /// <summary>
  892. /// 最小买入数量或申购单位值不能为0
  893. /// </summary>
  894. public const int ERR_ORDERREQUEST_MINOPENORAPPLYNUMVALUEZERO = 3134;
  895. /// <summary>
  896. /// 没有找到可接单的结算会员
  897. /// </summary>
  898. public const int ERR_ORDERREQUEST_CANTFINDTOPMARKMEMBERACCEPTORDER = 3135;
  899. /// <summary>
  900. /// 下单数量不允许超过当前商品组最大持仓量
  901. /// </summary>
  902. public const int ERR_ORDERREQUEST_ORDERQTYBIGGERTHANGOODSGROUPMAXHOLDNUM = 3136;
  903. /// <summary>
  904. /// 未找到可用对手关系
  905. /// </summary>
  906. public const int ERR_ORDERREQUEST_NOTFINDVAILDMMRELATION = 3137;
  907. /// <summary>
  908. /// 竞价全额模式只允许买建仓,卖平仓
  909. /// </summary>
  910. public const int ERR_ORDERREQUEST_ONLYBUYOPENSELLCLOSEINBID = 3138;
  911. /// <summary>
  912. /// 数据库中无商品持仓天数限制参数
  913. /// </summary>
  914. public const int ERR_ORDERREQUEST_NOGOODSHOLDDAYSINSQL = 3139;
  915. /// <summary>
  916. /// 持仓单持仓天数小于限制天数
  917. /// </summary>
  918. public const int ERR_ORDERREQUEST_HOLDDAYSLESSTHANPARAM = 3140;
  919. /// <summary>
  920. /// 平仓数量必须是单笔最小交易数量整数倍,如果不是,则平仓数量必须等于可平数量
  921. /// </summary>
  922. public const int ERR_ORDERREQUEST_ORDERNUMLIMITEDWHENCLOSE = 3141;
  923. /// <summary>
  924. /// 市场ID为空
  925. /// </summary>
  926. public const int ERR_ORDERREQUEST_NOTMARKETID = 3142;
  927. /// <summary>
  928. /// 请求市场ID非法
  929. /// </summary>
  930. public const int ERR_ORDERREQUEST_MARKETID_INVALID = 3143;
  931. /// <summary>
  932. /// 市场ID不匹配
  933. /// </summary>
  934. public const int ERR_ORDERREQUEST_MARKETID_NOT_MATCH = 3144;
  935. /// <summary>
  936. /// 未选定摘牌类型
  937. /// </summary>
  938. public const int ERR_ORDERREQUEST_DELISTINGTYPE_NOTEXIST = 3145;
  939. /// <summary>
  940. /// 不允许摘相同账号的挂牌单据
  941. /// </summary>
  942. public const int ERR_ORDERREQUEST_NOTALLOW_DELISTING_MATCHACCOUNT_LISTING = 3146;
  943. /// <summary>
  944. /// 请求账户ID非法
  945. /// </summary>
  946. public const int ERR_ORDERREQUEST_ACCOUNTID_INVALID = 3147;
  947. /// <summary>
  948. /// 请求参数不全
  949. /// </summary>
  950. public const int ERR_ORDERREQUEST_PARAM_MISSHAPEN = 3148;
  951. /// <summary>
  952. /// 委托用户ID为空
  953. /// </summary>
  954. public const int ERR_ORDERREQUEST_NOTUSERID = 3149;
  955. /// <summary>
  956. /// 委托用户无账户权限
  957. /// </summary>
  958. public const int ERR_ORDERREQUEST_USER_ACCOUNT_NORIGHT = 3150;
  959. /// <summary>
  960. /// 关联用户账户状态不支持委托类型
  961. /// </summary>
  962. public const int ERR_ORDERREQUEST_RELATEDUSER_ACCOUNTSTATUS_NOSUPPORT = 3151;
  963. /// <summary>
  964. /// 小于最小建仓数量
  965. /// </summary>
  966. public const int ERR_ORDERREQUEST_LESS_THAN_MIN_WAREHOUSE = 3152;
  967. /// <summary>
  968. /// 大于最大建仓数量
  969. /// </summary>
  970. public const int ERR_ORDERREQUEST_GREATER_THAN_MAX_WAREHOUSE = 3153;
  971. /// <summary>
  972. /// 市场未开市
  973. /// </summary>
  974. public const int ERR_ORDERREQUEST_MARKET_NOT_OPEN = 3154;
  975. /// <summary>
  976. /// 目标挂牌单据已失效
  977. /// </summary>
  978. public const int ERR_ORDERREQUEST_LISTINGORDER_STATUS_INVALID = 3155;
  979. /// <summary>
  980. /// 冻结持仓汇总失败
  981. /// </summary>
  982. public const int ERR_BIDMATCH_FREEZE_POSITION_FAILED = 3200;
  983. /// <summary>
  984. /// 冻结持仓失败
  985. /// </summary>
  986. public const int ERR_BIDMATCH_FREEZE_HOLDER_FAILED = 3201;
  987. /// <summary>
  988. /// 解冻持仓汇总失败
  989. /// </summary>
  990. public const int ERR_BIDMATCH_UNFREEZE_POSITION_FAILED = 3202;
  991. /// <summary>
  992. /// 解冻持仓失败
  993. /// </summary>
  994. public const int ERR_BIDMATCH_UNFREEZE_HOLDER_FAILED = 3203;
  995. /// <summary>
  996. /// 成交数量大于冻结数量
  997. /// </summary>
  998. public const int ERR_BIDMATCH_DEAL_POSITION_FAILED = 3204;
  999. /// <summary>
  1000. /// 成交数量大于持仓数量
  1001. /// </summary>
  1002. public const int ERR_BIDMATCH_DEAL_HOLDER_FAILED = 3205;
  1003. /// <summary>
  1004. /// 商品不是开市状态
  1005. /// </summary>
  1006. public const int ERR_BIDMATCH_TRANSHOLDER_NO_OPEN = 3206;
  1007. /// <summary>
  1008. /// 没有找到对应的持仓单
  1009. /// </summary>
  1010. public const int ERR_BIDMATCH_FIND_HOLDER_FAILED = 3207;
  1011. /// <summary>
  1012. /// 持仓单有部分数量被冻结
  1013. /// </summary>
  1014. public const int ERR_BIDMATCH_INVALID_HOLDER_FREEZE = 3208;
  1015. /// <summary>
  1016. /// 持仓汇总可用数量不足
  1017. /// </summary>
  1018. public const int ERR_BIDMATCH_AVAILABLE_NUM_FAILED = 3209;
  1019. /// <summary>
  1020. /// 查找投资者对应的交易会员失败
  1021. /// </summary>
  1022. public const int ERR_XMATCH_MIXED_MEMBER_FAILED = 3210;
  1023. /// <summary>
  1024. /// 没有设置混合模式下会员报价
  1025. /// </summary>
  1026. public const int ERR_XMATCH_MIXED_ORDERSETTINT_FAILED = 3211;
  1027. /// <summary>
  1028. /// 撤单失败,同一张单据不允许被重复撤单
  1029. /// </summary>
  1030. public const int ERR_MATCH_CANCELED_REPEATEDLY = 3212;
  1031. /// <summary>
  1032. /// 交割请求数据无效
  1033. /// </summary>
  1034. public const int ERR_MATCH_DELIVERYREQ_INVALID = 3213;
  1035. /// <summary>
  1036. /// 获取斩仓对应的持仓失败
  1037. /// </summary>
  1038. public const int ERR_RISKCLOSE_GETHOLDERS_FAIL = 3300;
  1039. /// <summary>
  1040. /// 计算斩仓手续费失败
  1041. /// </summary>
  1042. public const int ERR_RISKCLOSE_ALCCLOSECHANGE_FAIL = 3301;
  1043. /// <summary>
  1044. /// 账户委托回应失败
  1045. /// </summary>
  1046. public const int ERR_RISKCLOSE_ACCOUNTORDERRSP_FAIL = 3302;
  1047. /// <summary>
  1048. /// 账户成交回应失败
  1049. /// </summary>
  1050. public const int ERR_RISKCLOSE_ACCOUNTTRADERSP_FAIL = 3303;
  1051. /// <summary>
  1052. /// 冻结会员头寸失败
  1053. /// </summary>
  1054. public const int ERR_RISKCLOSE_FREEZEMEMBERPOSITION_FAIL = 3304;
  1055. /// <summary>
  1056. /// 获取会员头寸失败
  1057. /// </summary>
  1058. public const int ERR_RISKCLOSE_GETMEMBERPOSITION_FAIL = 3305;
  1059. /// <summary>
  1060. /// 没有市场信息
  1061. /// </summary>
  1062. public const int ERR_RECKON_NO_MARKET_INFO = 3400;
  1063. /// <summary>
  1064. /// 没有结算计划
  1065. /// </summary>
  1066. public const int ERR_RECKON_NO_PLAN = 3401;
  1067. /// <summary>
  1068. /// 获取结算价TIK失败
  1069. /// </summary>
  1070. public const int ERR_RECKON_FETCH_RECKON_PRICE_TIK_FAIL = 3402;
  1071. /// <summary>
  1072. /// 不是所有商品都有行情TIK
  1073. /// </summary>
  1074. public const int ERR_RECKON_NOT_ALL_GOODS_HAS_TIK = 3403;
  1075. /// <summary>
  1076. /// 找不到上次商品结算信息
  1077. /// </summary>
  1078. public const int ERR_RECKON_NOT_FOUND_LAST_RECKON_INFO = 3404;
  1079. /// <summary>
  1080. /// 更新涨跌停价到商品属性表失败
  1081. /// </summary>
  1082. public const int ERR_RECKON_UPDATE_LIMIT_PRICE_FAIL = 3405;
  1083. /// <summary>
  1084. /// 协议转让失败
  1085. /// </summary>
  1086. public const int ERR_RECKON_TREATY_CLOSE_FAIL = 3406;
  1087. /// <summary>
  1088. /// 到期单撤单失败
  1089. /// </summary>
  1090. public const int ERR_RECKON_CANCEL_ORDER_FAIL = 3407;
  1091. /// <summary>
  1092. /// 等待资金响应超时
  1093. /// </summary>
  1094. public const int ERR_RECKON_WAIT_MONEY_RSP_TIME_OUT = 3408;
  1095. /// <summary>
  1096. /// 资金请求失败
  1097. /// </summary>
  1098. public const int ERR_RECKON_MONEY_REQ_FAIL = 3409;
  1099. /// <summary>
  1100. /// 费用分成创建源单据失败
  1101. /// </summary>
  1102. public const int ERR_RECKON_FEEDIVDE_BUILD_SRCORDER_FAILED = 3410;
  1103. /// <summary>
  1104. /// 费用分成创建目标失败
  1105. /// </summary>
  1106. public const int ERR_RECKON_FEEDIVDE_BUILD_TARGET_FAILED = 3411;
  1107. /// <summary>
  1108. /// 费用分成加载目标失败
  1109. /// </summary>
  1110. public const int ERR_RECKON_FEEDIVDE_LOAD_TARGET_FAILED = 3412;
  1111. /// <summary>
  1112. /// 费用分成没有目标账号
  1113. /// </summary>
  1114. public const int ERR_RECKON_FEEDIVDE_TARGETACCOUNTS_SIZE_ISZERO = 3413;
  1115. /// <summary>
  1116. /// 费用分成插入账号分成日志失败
  1117. /// </summary>
  1118. public const int ERR_RECKON_FEEDIVDE_INSERT_ACCOUNTDIVIDELOG_FAILED = 3414;
  1119. /// <summary>
  1120. /// 费用分成查询分成类型失败
  1121. /// </summary>
  1122. public const int ERR_RECKON_FEEDIVDE_QUERY_FEEDIVIDETYPES_FAILED = 3415;
  1123. /// <summary>
  1124. /// 费用分成没有分成类型
  1125. /// </summary>
  1126. public const int ERR_RECKON_FEEDIVDE_NO_FEEDIVIDETYPES_FOUND = 3416;
  1127. /// <summary>
  1128. /// 费用分成账号数据在分成之前
  1129. /// </summary>
  1130. public const int ERR_RECKON_FEEDIVDE_ACCOUNTLOG_DATAEXIST_BEFORE_DIVIDE = 3417;
  1131. /// <summary>
  1132. /// 费用分成检查节点失败
  1133. /// </summary>
  1134. public const int ERR_RECKON_FEEDIVDE_NODE_CHECK_ERROR = 3418;
  1135. /// <summary>
  1136. /// 费用分成找不到源单据
  1137. /// </summary>
  1138. public const int ERR_RECKON_FEEDIVDE_CANNOTFOUND_SRCORDER = 3419;
  1139. /// <summary>
  1140. /// 费用分成找不到目标账号
  1141. /// </summary>
  1142. public const int ERR_RECKON_FEEDIVDE_CANNOTFOUND_TARGETACCOUNT = 3420;
  1143. /// <summary>
  1144. /// 费用分成插入目标单据失败
  1145. /// </summary>
  1146. public const int ERR_RECKON_FEEDIVDE_INSERT_TARGETORDER_FAILED = 3421;
  1147. /// <summary>
  1148. /// 费用分成加载账号日志失败
  1149. /// </summary>
  1150. public const int ERR_RECKON_FEEDIVDE_LOAD_ACCOUNTLOG_FAILED = 3422;
  1151. /// <summary>
  1152. /// 费用分成没有目标单据产生
  1153. /// </summary>
  1154. public const int ERR_RECKON_FEEDIVDE_NO_TARGETORDER_OCCURED = 3423;
  1155. /// <summary>
  1156. /// 费用分成未创建目标
  1157. /// </summary>
  1158. public const int ERR_RECKON_FEEDIVDE_NO_TARGET_CREATED = 3424;
  1159. /// <summary>
  1160. /// 费用分成源单据金额与目标单据金额不匹配
  1161. /// </summary>
  1162. public const int ERR_RECKON_FEEDIVDE_SRC_TARGET_AMOUNT_NOTMATCH = 3425;
  1163. /// <summary>
  1164. /// 费用分成目标单据金额与目标账户金额不匹配
  1165. /// </summary>
  1166. public const int ERR_RECKON_FEEDIVDE_TARGET_ACCOUNT_AMOUNT_NOTMATCH = 3426;
  1167. /// <summary>
  1168. /// 费用分成没有账号分配
  1169. /// </summary>
  1170. public const int ERR_RECKON_FEEDIVDE_NO_ACCOUNT_DIVIDE_FOUND = 3427;
  1171. /// <summary>
  1172. /// 费用分成资金响应超时
  1173. /// </summary>
  1174. public const int ERR_RECKON_FEEDIVDE_MONEY_MSG_TIMEOUT = 3428;
  1175. /// <summary>
  1176. /// 费用分成未知错误
  1177. /// </summary>
  1178. public const int ERR_RECKON_FEEDIVDE_UNKNOWN_ERROR = 3429;
  1179. /// <summary>
  1180. /// 费用分成资金返回错误
  1181. /// </summary>
  1182. public const int ERR_RECKON_FEEDIVDE_MONEY_RET_ERROR = 3430;
  1183. /// <summary>
  1184. /// 导到历史表失败
  1185. /// </summary>
  1186. public const int ERR_RECKON_EXPORT_TO_HIS_FAIL = 3431;
  1187. /// <summary>
  1188. /// 没有可结算的商品
  1189. /// </summary>
  1190. public const int ERR_RECKON_NO_SETTLE_GOODS = 3432;
  1191. /// <summary>
  1192. /// 商品发行价没有配置
  1193. /// </summary>
  1194. public const int ERR_RECKON_LISTEN_PRICE_NOT_CONFIG = 3433;
  1195. /// <summary>
  1196. /// 商品上市日不是下个交易日不能结算
  1197. /// </summary>
  1198. public const int ERR_RECKON_FIRST_DATE_NOT_NEXT_TRADE_DATE = 3434;
  1199. /// <summary>
  1200. /// 结算撤销预买单失败
  1201. /// </summary>
  1202. public const int ERR_RECKON_CANCEL_PRE_POST_ORDER_FAIL = 3435;
  1203. /// <summary>
  1204. /// 结算请求与结算工作模式不一致
  1205. /// </summary>
  1206. public const int ERR_RECKON_NOT_FOR_THIS_TRADE_MODE = 3436;
  1207. /// <summary>
  1208. /// 到期强平撤单失败
  1209. /// </summary>
  1210. public const int ERR_RECKON_FORCE_CLOSE_CANCEL_ORDER_FAIL = 3437;
  1211. /// <summary>
  1212. /// 到期强平失败
  1213. /// </summary>
  1214. public const int ERR_RECKON_FORCE_CLOSE_FAIL = 3438;
  1215. /// <summary>
  1216. /// 无效的分成金额
  1217. /// </summary>
  1218. public const int ERR_RECKON_FEEDIVDE_DIVIDEAMOUNT_INVALID = 3439;
  1219. /// <summary>
  1220. /// 无效的分成目标账号
  1221. /// </summary>
  1222. public const int ERR_RECKON_FEEDIVDE_DIVIDETARGET_INVALID = 3440;
  1223. /// <summary>
  1224. /// 分成比例超出100%
  1225. /// </summary>
  1226. public const int ERR_RECKON_FEEDIVDE_RATIO_OVER100 = 3441;
  1227. /// <summary>
  1228. /// 分成比例不足100%
  1229. /// </summary>
  1230. public const int ERR_RECKON_FEEDIVDE_RATIO_NOTENOUGH100 = 3442;
  1231. /// <summary>
  1232. /// 获取涨跌停交易规则失败
  1233. /// </summary>
  1234. public const int ERR_RECKON_FETCH_TRADE_RULE_FAIL = 3443;
  1235. /// <summary>
  1236. /// 首次结算但发行日期不是下一个交易日
  1237. /// </summary>
  1238. public const int ERR_RECKON_LISTEN_DATE_NOT_NEXT_TRADE_DATE = 3444;
  1239. /// <summary>
  1240. /// 商品没有配置到期处理方式
  1241. /// </summary>
  1242. public const int ERR_RECKON_NOT_CONFIG_TIMEOUT_DEAL_METHOD = 3445;
  1243. /// <summary>
  1244. /// 到期无效交易服务返回失败
  1245. /// </summary>
  1246. public const int ERR_RECKON_INVALID_HOLDER_FAIL = 3446;
  1247. /// <summary>
  1248. /// 此交易日已经结算过
  1249. /// </summary>
  1250. public const int ERR_RECKON_ALREADY_DONE = 3447;
  1251. /// <summary>
  1252. /// 下一个交易日比当前交易日小
  1253. /// </summary>
  1254. public const int ERR_RECKON_NEXT_TRADE_DATE_LARGER_THAN_CUR = 3448;
  1255. /// <summary>
  1256. /// 有部分单据在交易过程中存在错误
  1257. /// </summary>
  1258. public const int ERR_RECKON_HAS_SOME_TRADE_FAIL_ORDER = 3449;
  1259. /// <summary>
  1260. /// 结算单据试算平衡处理失败
  1261. /// </summary>
  1262. public const int ERR_RECKON_BALANCE_CALCULATE_FAIL = 3450;
  1263. /// <summary>
  1264. /// 结算委托单撤单处理失败
  1265. /// </summary>
  1266. public const int ERR_RECKON_ORDER_CANCEL_FAIL = 3451;
  1267. /// <summary>
  1268. /// 结算预埋单撤单处理失败
  1269. /// </summary>
  1270. public const int ERR_RECKON_PERPOST_CANCEL_FAIL = 3452;
  1271. /// <summary>
  1272. /// 结算结算价节点处理失败
  1273. /// </summary>
  1274. public const int ERR_RECKON_RECKPRICE_CALCULATE_FAIL = 3453;
  1275. /// <summary>
  1276. /// 结算持仓单备份处理失败
  1277. /// </summary>
  1278. public const int ERR_RECKON_HOLDERDETAIL_BACKUP_FAIL = 3454;
  1279. /// <summary>
  1280. /// 结算持仓单到期解冻处理失败
  1281. /// </summary>
  1282. public const int ERR_RECKON_HOLDER_EXPIRE_UNFREEZE_FAIL = 3455;
  1283. /// <summary>
  1284. /// 结算价不能为0
  1285. /// </summary>
  1286. public const int ERR_RECKON_RECKONPRICE_CANNOT_ZERO = 3456;
  1287. /// <summary>
  1288. /// 内存不足
  1289. /// </summary>
  1290. public const int ERR_ACCOUNT_MEMORYNOTENOUGH_ERR = 4001;
  1291. /// <summary>
  1292. /// 没有协议头
  1293. /// </summary>
  1294. public const int ERR_ACCOUNT_NOHEADER_ERR = 4002;
  1295. /// <summary>
  1296. /// 没有账户ID
  1297. /// </summary>
  1298. public const int ERR_ACCOUNT_NOACCOUNTID_ERR = 4003;
  1299. /// <summary>
  1300. /// 账户不存在
  1301. /// </summary>
  1302. public const int ERR_ACCOUNT_ACCOUNTNOTEXIST_ERR = 4004;
  1303. /// <summary>
  1304. /// 没有业务编码
  1305. /// </summary>
  1306. public const int ERR_ACCOUNT_NOBUSINESSCODE_ERR = 4005;
  1307. /// <summary>
  1308. /// 没有关联委托单号
  1309. /// </summary>
  1310. public const int ERR_ACCOUNT_NORELATEDORDERID_ERR = 4006;
  1311. /// <summary>
  1312. /// 没有命令码
  1313. /// </summary>
  1314. public const int ERR_ACCOUNT_NOCOMMANDCODE_ERR = 4007;
  1315. /// <summary>
  1316. /// 解析子命令失败
  1317. /// </summary>
  1318. public const int ERR_ACCOUNT_PARSESUBCMD_ERR = 4008;
  1319. /// <summary>
  1320. /// 没有操作类型
  1321. /// </summary>
  1322. public const int ERR_ACCOUNT_NOOPERATETYPE_ERR = 4009;
  1323. /// <summary>
  1324. /// 无效操作类型
  1325. /// </summary>
  1326. public const int ERR_ACCOUNT_INVALIDOPERATETYPE_ERR = 4010;
  1327. /// <summary>
  1328. /// 资金不足
  1329. /// </summary>
  1330. public const int ERR_ACCOUNT_MONEYNOTENOUGH_ERR = 4011;
  1331. /// <summary>
  1332. /// 没有商品ID
  1333. /// </summary>
  1334. public const int ERR_ACCOUNT_NOGOODSID_ERR = 4012;
  1335. /// <summary>
  1336. /// 没有买卖方向
  1337. /// </summary>
  1338. public const int ERR_ACCOUNT_NOBUYORSELL_ERR = 4013;
  1339. /// <summary>
  1340. /// 不存在商品
  1341. /// </summary>
  1342. public const int ERR_ACCOUNT_GOODSNOTEXIST_ERR = 4014;
  1343. /// <summary>
  1344. /// 头寸不足
  1345. /// </summary>
  1346. public const int ERR_ACCOUNT_POSITIONNOTENOUGH_ERR = 4015;
  1347. /// <summary>
  1348. /// 交易参数不存在
  1349. /// </summary>
  1350. public const int ERR_ACCOUNT_TRADEPARAMNOTEXIST_ERR = 4016;
  1351. /// <summary>
  1352. /// 没有变更类型
  1353. /// </summary>
  1354. public const int ERR_ACCOUNT_NOCHANGETYPE_ERR = 4017;
  1355. /// <summary>
  1356. /// 无效变更类型
  1357. /// </summary>
  1358. public const int ERR_ACCOUNT_INVALIDCHANGETYPE_ERR = 4018;
  1359. /// <summary>
  1360. /// 没有查询掩码
  1361. /// </summary>
  1362. public const int ERR_ACCOUNT_NOQUERYBITMASK_ERR = 4019;
  1363. /// <summary>
  1364. /// 无效买卖方向
  1365. /// </summary>
  1366. public const int ERR_ACCOUNT_INVALIDBUYORSELL_ERR = 4020;
  1367. /// <summary>
  1368. /// 无效交易模式
  1369. /// </summary>
  1370. public const int ERR_ACCOUNT_INVALIDTRADEMODE_ERR = 4021;
  1371. /// <summary>
  1372. /// 无效交易属性
  1373. /// </summary>
  1374. public const int ERR_ACCOUNT_INVALIDTRADEPROPERTY_ERR = 4022;
  1375. /// <summary>
  1376. /// 违反唯一性
  1377. /// </summary>
  1378. public const int ERR_ACCOUNT_VIOLATEDUNIQUENESS_ERR = 4023;
  1379. /// <summary>
  1380. /// 没有交易日
  1381. /// </summary>
  1382. public const int ERR_ACCOUNT_NOTRADEDATE_ERR = 4024;
  1383. /// <summary>
  1384. /// 无效交易日
  1385. /// </summary>
  1386. public const int ERR_ACCOUNT_INVALIDTRADEDATE_ERR = 4025;
  1387. /// <summary>
  1388. /// 格式化交易日失败
  1389. /// </summary>
  1390. public const int ERR_ACCOUNT_FORMATTRADEDATE_ERR = 4026;
  1391. /// <summary>
  1392. /// 没有市场运行状态
  1393. /// </summary>
  1394. public const int ERR_ACCOUNT_NOMARKETRUNSTATUS_ERR = 4027;
  1395. /// <summary>
  1396. /// 查询数据库失败
  1397. /// </summary>
  1398. public const int ERR_ACCOUNT_QUERYDATABASE_ERR = 4028;
  1399. /// <summary>
  1400. /// 记录不存在
  1401. /// </summary>
  1402. public const int ERR_ACCOUNT_RECORDSNOTEXIST_ERR = 4029;
  1403. /// <summary>
  1404. /// 校验资金失败
  1405. /// </summary>
  1406. public const int ERR_ACCOUNT_VERIFYFUNDFAILED_ERR = 4030;
  1407. /// <summary>
  1408. /// 校验头寸失败
  1409. /// </summary>
  1410. public const int ERR_ACCOUNT_VERIFYPOSITIONFAILED_ERR = 4031;
  1411. /// <summary>
  1412. /// 获取浮动盈亏失败
  1413. /// </summary>
  1414. public const int ERR_ACCOUNT_GETFLOATPLFAILED_ERR = 4032;
  1415. /// <summary>
  1416. /// 数据库事务失败
  1417. /// </summary>
  1418. public const int ERR_ACCOUNT_DATABASETRANSACT_ERR = 4033;
  1419. /// <summary>
  1420. /// 缺少必要字段
  1421. /// </summary>
  1422. public const int ERR_ACCOUNT_NOREQUIREDFIELD_ERR = 4034;
  1423. /// <summary>
  1424. /// 没有用户ID
  1425. /// </summary>
  1426. public const int ERR_ACCOUNT_NOUSERID_ERR = 4035;
  1427. /// <summary>
  1428. /// 用户不存在错误
  1429. /// </summary>
  1430. public const int ERR_ACCOUNT_USERNOTEXIST_ERR = 4036;
  1431. /// <summary>
  1432. /// 超过最大持仓量
  1433. /// </summary>
  1434. public const int ERR_ACCOUNT_EXCEEDMAXHOLDPOSITION_ERR = 4037;
  1435. /// <summary>
  1436. /// 没有市场ID
  1437. /// </summary>
  1438. public const int ERR_ACCOUNT_NOMARKETID_ERR = 4038;
  1439. /// <summary>
  1440. /// 预结算成功
  1441. /// </summary>
  1442. public const int ERR_ACCOUNT_PRERECKONSUCCESS_ERR = 4039;
  1443. /// <summary>
  1444. /// 数量正负号错误
  1445. /// </summary>
  1446. public const int ERR_ACCOUNT_SIGNOFQTY_ERR = 4040;
  1447. /// <summary>
  1448. /// 金额正负号错误
  1449. /// </summary>
  1450. public const int ERR_ACCOUNT_SIGNOFAMOUNT_ERR = 4041;
  1451. /// <summary>
  1452. /// 手数变负异常
  1453. /// </summary>
  1454. public const int ERR_ACCOUNT_QTYNEGAEXCEPTION_ERR = 4042;
  1455. /// <summary>
  1456. /// 金额变负异常
  1457. /// </summary>
  1458. public const int ERR_ACCOUNT_AMOUNTNEGAEXCEPTION_ERR = 4043;
  1459. /// <summary>
  1460. /// 没有保证金配置
  1461. /// </summary>
  1462. public const int ERR_ACCOUNT_NOMARGINCONFIG_ERR = 4044;
  1463. /// <summary>
  1464. /// 更新占用保证金失败
  1465. /// </summary>
  1466. public const int ERR_ACCOUNT_UPDATEUSEDMARGIN_ERR = 4045;
  1467. /// <summary>
  1468. /// 行情未找到
  1469. /// </summary>
  1470. public const int ERR_RISK_CANNOT_FOUND_QUOTE = 4506;
  1471. /// <summary>
  1472. /// 无效的查询参数
  1473. /// </summary>
  1474. public const int ERR_QUERY_INVALID_PARAM = 5001;
  1475. /// <summary>
  1476. /// 业务处理中
  1477. /// </summary>
  1478. public const int ERR_BANK_DOING = 6001;
  1479. /// <summary>
  1480. /// 获取托管银签到签退信息失败
  1481. /// </summary>
  1482. public const int ERR_BANK_FAILTOGETSIGNINTABLEINFO = 6002;
  1483. /// <summary>
  1484. /// 托管银没有为签到
  1485. /// </summary>
  1486. public const int ERR_BANK_BANKNOTSIGNIN = 6003;
  1487. /// <summary>
  1488. /// 获取公共配置失败
  1489. /// </summary>
  1490. public const int ERR_BANK_FAILTOGETSYSCONFIG = 6004;
  1491. /// <summary>
  1492. /// 币种校验失败(与托管银行币种不一致)
  1493. /// </summary>
  1494. public const int ERR_BANK_ERRCURRENCY = 6005;
  1495. /// <summary>
  1496. /// 该银行禁止发起签约
  1497. /// </summary>
  1498. public const int ERR_BANK_FORBIDSIGNBANK = 6006;
  1499. /// <summary>
  1500. /// 等待审核
  1501. /// </summary>
  1502. public const int ERR_BANK_WAITINGCONFIRM = 6007;
  1503. /// <summary>
  1504. /// 错误码转换失败
  1505. /// </summary>
  1506. public const int ERR_BANK_FAILTOCONVERERRCORD = 6008;
  1507. /// <summary>
  1508. /// 获取缓存失败
  1509. /// </summary>
  1510. public const int ERR_BANK_FAILTOGETCACHE = 6009;
  1511. /// <summary>
  1512. /// 业务重复
  1513. /// </summary>
  1514. public const int ERR_BANK_REPEATED = 6010;
  1515. /// <summary>
  1516. /// 解析报文失败
  1517. /// </summary>
  1518. public const int ERR_BANK_PKGERR = 6011;
  1519. /// <summary>
  1520. /// 账户服务冻结资金失败
  1521. /// </summary>
  1522. public const int ERR_BANK_ASFROZENFAIL = 6012;
  1523. /// <summary>
  1524. /// 获取msg表的记录失败
  1525. /// </summary>
  1526. public const int ERR_BANK_FAIL_TOGET_MSGTABLE_RECORDS = 6013;
  1527. /// <summary>
  1528. /// 无法反序列化MSG表记录的对象内容
  1529. /// </summary>
  1530. public const int ERR_BANK_FAIL_TOPARSE_FROM_MSGTABLE_REC = 6014;
  1531. /// <summary>
  1532. /// 获取数据库记录失败
  1533. /// </summary>
  1534. public const int ERR_BANK_FAIL_TOGET_DB_RECORD = 6015;
  1535. /// <summary>
  1536. /// 系统错误
  1537. /// </summary>
  1538. public const int ERR_BANK_SYS_ERR = 6016;
  1539. /// <summary>
  1540. /// 账户服务解冻资金失败
  1541. /// </summary>
  1542. public const int ERR_BANK_UNFREEFAIL = 6017;
  1543. /// <summary>
  1544. /// 账户服务扣款(出金)失败
  1545. /// </summary>
  1546. public const int ERR_BANK_ACOUTAIL = 6018;
  1547. /// <summary>
  1548. /// 客户签约状态不在业务允许范围内
  1549. /// </summary>
  1550. public const int ERR_BANK_SIGNSTATUSERR = 6019;
  1551. /// <summary>
  1552. /// 系统禁止出金
  1553. /// </summary>
  1554. public const int ERR_BANK_FORBIDOUTBANK = 6020;
  1555. /// <summary>
  1556. /// 出金金额太小
  1557. /// </summary>
  1558. public const int ERR_BANK_AMOUTTOSMALL = 6021;
  1559. /// <summary>
  1560. /// 出金金额太大
  1561. /// </summary>
  1562. public const int ERR_BANK_AMOUTTOBIG = 6022;
  1563. /// <summary>
  1564. /// 出金次数超限制
  1565. /// </summary>
  1566. public const int ERR_BANK_COUNTOUTTIME = 6023;
  1567. /// <summary>
  1568. /// 出金总金额超限制
  1569. /// </summary>
  1570. public const int ERR_BANK_SUMOUTAMOUNT = 6024;
  1571. /// <summary>
  1572. /// 计算手续费失败
  1573. /// </summary>
  1574. public const int ERR_BANK_GETCHARGE = 6025;
  1575. /// <summary>
  1576. /// 资金密码错误
  1577. /// </summary>
  1578. public const int ERR_BANK_ACCPASSWORD = 6026;
  1579. /// <summary>
  1580. /// 金额太大,需要审核
  1581. /// </summary>
  1582. public const int ERR_BANK_TOOBIGAMOUNTNEEDCONFIRM = 6027;
  1583. /// <summary>
  1584. /// 解冻扣款中
  1585. /// </summary>
  1586. public const int ERR_BANK_ASDOINGUNFREEANDOUT = 6028;
  1587. /// <summary>
  1588. /// 账户服务扣款中
  1589. /// </summary>
  1590. public const int ERR_BANK_ASDOINGOUT = 6029;
  1591. /// <summary>
  1592. /// 账户服务入金中
  1593. /// </summary>
  1594. public const int ERR_BANK_ASDOINGIN = 6030;
  1595. /// <summary>
  1596. /// 账户服务解冻中
  1597. /// </summary>
  1598. public const int ERR_BANK_ASDOINGUNFREE = 6031;
  1599. /// <summary>
  1600. /// 系统禁止入金
  1601. /// </summary>
  1602. public const int ERR_BANK_FORBIDINBANK = 6032;
  1603. /// <summary>
  1604. /// 入金金额太小
  1605. /// </summary>
  1606. public const int ERR_BANK_AMINTOSMALL = 6033;
  1607. /// <summary>
  1608. /// 入金金额太大
  1609. /// </summary>
  1610. public const int ERR_BANK_AMINTOBIG = 6034;
  1611. /// <summary>
  1612. /// 入金次数超限制
  1613. /// </summary>
  1614. public const int ERR_BANK_COUNTINTIME = 6035;
  1615. /// <summary>
  1616. /// 入金总金额超限制
  1617. /// </summary>
  1618. public const int ERR_BANK_SUMINAMOUNT = 6036;
  1619. /// <summary>
  1620. /// 入金处理中
  1621. /// </summary>
  1622. public const int ERR_BANK_DOINGINMONEY = 6037;
  1623. /// <summary>
  1624. /// 系统找不到这样的流水号
  1625. /// </summary>
  1626. public const int ERR_BANK_ERRQUERYEXCHTICKET = 6038;
  1627. /// <summary>
  1628. /// 账户服务操作失败
  1629. /// </summary>
  1630. public const int ERR_BANK_ASOPERFAIL = 6039;
  1631. /// <summary>
  1632. /// 客户已经处于已签约状态
  1633. /// </summary>
  1634. public const int ERR_BANK_HAVEINSIGNEDSTATUS = 6040;
  1635. /// <summary>
  1636. /// 客户当前的签约状态不允许再发起签约
  1637. /// </summary>
  1638. public const int ERR_BANK_SIGNEDSTATUSERR = 6041;
  1639. /// <summary>
  1640. /// 系统禁止解约
  1641. /// </summary>
  1642. public const int ERR_BANK_FORBIDCANCELSIGN = 6042;
  1643. /// <summary>
  1644. /// 客户已经处于解约状态
  1645. /// </summary>
  1646. public const int ERR_BANK_HAVEINCANCELSIGNSTATUS = 6043;
  1647. /// <summary>
  1648. /// 客户不是签约状态,不能解约
  1649. /// </summary>
  1650. public const int ERR_BANK_NOTINSIGNSTATUS = 6044;
  1651. /// <summary>
  1652. /// 客户当前状态不能解约
  1653. /// </summary>
  1654. public const int ERR_BANK_STATUSNOTALLOWTOCANCELSIGN = 6045;
  1655. /// <summary>
  1656. /// 账户服务冻结资金中
  1657. /// </summary>
  1658. public const int ERR_BANK_FROZEN = 6046;
  1659. /// <summary>
  1660. /// 读取文件失败
  1661. /// </summary>
  1662. public const int ERR_BANK_READFILEFAILED = 6047;
  1663. /// <summary>
  1664. /// 写入文件失败
  1665. /// </summary>
  1666. public const int ERR_BANK_WRITEFILEFAILED = 6048;
  1667. /// <summary>
  1668. /// 审核已拒绝次申请
  1669. /// </summary>
  1670. public const int ERR_BANK_CONFIRM_REJECT = 6049;
  1671. /// <summary>
  1672. /// 对账结果:成功
  1673. /// </summary>
  1674. public const int ERR_BANK_ACR_SUCCESS = 6050;
  1675. /// <summary>
  1676. /// 对账结果:平台成功,金额不一致
  1677. /// </summary>
  1678. public const int ERR_BANK_ACR_PLATFORMSUCCESSAMOUNTERR = 6051;
  1679. /// <summary>
  1680. /// 对账结果:平台缺失(银行存在系统不存在)
  1681. /// </summary>
  1682. public const int ERR_BANK_ACR_PLATFORMMISS = 6052;
  1683. /// <summary>
  1684. /// 对账结果:银行成功,平台失败
  1685. /// </summary>
  1686. public const int ERR_BANK_ACR_CENTERSUCCESSPLATFORMFAIL = 6053;
  1687. /// <summary>
  1688. /// 对账结果:银行成功,平台处理中
  1689. /// </summary>
  1690. public const int ERR_BANK_ACR_CERTERSUCCESSPLATFORMDOING = 6054;
  1691. /// <summary>
  1692. /// 对账结果:平台成功,银行不成功
  1693. /// </summary>
  1694. public const int ERR_BANK_ACR_PLATFORMSUCCESSCENTERFAIL = 6055;
  1695. /// <summary>
  1696. /// 对账结果:平台处理中,银行不成功
  1697. /// </summary>
  1698. public const int ERR_BANK_ACR_PLATFORMDOINGCENTERFAIL = 6056;
  1699. /// <summary>
  1700. /// 对账结果:平台处理中,金额不一致
  1701. /// </summary>
  1702. public const int ERR_BANK_ACR_PLATFORMDOINGAMOUNTERR = 6057;
  1703. /// <summary>
  1704. /// 对账结果:平台失败,金额不一致
  1705. /// </summary>
  1706. public const int ERR_BANK_ACR_PLATFORMFAILAMOUNTERR = 6058;
  1707. /// <summary>
  1708. /// 对账结果:平台成功,账户服务操作失败
  1709. /// </summary>
  1710. public const int ERR_BANK_ACR_PLATFORMSUCCESSASOPERATFAIL = 6059;
  1711. /// <summary>
  1712. /// 对账结果:平台失败,账户服务解冻资金失败
  1713. /// </summary>
  1714. public const int ERR_BANK_ACR_PLATFORMFAILASOPERATFAIL = 6060;
  1715. /// <summary>
  1716. /// 行情中断
  1717. /// </summary>
  1718. public const int ERR_QUOTE_INTERRUPTED = 7001;
  1719. /// <summary>
  1720. /// 没找到投资者账户信息
  1721. /// </summary>
  1722. public const int ERR_DELIVERY_NO_ACCOUNT_RECORD = 8001;
  1723. /// <summary>
  1724. /// 没找到交割关系
  1725. /// </summary>
  1726. public const int ERR_DELIVERY_NO_RELATION_RECORD = 8002;
  1727. /// <summary>
  1728. /// 交割申请日期不在允许范围内
  1729. /// </summary>
  1730. public const int ERR_DELIVERY_NOT_ALLOWED_ORDER_DATE = 8003;
  1731. /// <summary>
  1732. /// 交割申请数量小于最小交割手数
  1733. /// </summary>
  1734. public const int ERR_DELIVERY_ORDER_QTY_LESS_THEN_MIN = 8004;
  1735. /// <summary>
  1736. /// 创建交割委托处理对象失败
  1737. /// </summary>
  1738. public const int ERR_DELIVERY_CREATE_ORDER_DEAL_OBJ_FAILED = 8005;
  1739. /// <summary>
  1740. /// 未提供主商品ID
  1741. /// </summary>
  1742. public const int ERR_DELIVERY_NO_X_GOODID = 8006;
  1743. /// <summary>
  1744. /// 未提供主商品市场ID
  1745. /// </summary>
  1746. public const int ERR_DELIVERY_NO_X_MARKET = 8007;
  1747. /// <summary>
  1748. /// 未提供主商品手数
  1749. /// </summary>
  1750. public const int ERR_DELIVERY_NO_X_GOOD_QUANTITY = 8008;
  1751. /// <summary>
  1752. /// 未提供交割商品ID
  1753. /// </summary>
  1754. public const int ERR_DELIVERY_NO_DELIVERY_GOODID = 8009;
  1755. /// <summary>
  1756. /// 未提供交割手数
  1757. /// </summary>
  1758. public const int ERR_DELIVERY_NO_DELIVERY_GOOD_QUANTITY = 8010;
  1759. /// <summary>
  1760. /// 未提供交割仓单明细
  1761. /// </summary>
  1762. public const int ERR_DELIVERY_NO_DELIVERY_DETAIL = 8011;
  1763. /// <summary>
  1764. /// 未提供仓单账号
  1765. /// </summary>
  1766. public const int ERR_DELIVERY_NO_WAREHOUSE_ACCOUNTID = 8012;
  1767. /// <summary>
  1768. /// 未提供仓单手数
  1769. /// </summary>
  1770. public const int ERR_DELIVERY_NO_WAREHOUSE_QUANTITY = 8013;
  1771. /// <summary>
  1772. /// 交割主商品市场未开市
  1773. /// </summary>
  1774. public const int ERR_DELIVERY_X_MARKET_STATUS_NOT_OPEN = 8014;
  1775. /// <summary>
  1776. /// 主商品状态异常
  1777. /// </summary>
  1778. public const int ERR_DELIVERY_X_GOOD_STATUS_UNNORMAL = 8015;
  1779. /// <summary>
  1780. /// 辅商品已退市,不能发起交割
  1781. /// </summary>
  1782. public const int ERR_DELIVERY_P_GOOD_STATUS_DELISTED = 8016;
  1783. /// <summary>
  1784. /// 账户状态异常
  1785. /// </summary>
  1786. public const int ERR_ACCOUNT_STATUS_UNNORMAL = 8017;
  1787. /// <summary>
  1788. /// 商品交割关系不匹配
  1789. /// </summary>
  1790. public const int ERR_DELIVERY_RELATION_UNNORMAL = 8018;
  1791. /// <summary>
  1792. /// 主副商品不符合合约系数
  1793. /// </summary>
  1794. public const int ERR_X_P_GOODS_RADIO_NOT_MATCH = 8019;
  1795. /// <summary>
  1796. /// 仓单校验失败
  1797. /// </summary>
  1798. public const int ERR_WARE_HORSE_CHECK_FAILED = 8020;
  1799. /// <summary>
  1800. /// 未知命令
  1801. /// </summary>
  1802. public const int ERR_DELIVERY_WAREHORSE_QUERY_UNKNOW_COMMANDCODE = 8021;
  1803. /// <summary>
  1804. /// 找不到交割价
  1805. /// </summary>
  1806. public const int ERR_NO_XGOOD_DELIVERY_PRICE = 8022;
  1807. /// <summary>
  1808. /// 找不到交割申报单号
  1809. /// </summary>
  1810. public const int ERR_NO_DILIVERY_ORDERID = 8023;
  1811. /// <summary>
  1812. /// 找不到交割成交单号
  1813. /// </summary>
  1814. public const int ERR_NO_DELIVERY_ID = 8024;
  1815. /// <summary>
  1816. /// 子命令解析失败
  1817. /// </summary>
  1818. public const int ERR_SUBCOMMAND_PARSE_ERROR = 8025;
  1819. /// <summary>
  1820. /// 交割审核消息解析失败
  1821. /// </summary>
  1822. public const int ERR_MANAGE_AUDIT_MESSAGE_PARSE_FAILED = 8026;
  1823. /// <summary>
  1824. /// 未提供审核状态
  1825. /// </summary>
  1826. public const int ERR_NO_AUDIT_STATUS = 8027;
  1827. /// <summary>
  1828. /// 未提供审核日期
  1829. /// </summary>
  1830. public const int ERR_NO_AUTHORIZEDDATE = 8028;
  1831. /// <summary>
  1832. /// 未提供操作人
  1833. /// </summary>
  1834. public const int ERR_NO_OPERATORID = 8029;
  1835. /// <summary>
  1836. /// 未提供仓单手数
  1837. /// </summary>
  1838. public const int ERR_DELIVERY_NO_WAREHOUSE_QTY = 8030;
  1839. /// <summary>
  1840. /// 未提供品牌ID
  1841. /// </summary>
  1842. public const int ERR_DELIVERY_NO_WAREHOUSE_BRANDID = 8031;
  1843. /// <summary>
  1844. /// 未提供品质ID
  1845. /// </summary>
  1846. public const int ERR_DELIVERY_NO_WAREHOUSE_QUALITYID = 8032;
  1847. /// <summary>
  1848. /// 未提供规格ID
  1849. /// </summary>
  1850. public const int ERR_DELIVERY_NO_WAREHOUSE_STANDARDID = 8033;
  1851. /// <summary>
  1852. /// 未提供仓单ID
  1853. /// </summary>
  1854. public const int ERR_DELIVERY_NO_WAREHOUSE_WAREHOUSEID = 8034;
  1855. /// <summary>
  1856. /// 未提供月份ID
  1857. /// </summary>
  1858. public const int ERR_DELIVERY_NO_WAREHOUSE_DELIVERYMONTHID = 8035;
  1859. /// <summary>
  1860. /// 交割市场未开市
  1861. /// </summary>
  1862. public const int ERR_DELIVERY_MARKET_NOT_OPEN = 8036;
  1863. /// <summary>
  1864. /// 没找到市场信息
  1865. /// </summary>
  1866. public const int ERR_CONTROL_MARKET_NOT_FOUND = 9001;
  1867. /// <summary>
  1868. /// 系统状态错误
  1869. /// </summary>
  1870. public const int ERR_CONTROL_SYSTEM_STATUS_WRONG = 9002;
  1871. /// <summary>
  1872. /// 市场状态错误
  1873. /// </summary>
  1874. public const int ERR_CONTROL_MARKET_STATUS_WRONG = 9003;
  1875. /// <summary>
  1876. /// 无法找到履约计划模板
  1877. /// </summary>
  1878. public const int ERR_PERFORMANCE_NOT_FIND_PLANTEMPLATE = 10001;
  1879. /// <summary>
  1880. /// 计划模板没有对应的步骤
  1881. /// </summary>
  1882. public const int ERR_PERFORMANCE_PLANTEMPLATE_HAVE_NO_STEP = 10002;
  1883. /// <summary>
  1884. /// 支付比例和不为100%
  1885. /// </summary>
  1886. public const int ERR_PERFORMANCE_PAYMENT_SUMRATIO_ERR = 10003;
  1887. /// <summary>
  1888. /// 收款比例和不为100%
  1889. /// </summary>
  1890. public const int ERR_PERFORMANCE_RECV_SUMRATIO_ERR = 10004;
  1891. /// <summary>
  1892. /// 无法找到履约计划仓单
  1893. /// </summary>
  1894. public const int ERR_PERFORMANCE_NOT_FIND_PLANWR = 10005;
  1895. /// <summary>
  1896. /// 无法找到履约计划
  1897. /// </summary>
  1898. public const int ERR_PERFORMANCE_NOT_FIND_PLAN = 10006;
  1899. /// <summary>
  1900. /// 无法找到履约计划步骤
  1901. /// </summary>
  1902. public const int ERR_PERFORMANCE_NOT_FIND_STEP = 10007;
  1903. /// <summary>
  1904. /// 违约审核校验失败
  1905. /// </summary>
  1906. public const int ERR_CHECK_PERFORMANCE_BREACH_AUDIT = 10008;
  1907. /// <summary>
  1908. /// 违约申请校验失败
  1909. /// </summary>
  1910. public const int ERR_CHECK_PERFORMANCE_BREACH_APPLY = 10009;
  1911. /// <summary>
  1912. /// 延期申请校验失败
  1913. /// </summary>
  1914. public const int ERR_CHECK_PERFORMANCE_DELAY_APPLY = 10010;
  1915. /// <summary>
  1916. /// 延期审核校验失败
  1917. /// </summary>
  1918. public const int ERR_CHECK_PERFORMANCE_DELAY_AUDIT = 10011;
  1919. /// <summary>
  1920. /// 履约计划状态不正常
  1921. /// </summary>
  1922. public const int ERR_PERFORMANCE_PLAN_STATUS_IS_NOT_NORMAL = 10012;
  1923. /// <summary>
  1924. /// 履约计划步骤已经处理完成
  1925. /// </summary>
  1926. public const int ERR_PERFORMANCE_STEP_FINISHED = 10013;
  1927. /// <summary>
  1928. /// 没有找到总线主题
  1929. /// </summary>
  1930. public const int ERR_PERFORMANCE_NOT_FIND_TOPIC = 10014;
  1931. /// <summary>
  1932. /// 没有找到相关仓单信息
  1933. /// </summary>
  1934. public const int ERR_PERFORMANCE_NOT_FIND_WAREHOUSERECIEPT = 10015;
  1935. /// <summary>
  1936. /// 未找到相应库位
  1937. /// </summary>
  1938. public const int ERR_WR_CANNOT_FOUND_LOCATIONS = 21004;
  1939. /// <summary>
  1940. /// 库位状态更新失败
  1941. /// </summary>
  1942. public const int ERR_WR_LOCATION_STATUS_UPDATE_FAILED = 21005;
  1943. /// <summary>
  1944. /// 更新库位属主用户失败
  1945. /// </summary>
  1946. public const int ERR_WR_UPDATE_FAILED_LOCATION_USER = 21010;
  1947. /// <summary>
  1948. /// 更新仓单属主用户失败
  1949. /// </summary>
  1950. public const int ERR_WR_UPDATE_FAILED_WR_USER = 21011;
  1951. /// <summary>
  1952. /// 库位状态错误
  1953. /// </summary>
  1954. public const int ERR_WR_LOCATION_STATUS_EXEPTION = 21012;
  1955. /// <summary>
  1956. /// 没有找到商品交易属性
  1957. /// </summary>
  1958. public const int ERR_WR_NO_GOODS_TRADE_PROPERTY = 21016;
  1959. /// <summary>
  1960. /// 库位编号重复
  1961. /// </summary>
  1962. public const int ERR_WR_LOCATION_DUPLICATE = 21019;
  1963. }