Commit c3d00df7 by guanzhenshan

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

parent 91ea6e88
......@@ -381,7 +381,7 @@ public class PurchaseDetailDTO {
private Integer amountExpress;
@JSONField(name = "createusername")
private String createUsername;
private String createusername;
}
......@@ -55,7 +55,7 @@
<result column="amount_buy" jdbcType="DECIMAL" property="amountBuy" />
<result column="amount_payed" jdbcType="DECIMAL" property="amountPayed" />
<result column="amount_express" jdbcType="DECIMAL" property="amountExpress" />
<result column="createusername" jdbcType="VARCHAR" property="createUsername" />
<result column="createusername" jdbcType="VARCHAR" property="createusername" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -388,7 +388,7 @@
<if test="amountExpress != null">
amount_express,
</if>
<if test="createUsername != null">
<if test="createusername != null">
createusername
</if>
</trim>
......@@ -540,7 +540,7 @@
<if test="amountExpress != null">
#{amountExpress,jdbcType=DECIMAL},
</if>
<if test="createUsername != null">
<if test="createusername != null">
#{createUsername,jdbcType=VARCHAR},
</if>
</trim>
......@@ -712,8 +712,8 @@
<if test="record.arrivalStatus != null">
amount_express = #{record.amountExpress,jdbcType=DECIMAL},
</if>
<if test="record.createUsername != null">
createusername = #{record.createUsername,jdbcType=VARCHAR},
<if test="record.createusername != null">
createusername = #{record.createusername,jdbcType=VARCHAR},
</if>
</set>
<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