|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
replace
|
|
|
|
|
INTO inv_inner_order_detail
|
|
|
|
|
(
|
|
|
|
|
orderIdFk,productId,productName,`count`,productDate,expireDate,batchNo
|
|
|
|
|
orderIdFk,productId,productName,`count`,productDate,expireDate,batchNo,nameCode
|
|
|
|
|
)
|
|
|
|
|
values (
|
|
|
|
|
#{orderIdFk},
|
|
|
|
@ -39,7 +39,8 @@
|
|
|
|
|
#{count},
|
|
|
|
|
#{productDate},
|
|
|
|
|
#{expireDate},
|
|
|
|
|
#{batchNo}
|
|
|
|
|
#{batchNo},
|
|
|
|
|
#{nameCode}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
@ -75,6 +76,7 @@
|
|
|
|
|
<if test="expireDate != null">expireDate=#{expireDate},</if>
|
|
|
|
|
<if test="productDate != null">productDate=#{productDate},</if>
|
|
|
|
|
<if test="batchNo != null">batchNo=#{batchNo},</if>
|
|
|
|
|
<if test="nameCode != null">nameCode=#{nameCode},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
|
</update>
|
|
|
|
|