java110
2023-05-25 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8
java110-db/src/main/resources/mapper/community/InspectionTaskV1ServiceDaoImplMapper.xml
@@ -79,6 +79,9 @@
        <if test="taskId !=null and taskId != ''">
            and t.task_id= #{taskId}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
@@ -138,6 +141,9 @@
        <if test="actUserId !=null and actUserId != ''">
            , t.act_user_id= #{actUserId}
        </if>
        <if test="state !=null and state != ''">
        , t.state= #{state}
    </if>
        where 1=1
        <if test="taskId !=null and taskId != ''">
            and t.task_id= #{taskId}
@@ -201,6 +207,9 @@
        <if test="taskId !=null and taskId != ''">
            and t.task_id= #{taskId}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
    </select>