Commit 91ea6e88 by guanzhenshan

采购单详情增加创建人字段

parent 3ef7a3c3
...@@ -380,5 +380,8 @@ public class PurchaseDetailDTO { ...@@ -380,5 +380,8 @@ public class PurchaseDetailDTO {
@JSONField(name = "expressfee") @JSONField(name = "expressfee")
private Integer amountExpress; private Integer amountExpress;
@JSONField(name = "createusername")
private String createUsername;
} }
...@@ -432,6 +432,7 @@ public class DcBasePurchaseDetails { ...@@ -432,6 +432,7 @@ public class DcBasePurchaseDetails {
private Integer amountExpress; private Integer amountExpress;
private String createusername;
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +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" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -385,7 +386,10 @@ ...@@ -385,7 +386,10 @@
amount_payed, amount_payed,
</if> </if>
<if test="amountExpress != null"> <if test="amountExpress != null">
amount_express amount_express,
</if>
<if test="createUsername != null">
createusername
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
...@@ -536,6 +540,9 @@ ...@@ -536,6 +540,9 @@
<if test="amountExpress != null"> <if test="amountExpress != null">
#{amountExpress,jdbcType=DECIMAL}, #{amountExpress,jdbcType=DECIMAL},
</if> </if>
<if test="createUsername != null">
#{createUsername,jdbcType=VARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<select id="countByExample" parameterType="com.bailuntec.domain.example.DcBasePurchaseDetailsExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.bailuntec.domain.example.DcBasePurchaseDetailsExample" resultType="java.lang.Long">
...@@ -705,7 +712,9 @@ ...@@ -705,7 +712,9 @@
<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">
createusername = #{record.createUsername,jdbcType=VARCHAR},
</if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
......
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