移除学科节点,基于学科信息查询优化

This commit is contained in:
2026-01-20 11:09:06 +08:00
parent 8e924e166e
commit 2991d90d42
3 changed files with 17 additions and 0 deletions

View File

@@ -52,4 +52,7 @@ public class GetUserGroupTaskCompleteStatisticsReq {
@Schema(description = "标签10")
private String tag10;
@Schema(description = "查询学科信息")
private String discipline;
}

View File

@@ -41,4 +41,7 @@ public class GetWorkstationApproveStatusReq {
@Schema(description = "标签10")
private String tag10;
@Schema(description = "查询学科信息")
private String discipline;
}

View File

@@ -361,6 +361,10 @@
</foreach>
)
<if test="req.discipline != null and req.discipline !='' ">
and task.discipline = #{req.discipline}
</if>
<if test="req.tag1 != null and req.tag1 !='' ">
and task.tag1 = #{req.tag1}
</if>
@@ -463,6 +467,10 @@
#{userId}
</foreach>
)
<if test="req.discipline != null and req.discipline !='' ">
and task.discipline = #{req.discipline}
</if>
<if test="req.tag1 != null and req.tag1 !='' ">
and task.tag1 = #{req.tag1}
</if>
@@ -607,6 +615,9 @@
and node.nodeName is not null and node.nodeName != ''
and task.approval_status is not null
and task.tenant_Id = #{req.tenantId}
<if test="req.discipline != null and req.discipline !='' ">
and task.discipline = #{req.discipline}
</if>
<if test="req.tag1 != null and req.tag1 !='' ">
and task.tag1 = #{req.tag1}
</if>