Commit 91ea6e88 by guanzhenshan

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

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