修改app领料明细查询
This commit is contained in:
parent
152226b4e9
commit
63065db713
|
|
@ -279,12 +279,12 @@
|
|||
<insert id="batchInsert" keyColumn="task_id" keyProperty="taskId" parameterType="map" useGeneratedKeys="true">
|
||||
<!--@mbg.generated-->
|
||||
insert into tm_task
|
||||
(task_type, task_status, code, create_by, create_time, update_by, update_time, remark,
|
||||
(task_type, task_status, code, create_by, create_time, update_by, update_time, remark,
|
||||
company_id)
|
||||
values
|
||||
<foreach collection="list" item="item" separator=",">
|
||||
(#{item.taskType,jdbcType=INTEGER}, #{item.taskStatus,jdbcType=INTEGER}, #{item.code,jdbcType=VARCHAR},
|
||||
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
|
||||
(#{item.taskType,jdbcType=INTEGER}, #{item.taskStatus,jdbcType=INTEGER}, #{item.code,jdbcType=VARCHAR},
|
||||
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
|
||||
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.remark,jdbcType=VARCHAR}, #{item.companyId,jdbcType=INTEGER}
|
||||
)
|
||||
</foreach>
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
#{remark,jdbcType=VARCHAR},
|
||||
#{companyId,jdbcType=INTEGER},
|
||||
</trim>
|
||||
on duplicate key update
|
||||
on duplicate key update
|
||||
<trim suffixOverrides=",">
|
||||
<if test="taskId != null">
|
||||
task_id = #{taskId,jdbcType=BIGINT},
|
||||
|
|
@ -407,7 +407,7 @@
|
|||
#{companyId,jdbcType=INTEGER},
|
||||
</if>
|
||||
</trim>
|
||||
on duplicate key update
|
||||
on duplicate key update
|
||||
<trim suffixOverrides=",">
|
||||
<if test="taskId != null">
|
||||
task_id = #{taskId,jdbcType=BIGINT},
|
||||
|
|
@ -505,7 +505,7 @@
|
|||
FROM
|
||||
lease_apply_info lai
|
||||
WHERE
|
||||
lai.task_id = #{record.taskId} AND lai.`code` = #{record.code} AND lai.status = '1'
|
||||
lai.task_id = #{record.taskId} AND lai.`code` = #{record.code}
|
||||
</select>
|
||||
|
||||
<select id="getLeaseApplyDetails" resultType="com.bonus.sgzb.base.api.domain.LeaseApplyDetails">
|
||||
|
|
@ -648,4 +648,4 @@
|
|||
WHERE task_id = #{taskId} AND `status` ='1' and company_id = #{id}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue