From 2f0f8f59b9b1b459fd6af71ba936e0ef83c1f631 Mon Sep 17 00:00:00 2001 From: lj7788 Date: Thu, 28 Aug 2025 09:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=88=86=E5=8C=85=E5=8D=95=E4=BD=8D=E5=AE=A1=E6=A0=B8=E6=89=93?= =?UTF-8?q?=E5=BC=80=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/flowable/FlowBusinessKeyMapper.xml | 44 +++++++++++++++---- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/flowable/FlowBusinessKeyMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/flowable/FlowBusinessKeyMapper.xml index a74e36f8..2c3ce1db 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/flowable/FlowBusinessKeyMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/flowable/FlowBusinessKeyMapper.xml @@ -21,8 +21,32 @@ and fa.startComName like concat('%', #{startComName}, '%') and fa.startProId = #{startProId} and fa.startProName like concat('%', #{startProName}, '%') - and fa.finishTime is null - and fa.finishTime is not null + + and fa.category = '1' + and fa.category in ('2','3','4','5','6','8') + + + and bus.sub_dept_group in + + #{groupId} + + + + AND (fa.ASSIGNEE_ = #{assigneeId} + OR ( + fa.ASSIGNEE_ IS NULL + AND ( + fa.USER_ID_ = #{assigneeId} + OR ( + fa.GROUP_ID_ IN + + #{roleId} + + ) + ) + ) + ) + order by fa.createTime desc @@ -54,12 +78,16 @@