linwei
2024-02-03 b87c9800541483108a40804c39be99f02a073e12
src/main/java/org/springblade/modules/taskPlaceRectification/mapper/TaskPlaceRectificationMapper.xml
@@ -196,6 +196,13 @@
            <if test="taskPalce.taskName != null  and taskPalce.taskName != ''">and task_name = #{taskPalce.taskName}
            </if>
            <if test="taskPalce.startTime!=null and taskPalce.startTime!=''">
                and jtpr.create_time&gt;=#{taskPalce.startTime}
            </if>
            <if test="taskPalce.endTime!=null and taskPalce.endTime!=''">
                and jtpr.create_time&lt;=#{taskPalce.endTime}
            </if>
            <if test="taskPalce.placeName!=null and taskPalce.placeName!=''">
                and jp.place_name like concat('%',#{taskPalce.placeName},'%')
            </if>
@@ -323,10 +330,10 @@
            and jp.nine_type = bd.dict_key
            and br.town_code =#{code}
            <if test="taskPlaceRectification.startTime!=null and taskPlaceRectification.startTime!=''">
                and create_time&gt;=#{taskPlaceRectification.startTime}
                and jpc.create_time&gt;=#{taskPlaceRectification.startTime}
            </if>
            <if test="taskPlaceRectification.endTime!=null and taskPlaceRectification.endTime!=''">
                and create_time&lt;=#{taskPlaceRectification.endTime}
                and jpc.create_time&lt;=#{taskPlaceRectification.endTime}
            </if>
        </where>
        ) number