linwe
2024-07-05 fee8fbb72f73cc11075b07bf457ce2dd2a9ce19e
src/main/java/org/springblade/modules/task/mapper/TaskPlaceRectificationMapper.xml
@@ -193,8 +193,8 @@
        jp.principal,
        jp.principal_phone,
        jp.nine_type,
        br.town_name,
        br.village_name,
        br.town_name streetName,
        br.village_name communityName,
        bu.`name`,
        jpe.legal_tel,
        jpe.legal_person,
@@ -213,7 +213,7 @@
            <if test="taskPalce.taskId != null ">and jtpr.task_id = #{taskPalce.taskId}</if>
            <if test="taskPalce.status != null and taskPalce.status != 2  ">and jtpr.status = #{taskPalce.status}</if>
            <if test="taskPalce.status != null and taskPalce.status = 2 ">and jtpr.status in (2,3)</if>
            <if test="taskPalce.status != null and taskPalce.status == 2 ">and jtpr.status in (2,3)</if>
            <if test="taskPalce.taskName != null  and taskPalce.taskName != ''">and jtpr.task_name =
                #{taskPalce.taskName}
@@ -224,6 +224,14 @@
            </if>
            <if test="taskPalce.endTime!=null and taskPalce.endTime!=''">
                and jtpr.create_time&lt;=#{taskPalce.endTime}
            </if>
            <if test="taskPalce.streetName!=null and taskPalce.streetName!=''">
                and br.town_name like concat('%',#{taskPalce.streetName},'%')
            </if>
            <if test="taskPalce.communityName!=null and taskPalce.communityName!=''">
                and br.village_name like concat('%',#{taskPalce.communityName},'%')
            </if>
            <if test="taskPalce.placeName!=null and taskPalce.placeName!=''">
@@ -466,8 +474,8 @@
        jp.principal,
        jp.principal_phone,
        jp.nine_type,
        br.town_name,
        br.village_name,
        br.town_name streetName,
        br.village_name communityName,
        bu.`name`,
        jpe.legal_tel,
        jpe.legal_person,