java110
2020-12-25 0abeea2e7d2f2faec76e667b0b73ddecea85f561
java110-db/src/main/resources/mapper/community/InspectionTaskServiceDaoImplMapper.xml
@@ -141,6 +141,9 @@
        <if test="planInsTime !=null ">
            and t.plan_ins_time= #{planInsTime}
        </if>
        <if test="todayPlanInsTime !=null ">
            and t.plan_ins_time &gt; #{todayPlanInsTime}
        </if>
        <if test="statusCd !=null and statusCd != ''">
            and t.status_cd= #{statusCd}
        </if>
@@ -170,6 +173,12 @@
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
        <if test="states !=null ">
            and t.state in
            <foreach collection="states" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
        <if test="scopeTime !=null ">
            and t.create_time &lt; #{scopeTime}
@@ -278,6 +287,15 @@
        <if test="taskId !=null and taskId != ''">
            and t.task_id= #{taskId}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
        <if test="states !=null ">
            and t.state in
            <foreach collection="states" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
    </select>