Commit Graph
821 Commits
Author SHA1 Message Date
尹峰 b51d39e0ff 增加变量批量删除功能 2026-07-17 14:27:27 +08:00
尹峰 b849841545 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-17 11:04:15 +08:00
尹峰 180f113433 优化变量保存校验和变量公式替换逻辑 2026-07-17 11:03:43 +08:00
ruisu 9dad4cb8d0 fix:风控引擎的数据库对象不再采用全局,防止追踪所有查询出的对象 2026-07-17 10:28:21 +08:00
ruisu bcb1ee25b1 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-17 09:27:39 +08:00
ruisu d9002e8d36 feat:修改测试用例 2026-07-17 09:27:25 +08:00
ruisu 1110e2b3ef feat:优化特批处理流程与日志落库 2026-07-17 09:26:04 +08:00
尹峰 3385113133 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-16 19:58:40 +08:00
尹峰 220657cb5c 批量启停规则和应用优化 2026-07-16 19:58:26 +08:00
尹峰 19a7b34e84 bugfix:规则批量启用 2026-07-16 12:32:17 +08:00
ruisu 6154257d20 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-16 09:21:29 +08:00
ruisu cf0a857a95 feat:增加风控超时校验时间插入sql 2026-07-16 09:21:14 +08:00
尹峰 ba8e998919 resolve confilct 2026-07-15 18:53:04 +08:00
尹峰 5a05fe74a3 优化文案 2026-07-15 18:51:49 +08:00
尹峰 5b34c3a9ca 修改标的类型和合约类型传参&优化规则应用启停逻辑 2026-07-14 20:35:17 +08:00
尹峰 1d22871f3b 修改标的类型和合约类型传参&优化规则应用启停逻辑 2026-07-14 20:28:38 +08:00
ruisu 78cf89be0d fix:修改风控application字段,将标的类型字段修改为UnderlyingAssetClass,内容为汉字 2026-07-14 18:33:45 +08:00
ruisu 7784e66289 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-14 17:18:47 +08:00
ruisu 8e0e779133 feat:根据ai merge意见修改:dbContext取消与单例riskEngienService的绑定,反射代码修改。
支持老风控Error情况下的二次特批
2026-07-14 17:18:33 +08:00
尹峰 4dc1fc3b4b 优化异步逻辑 2026-07-13 18:57:36 +08:00
尹峰 20795e6610 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-13 15:51:32 +08:00
尹峰 0a8ee77f3c 优化缓存刷新逻辑 2026-07-13 15:51:17 +08:00
ruisu 0e90c6f0cc Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-13 15:48:21 +08:00
ruisu 82688fa930 feat:风控引擎内存上下文改为查询数据库,修改注释中的相应规则, 2026-07-13 15:47:37 +08:00
尹峰 abf2cf5985 规则和应用增加description字段&变量和规则保存校验公式编译有效性 2026-07-10 18:23:39 +08:00
ruisu b5f6b7f61a feat:增加ruleid为空的校验,以支持rule新增。增加preload成功编译rule的日志 2026-07-10 10:31:41 +08:00
ruisu e04333cf70 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-09 18:08:40 +08:00
ruisu 18fdb9e9f1 feat:增加单条rule增删改函数,以及application全量刷新函数。 2026-07-09 18:01:55 +08:00
尹峰 c1ded96985 变量级联更新规则优化&增补注释 2026-07-09 17:52:14 +08:00
ruisu 66381e5dc4 feat:在系统缓存刷新功能内,增加风控引擎缓存刷新 2026-07-09 17:41:10 +08:00
ruisu 4e6d887b68 feat:修改本地规则 2026-07-09 16:18:28 +08:00
ruisu 48d90bef50 Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-09 10:26:44 +08:00
ruisu d14bdc18e7 feat:风控引擎增加超时机制:在进行超时校验的时候,如果超时,不但重置新风控重新校验,老风控的二次校验也不允许直接放行,需要重新校验。 2026-07-09 10:26:26 +08:00
尹峰 fc51bfab68 恢复被revert误操作的文件 2026-07-08 10:59:13 +08:00
尹峰 b8fb8bb148 resolve confilct YLContext.cs & YLErpDAL.csproj 2026-07-07 15:25:27 +08:00
ruisu 879fdbea89 resolve confilct QuotaMonitorService.cs 2026-07-07 15:11:37 +08:00
ruisu 2a8544a7b7 fix:删除测试数据 2026-07-07 14:52:47 +08:00
尹峰 8ab62928b6 revert otcformat.js 2026-07-07 13:57:38 +08:00
尹峰 de628719dc resolve confilct QuotaMonitorService.cs 2026-07-07 13:51:24 +08:00
尹峰 d5cbd45a8a Merge branch 'feature/p132_74-risk-engine' of https://gitee.glmszq.com/gsty/onederiv/trs into feature/p132_74-risk-engine 2026-07-06 18:42:35 +08:00
尹峰 d7d9c796d8 merge glms/feature/1.4.2 0703版本 2026-07-06 18:42:19 +08:00
ruisu 1c0fd97efa fix:删除测试数据 2026-07-06 18:00:06 +08:00
ruisu dc0cb9ec7b feat:老风控特批使用单独bool量识别,新风控需审批采用新状态RiskWarning,风控流程状态优先级Error>Warning(老风控特批,给前端CODE为ERROR)>RiskWarning>Success(可能带有ShowTIip)。新风控特批时,识别RULEID,不再采用BOOL统一通过 2026-07-06 17:41:13 +08:00
hjhan 088df27011 fix(swap): 还原otcformat.js精度配置,修复期末全价只能录2位小数
f0ad4406(Revert ruisu合并进来的代码)在回滚RiskModule时,
误将otcformat.js从'压缩单行全precision=9'改成'多行precision=2',
导致StockEqvNotional/tradeSinglePrice/tradePrice/notional等字段
精度从9位降到2位,期末全价(TradingAmountAvg)等只能录2位小数。

还原到f0ad4406^的正确版本(全precision=9),恢复所有字段9位精度。

根因:前端运行时配置App_Data/Config/otcformat.js的precision限制,
与后端实体(EF默认decimal)和DB列(decimal(22,10))无关。

历史脉络:
- 3e650b8f(2026-05-28) 首次引入precision=2误伤
- 1932a2e7(2026-05-29) 首次还原回全9
- f0ad4406(2026-07-03) Revert ruisu时再次误伤(本次修复对象)
2026-07-06 09:55:01 +08:00
lisong d3a47e6d08 Merge branch 'glms/feature/1.4.2' of https://gitee.glmszq.com/gsty/onederiv/trs into glms/feature/1.4.2_claer 2026-07-03 19:08:48 +08:00
锦麟 王 f0ad4406c9 Revert ruisu合并进来的代码 2026-07-03 17:41:42 +08:00
tengyufan cf15877bfd fix: 新增交易时开始日期默认值取系统日期,不再按CHN日历调整到下一工作日
问题:系统日期0703在CHN日历中为假日,GetNonHoliday将默认TradeDate
调整为0706,但预期行为是默认值始终取系统日期0703

修改:TradeDate默认值赋值处跳过GetNonHoliday调整,直接使用
valuedateBLL.ValueDate
2026-07-03 13:57:59 +08:00
tengyufan 2e50bb2615 fix: 修复交易参数页面保存按钮不显示的问题
FunctionRight.xml 中 系统日期设置/交易特批/出金特批/交易相关/
平仓行权复核/平仓行权审批 等权限挂在 FunctionParent"系统管理"下,
导致 DB 中 key 为"系统管理-XXX",但代码引用"系统参数-XXX",
HasRight 始终找不到,保存按钮不显示。

修复:修改 FunctionRight.xml,新增独立 FunctionParent"系统参数"节点
将22个系统参数权限移入,与代码引用的 key 对齐。
2026-07-03 13:13:48 +08:00
hjhan cc8b862d04 fix: ETF交易确认书 债券名称置空 2026-07-03 11:28:07 +08:00
hjhan b6faa6fd1c fix: 国联民生确认书模板 0-> 0.00 2026-07-03 11:24:04 +08:00