更新大小写
build / build-push (push) Successful in 28s

This commit is contained in:
wanghu
2026-09-08 17:29:56 +08:00
parent 10c791d034
commit 5785a2c10e
8 changed files with 22 additions and 35 deletions
+3 -5
View File
@@ -400,7 +400,7 @@ namespace YhCore.Service.Impl
#region 审核角色流程
public async Task<PageVO<SHRoleFlowListItem>> ListFlowAsync(string name, int pageSize, int pageIndex, string schSerId, int flowType, bool edit)
public async Task<List<SHRoleFlowListItem>> ListFlowAsync(string name, int pageSize, int pageIndex, string schSerId, int flowType, bool edit)
{
var resultList = (await _flowinfo.FindAsync(m => m.flowType == flowType && m.schSerID == schSerId)).ToList();
@@ -422,8 +422,8 @@ namespace YhCore.Service.Impl
if (!string.IsNullOrEmpty(name))
resultList = resultList.Where(m => m.flowname != null && m.flowname.IndexOf(name) >= 0).ToList();
var ordered = resultList.OrderBy(m => m.SerID).ToList();
var items = ordered.Skip(pageSize * pageIndex).Take(pageSize)
// 旧 ListFlow 的 Data 是纯数组(字段 SerID/flowname/deptid/typeid/enable/enablename/miaoshu/deitdate/ChaoSend/StepSend/WYPageGG 原样大小写),无总数包装
return resultList.OrderBy(m => m.SerID).Skip(pageSize * pageIndex).Take(pageSize)
.Select(item => new SHRoleFlowListItem
{
SerID = item.SerID.ToString(),
@@ -439,8 +439,6 @@ namespace YhCore.Service.Impl
WYPageGG = item.WYPageGG,
})
.ToList();
return PageVO<SHRoleFlowListItem>.Of(items, ordered.Count, pageIndex, pageSize);
}
public async Task<string> EditFlowAsync(Common_flowinfo model)
@@ -31,7 +31,8 @@ namespace YhCore.Service.Interfaces
Task<string> DelSHRoleAsync(string schSerId, List<decimal?> listSHRoleId);
// ---- 审核角色流程 ----
Task<PageVO<SHRoleFlowListItem>> ListFlowAsync(string name, int pageSize, int pageIndex, string schSerId, int flowType, bool edit);
/// <summary>旧 ListFlow 的 Data 为纯数组(非分页对象),此处保持裸 List 对齐旧 data 内容。</summary>
Task<List<SHRoleFlowListItem>> ListFlowAsync(string name, int pageSize, int pageIndex, string schSerId, int flowType, bool edit);
Task<string> EditFlowAsync(Common_flowinfo model);
Task<string> StepCreateOfSHRoleAsync(Common_flowstep model);
Task<SHRoleStepInfo> GetStepInfoAsync(string schSerId, decimal flowid);
+2 -2
View File
@@ -22,9 +22,9 @@
<ItemGroup>
<!-- 业务异常 DException / ErrorCode / IErrorCode:从 Nexus nuget-group 引用(原为本地源项目引用) -->
<PackageReference Include="Yh.Platform.Abstractions" Version="1.0.0-preview.1" />
<PackageReference Include="Yh.Platform.Abstractions" Version="1.0.0-preview.2" />
<!-- 教务(SchClass)开放接口 SDK:教师/学校查询(C1 reviewprocess 教师类接口):从 Nexus nuget-group 引用(原为本地源项目引用) -->
<PackageReference Include="Yh.SchClass.OpenApi" Version="1.0.0-preview.1" />
<PackageReference Include="Yh.SchClass.OpenApi" Version="1.0.0-preview.2" />
</ItemGroup>
</Project>