feat: #IBYEGX 业务系统增加送审功能

This commit is contained in:
wintel
2025-04-06 02:02:30 +08:00
parent c9c738d6e3
commit 2d7e63ebad
11 changed files with 96 additions and 59 deletions

View File

@@ -1,6 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Infrastructure;
using Microsoft.EntityFrameworkCore;
using OpenAuth.App.Interface;
using OpenAuth.App.Request;
@@ -40,6 +42,7 @@ namespace OpenAuth.App
UnitWork.Update<FlowScheme>(u => u.Id == flowScheme.Id, u => new FlowScheme
{
FrmUrlTemplate = flowScheme.FrmUrlTemplate,
SchemeContent = flowScheme.SchemeContent,
SchemeName = flowScheme.SchemeName,
ModifyDate = DateTime.Now,
@@ -51,6 +54,19 @@ namespace OpenAuth.App
});
}
/// <summary>
/// 加载所有流程表单为URL表单的流程模板
/// <para>
/// 目前业务系统只挂载URL表单后期优化挂载其他表单类型
/// </para>
/// </summary>
/// <returns></returns>
public List<FlowScheme> LoadUrlFormFlowScheme()
{
return Repository.Find(u => u.FrmType == Define.FORM_TYPE_URL).ToList();
}
public async Task<TableData> Load(QueryFlowSchemeListReq request)
{
var result = new TableData();