广州市综治平台后端
zhouxiantao
9 days ago 93430938a25ab3d4e218a2198ae1b24a516f6382
dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/dao/mapper/xml/CaseDismissMapper.xml
@@ -192,9 +192,34 @@
                and (DATE_FORMAT(t1.dis_time,'%Y-%m-%d') <![CDATA[ >= ]]> #{terms.disTimeStart}
                and DATE_FORMAT(t1.dis_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.disTimeEnd})
            </if>
            <if test="terms.handleTimeStart != null and terms.handleTimeStart !='' and terms.handleTimeEnd != null and terms.handleTimeEnd !=''">
                and (DATE_FORMAT(t1.dis_time,'%Y-%m-%d') <![CDATA[ >= ]]> #{terms.handleTimeStart}
                and DATE_FORMAT(t1.dis_time,'%Y-%m-%d') <![CDATA[ <= ]]> #{terms.handleTimeEnd})
            </if>
            <if test="terms.partyName != null and terms.partyName !=''">
                and concat_ws('', ifnull(t2.plaintiffs, ''), ifnull(t2.pagents, ''), ifnull(t2.defendants, ''), ifnull(t2.dagents, '')) like concat('%', #{terms.partyName}, '%')
            </if>
            <if test="terms.caseType != null and terms.caseType !=''">
                and t2.case_type = #{terms.caseType}
            </if>
            <if test="terms.plaintiffs != null and terms.plaintiffs !=''">
                and t2.plaintiffs like concat('%', #{terms.plaintiffs}, '%')
            </if>
            <if test="terms.defendants != null and terms.defendants !=''">
                and t2.defendants like concat('%', #{terms.defendants}, '%')
            </if>
            <if test="terms.canal != null and terms.canal !=''">
                and t2.canal = #{terms.canal}
            </if>
            <if test="terms.caseStatus != null and terms.caseStatus !=''">
                and t2.status = #{terms.caseStatus}
            </if>
            <if test="terms.caseLevel != null and terms.caseLevel !=''">
                and t2.case_level = #{terms.caseLevel}
            </if>
            <if test="terms.mediResult != null and terms.mediResult !=''">
                and t3.medi_result = #{terms.mediResult}
            </if>
        </if>
    </sql>
    <!--  首页-不予受理条件统计  -->