forked from gzzfw/backEnd/gz-dyh

wangwh
2024-09-11 47f4309427c5f65e7979cda6a1f4259de62813ed
dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml
@@ -349,7 +349,7 @@
        select
        count(case when node_id = 'ZJ_DFP' or  node_id = 'QJ_DFP' or  node_id = 'SJ_DFP' then id end) as waitDisp,
        count(case when sign_status = 1 then id end) as waitSign,
        count(case when node_id = 'ZJ_DSL' or  node_id = 'QJ_DFP' or  node_id = 'SJ_DFP' then id end) as waitAccept,
        count(case when (node_id = 'ZJ_DSL' or  node_id = 'QJ_DSL' or  node_id = 'SJ_DSL') and t1.sign_status != 1 then id end) as waitAccept,
        count(case when node_id = 'BLFK' then id end) as Processing
        from
        <include refid="table-name" />
@@ -489,7 +489,7 @@
        dyh_case_task t1 left join dyh_case_info t2 on t1.case_id = t2.id
        where
        t1.cande_unit_id = #{terms.candeUnitId}
        and (t1.node_id = 'ZJ_DSL' or  t1.node_id = 'QJ_DFP' or  t1.node_id = 'SJ_DFP')
        and (t1.node_id = 'ZJ_DSL' or  t1.node_id = 'QJ_DSL' or  t1.node_id = 'SJ_DSL')
        and t1.delete_status = 0
        and t1.sign_status != 1
        and t1.status = #{terms.status}
@@ -512,7 +512,7 @@
        dyh_case_task t1 left join dyh_case_info t2 on t1.case_id = t2.id
        where
        t1.cande_unit_id = #{terms.candeUnitId}
        and (t1.node_id = 'ZJ_DSL' or  t1.node_id = 'QJ_DFP' or  t1.node_id = 'SJ_DFP')
        and (t1.node_id = 'ZJ_DSL' or  t1.node_id = 'QJ_DSL' or  t1.node_id = 'SJ_DSL')
        and t1.delete_status = 0
        and t1.sign_status != 1
        and t1.status = #{terms.status}