forked from gzzfw/backEnd/gz-dyh

xusd
2024-09-15 de9369d2c8056e2bb723247b0e877fe9d96f8def
dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseTaskMapper.xml
@@ -363,7 +363,7 @@
    <!--  查询任务数量  -->
    <select id="countTaskList" resultMap="FrontPageCountResult">
        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 (node_id = 'ZJ_DFP' or  node_id = 'QJ_DFP' or  node_id = 'SJ_DFP') and sign_status != 1 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_DSL' or  node_id = 'SJ_DSL') and sign_status != 1 then id end) as waitAccept,
        count(case when node_id = 'BLFK' then id end) as Processing
@@ -407,6 +407,7 @@
        where
        cande_unit_id = #{terms.candeUnitId}
        and (t1.node_id = 'ZJ_DFP' or  t1.node_id = 'QJ_DFP' or  t1.node_id = 'SJ_DFP')
        and sign_status != 1
        and t1.delete_status = 0
        and t1.status = #{terms.status}
        <if test="terms.timeStart != null and terms.timeStart !='' and terms.timeEnd != null and terms.timeEnd !=''">
@@ -427,6 +428,7 @@
        where
        t1.cande_unit_id = #{terms.candeUnitId}
        and (t1.node_id = 'ZJ_DFP' or  t1.node_id = 'QJ_DFP' or  t1.node_id = 'SJ_DFP')
        and sign_status != 1
        and t1.delete_status = 0
        and t1.status = #{terms.status}
        <if test="terms.timeStart != null and terms.timeStart !='' and terms.timeEnd != null and terms.timeEnd !=''">