Commit c3d00df7 by guanzhenshan

解决采购单明细保存出错的问题

parent 91ea6e88
...@@ -381,7 +381,7 @@ public class PurchaseDetailDTO { ...@@ -381,7 +381,7 @@ public class PurchaseDetailDTO {
private Integer amountExpress; private Integer amountExpress;
@JSONField(name = "createusername") @JSONField(name = "createusername")
private String createUsername; private String createusername;
} }
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<result column="amount_buy" jdbcType="DECIMAL" property="amountBuy" /> <result column="amount_buy" jdbcType="DECIMAL" property="amountBuy" />
<result column="amount_payed" jdbcType="DECIMAL" property="amountPayed" /> <result column="amount_payed" jdbcType="DECIMAL" property="amountPayed" />
<result column="amount_express" jdbcType="DECIMAL" property="amountExpress" /> <result column="amount_express" jdbcType="DECIMAL" property="amountExpress" />
<result column="createusername" jdbcType="VARCHAR" property="createUsername" /> <result column="createusername" jdbcType="VARCHAR" property="createusername" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
<if test="amountExpress != null"> <if test="amountExpress != null">
amount_express, amount_express,
</if> </if>
<if test="createUsername != null"> <if test="createusername != null">
createusername createusername
</if> </if>
</trim> </trim>
...@@ -540,7 +540,7 @@ ...@@ -540,7 +540,7 @@
<if test="amountExpress != null"> <if test="amountExpress != null">
#{amountExpress,jdbcType=DECIMAL}, #{amountExpress,jdbcType=DECIMAL},
</if> </if>
<if test="createUsername != null"> <if test="createusername != null">
#{createUsername,jdbcType=VARCHAR}, #{createUsername,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
...@@ -712,8 +712,8 @@ ...@@ -712,8 +712,8 @@
<if test="record.arrivalStatus != null"> <if test="record.arrivalStatus != null">
amount_express = #{record.amountExpress,jdbcType=DECIMAL}, amount_express = #{record.amountExpress,jdbcType=DECIMAL},
</if> </if>
<if test="record.createUsername != null"> <if test="record.createusername != null">
createusername = #{record.createUsername,jdbcType=VARCHAR}, createusername = #{record.createusername,jdbcType=VARCHAR},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment