|
|
|
|
@ -11,6 +11,7 @@
|
|
|
|
|
<result property="muPath" column="mu_path" />
|
|
|
|
|
<result property="num" column="num" />
|
|
|
|
|
<result property="picIds" column="pic_ids" />
|
|
|
|
|
<result property="lastNum" column="last_num" />
|
|
|
|
|
<result property="status" column="status" />
|
|
|
|
|
<result property="successNum" column="success_num" />
|
|
|
|
|
<result property="successIds" column="success_ids" />
|
|
|
|
|
@ -25,7 +26,7 @@
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectDaTaskVo">
|
|
|
|
|
select id, mu_id, yw_type, mu_path, num, pic_ids, status, success_num, success_ids, fail_num, fail_ids, result_str, remark, create_by, create_time, update_by, update_time from da_task
|
|
|
|
|
select id, mu_id, yw_type, mu_path, num, pic_ids, last_num, status, success_num, success_ids, fail_num, fail_ids, result_str, remark, create_by, create_time, update_by, update_time from da_task
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectDaTaskList" parameterType="DaTask" resultMap="DaTaskResult">
|
|
|
|
|
@ -38,6 +39,7 @@
|
|
|
|
|
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
|
|
|
|
|
<if test="num != null "> and num = #{num}</if>
|
|
|
|
|
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
|
|
|
|
|
<if test="lastNum != null "> and last_num = #{lastNum}</if>
|
|
|
|
|
<if test="status != null and status != ''"> and status = #{status}</if>
|
|
|
|
|
<if test="successNum != null "> and success_num = #{successNum}</if>
|
|
|
|
|
<if test="successIds != null and successIds != ''"> and success_ids = #{successIds}</if>
|
|
|
|
|
@ -45,6 +47,7 @@
|
|
|
|
|
<if test="failIds != null and failIds != ''"> and fail_ids = #{failIds}</if>
|
|
|
|
|
<if test="resultStr != null and resultStr != ''"> and result_str = #{resultStr}</if>
|
|
|
|
|
</where>
|
|
|
|
|
order by id desc
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectDaTaskById" parameterType="Long" resultMap="DaTaskResult">
|
|
|
|
|
@ -60,6 +63,7 @@
|
|
|
|
|
<if test="muPath != null">mu_path,</if>
|
|
|
|
|
<if test="num != null">num,</if>
|
|
|
|
|
<if test="picIds != null">pic_ids,</if>
|
|
|
|
|
<if test="lastNum != null">last_num,</if>
|
|
|
|
|
<if test="status != null">status,</if>
|
|
|
|
|
<if test="successNum != null">success_num,</if>
|
|
|
|
|
<if test="successIds != null">success_ids,</if>
|
|
|
|
|
@ -78,6 +82,7 @@
|
|
|
|
|
<if test="muPath != null">#{muPath},</if>
|
|
|
|
|
<if test="num != null">#{num},</if>
|
|
|
|
|
<if test="picIds != null">#{picIds},</if>
|
|
|
|
|
<if test="lastNum != null">#{lastNum},</if>
|
|
|
|
|
<if test="status != null">#{status},</if>
|
|
|
|
|
<if test="successNum != null">#{successNum},</if>
|
|
|
|
|
<if test="successIds != null">#{successIds},</if>
|
|
|
|
|
@ -100,6 +105,7 @@
|
|
|
|
|
<if test="muPath != null">mu_path = #{muPath},</if>
|
|
|
|
|
<if test="num != null">num = #{num},</if>
|
|
|
|
|
<if test="picIds != null">pic_ids = #{picIds},</if>
|
|
|
|
|
<if test="lastNum != null">last_num = #{lastNum},</if>
|
|
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
|
|
<if test="successNum != null">success_num = #{successNum},</if>
|
|
|
|
|
<if test="successIds != null">success_ids = #{successIds},</if>
|
|
|
|
|
|