Xiajijian
2026-01-28 71f1ecb26bc9f8f92be176bb03052212beff221a
ard-route/src/main/resources/mapper/ArdRouteMissionMapper.xml
@@ -15,6 +15,7 @@
        <result property="updateTime"    column="update_time"    />
        <result property="executeBy"    column="execute_by"    />
        <result property="executeTime"    column="execute_time"    />
        <result property="taskType"    column="task_type"    />
    </resultMap>
    <sql id="selectArdRouteMissionVo">
@@ -27,7 +28,8 @@
               update_by,
               update_time,
               execute_by,
               execute_time
               execute_time,
               task_type
        from ard_route_mission
    </sql>
@@ -39,6 +41,7 @@
            <if test="executeStatus != null  and executeStatus != ''"> and execute_status = #{executeStatus}</if>
            <if test="executeBy != null  and executeBy != ''"> and execute_by = #{executeBy}</if>
            <if test="executeTime != null "> and execute_time = #{executeTime}</if>
            <if test="taskType != null  and taskType != ''"> and task_type = #{taskType}</if>
        </where>
        order by create_time asc
    </select>
@@ -62,6 +65,7 @@
            <if test="updateTime != null">update_time,</if>
            <if test="executeBy != null">execute_by,</if>
            <if test="executeTime != null">execute_time,</if>
            <if test="taskType != null">task_type,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="id != null">#{id},</if>
@@ -74,6 +78,7 @@
            <if test="updateTime != null">#{updateTime},</if>
            <if test="executeBy != null">#{executeBy},</if>
            <if test="executeTime != null">#{executeTime},</if>
            <if test="taskType != null">#{taskType},</if>
         </trim>
    </insert>
@@ -89,6 +94,7 @@
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="executeBy != null">execute_by = #{executeBy},</if>
            <if test="executeTime != null">execute_time = #{executeTime},</if>
            <if test="taskType != null">task_type = #{taskType},</if>
        </trim>
        where id = #{id}
    </update>