获取领料申请-详情列表

This commit is contained in:
sliang 2023-12-24 20:44:43 +08:00
parent 04de103666
commit d19284f996
1 changed files with 6 additions and 2 deletions

View File

@ -64,6 +64,8 @@
<if test="companyId!= null">
company_id,
</if>
create_time,
update_time
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="parentId!= null">
@ -93,6 +95,8 @@
<if test="companyId!= null">
#{companyId},
</if>
NOW(),
NOW()
</trim>
</insert>
@ -100,7 +104,7 @@
UPDATE
ma_type
SET
num = num - #{record.outNum}
num = num - #{record.outNum} ,update_time = NOW()
WHERE
type_id = #{record.typeId}
</update>
@ -109,7 +113,7 @@
UPDATE
ma_machine
SET
ma_status = '16'
ma_status = '16' , create_time = NOW()
<where>
type_id = #{record.typeId}
<if test="record.maId != null and record.maId != ''">