获取领料申请-详情列表
This commit is contained in:
parent
04de103666
commit
d19284f996
|
|
@ -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 != ''">
|
||||
|
|
|
|||
Loading…
Reference in New Issue