| | |
| | | <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"> |
| | |
| | | update_by, |
| | | update_time, |
| | | execute_by, |
| | | execute_time |
| | | execute_time, |
| | | task_type |
| | | from ard_route_mission |
| | | </sql> |
| | | |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <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> |
| | | |
| | |
| | | <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> |