|
|
@@ -35,6 +35,7 @@
|
|
|
<result column="createTime" property="createTime" jdbcType="TIMESTAMP"/>
|
|
|
<result column="sa_sellerid" property="sa_sellerid" jdbcType="INTEGER" />
|
|
|
<result column="sa_currency" property="sa_currency" jdbcType="VARCHAR" />
|
|
|
+ <result column="sa_nettotal" property="sa_nettotal" jdbcType="DOUBLE" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
sa_id, sa_code, sa_custid, sa_custcode, sa_custname, sa_toplace, sa_total, sa_totalupper,
|
|
|
@@ -155,6 +156,9 @@
|
|
|
<if test="sa_currency != null">
|
|
|
sa_currency,
|
|
|
</if>
|
|
|
+ <if test="sa_nettotal != null">
|
|
|
+ sa_nettotal,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="sa_code != null" >
|
|
|
@@ -238,6 +242,9 @@
|
|
|
<if test="sa_currency != null" >
|
|
|
#{sa_currency,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="sa_nettotal != null" >
|
|
|
+ #{sa_nettotal,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.sale.po.Sale" >
|
|
|
@@ -330,6 +337,9 @@
|
|
|
<if test="sa_currency != null" >
|
|
|
sa_currency = #{sa_currency,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="sa_nettotal != null" >
|
|
|
+ sa_nettotal = #{sa_nettotal,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where sa_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|