feat: 收益互换开平仓及收益结算接入OA移动审批

#EQD-6425 国联民生-衍生品系统移动审批(提交OA流程)
- 审批节点支持配置“关联OA移动审批”
- 创建OA流程并记录请求、requestId、状态及异常备注
- 支持OA轮询同步审批通过、退回和归档状态
- 本地通过、拒绝、撤回时同步强制归档未结束OA流程
- 增加审批列表OA备注展示及本地Mock联调接口
- 新增OA审批记录表和数据库升级脚本
- OA移动审批使用独立查询地址及isnextflow配置,不影响交易确认书OA
This commit is contained in:
tengyufan
2026-08-21 15:54:54 +08:00
parent 23a02e06c4
commit 3f0984800a
19 changed files with 784 additions and 9 deletions
@@ -70,5 +70,9 @@ namespace YLErp.DBModels
/// </summary>
[DisplayName("节点触发条件")]
public string triggerCondition { get; set; }
/// <summary>是否在进入该节点时关联国联民生 OA 移动审批。</summary>
public bool isOaApproval { get; set; }
}
}
@@ -0,0 +1,24 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace YLErp.DBModels
{
/// <summary>
/// 衍生品交易审批节点对应的国联民生 OA 流程记录。
/// </summary>
[Table("trade_approval_oa_result")]
public class trade_approval_oa_result : DBModelBaseV6
{
public int trade_id { get; set; }
public int approval_process_id { get; set; }
public string process_type { get; set; }
public int? applicant_id { get; set; }
public string applicant_login_name { get; set; }
public string oa_fileid { get; set; }
public string status { get; set; }
public string oa_msg { get; set; }
public string request_payload { get; set; }
public string last_response { get; set; }
public DateTime? last_query_time { get; set; }
public bool is_valid { get; set; }
}
}