|
@@ -79,7 +79,7 @@
|
|
|
<sql id="Base_Column_List" >
|
|
<sql id="Base_Column_List" >
|
|
|
ma_id, ma_code, ma_status, ma_statuscode, ma_type, ma_prodid, ma_prodcode, ma_proddetail,
|
|
ma_id, ma_code, ma_status, ma_statuscode, ma_type, ma_prodid, ma_prodcode, ma_proddetail,
|
|
|
ma_prodspec, ma_version, ma_produnit, ma_qty, ma_whid, ma_whcode, ma_whname,ma_price, ma_total,ma_auditman,ma_auditdate, companyId, updaterId,updaterName,updateTime,creatorid,creatorName,createtime, ma_text1,
|
|
ma_prodspec, ma_version, ma_produnit, ma_qty, ma_whid, ma_whcode, ma_whname,ma_price, ma_total,ma_auditman,ma_auditdate, companyId, updaterId,updaterName,updateTime,creatorid,creatorName,createtime, ma_text1,
|
|
|
- ma_text2, ma_text3, ma_text4, ma_text5
|
|
|
|
|
|
|
+ ma_text2, ma_text3, ma_text4, ma_text5,ma_prodorispec
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
|
|
|
select
|
|
select
|
|
@@ -102,7 +102,7 @@
|
|
|
ma_whid, ma_whcode, ma_whname, ma_price,
|
|
ma_whid, ma_whcode, ma_whname, ma_price,
|
|
|
ma_total, ma_auditman,ma_auditdate,companyId, updaterId,
|
|
ma_total, ma_auditman,ma_auditdate,companyId, updaterId,
|
|
|
updateTime, ma_text1, ma_text2,
|
|
updateTime, ma_text1, ma_text2,
|
|
|
- ma_text3, ma_text4, ma_text5
|
|
|
|
|
|
|
+ ma_text3, ma_text4, ma_text5,ma_prodorispec
|
|
|
)
|
|
)
|
|
|
values (#{ma_code,jdbcType=VARCHAR}, #{ma_status,jdbcType=VARCHAR},
|
|
values (#{ma_code,jdbcType=VARCHAR}, #{ma_status,jdbcType=VARCHAR},
|
|
|
#{ma_statuscode,jdbcType=VARCHAR}, #{ma_type,jdbcType=VARCHAR}, #{ma_prodid,jdbcType=INTEGER},
|
|
#{ma_statuscode,jdbcType=VARCHAR}, #{ma_type,jdbcType=VARCHAR}, #{ma_prodid,jdbcType=INTEGER},
|
|
@@ -111,7 +111,7 @@
|
|
|
#{ma_whid,jdbcType=INTEGER}, #{ma_whcode,jdbcType=VARCHAR}, #{ma_whname,jdbcType=VARCHAR}, #{ma_price,jdbcType=DOUBLE},
|
|
#{ma_whid,jdbcType=INTEGER}, #{ma_whcode,jdbcType=VARCHAR}, #{ma_whname,jdbcType=VARCHAR}, #{ma_price,jdbcType=DOUBLE},
|
|
|
#{ma_total,jdbcType=DOUBLE}, #{ma_auditman,jdbcType=VARCHAR},#{ma_auditdate.jdbcType=TIMESTAMP},#{companyId,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER},
|
|
#{ma_total,jdbcType=DOUBLE}, #{ma_auditman,jdbcType=VARCHAR},#{ma_auditdate.jdbcType=TIMESTAMP},#{companyId,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER},
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{ma_text1,jdbcType=VARCHAR}, #{ma_text2,jdbcType=VARCHAR},
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{ma_text1,jdbcType=VARCHAR}, #{ma_text2,jdbcType=VARCHAR},
|
|
|
- #{ma_text3,jdbcType=VARCHAR}, #{ma_text4,jdbcType=VARCHAR}, #{ma_text5,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ #{ma_text3,jdbcType=VARCHAR}, #{ma_text4,jdbcType=VARCHAR}, #{ma_text5,jdbcType=VARCHAR},#{ma_prodorispec,jdbcType=VARCHAR}
|
|
|
)
|
|
)
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.usoftchina.saas.storage.po.Make">
|
|
<insert id="insertSelective" parameterType="com.usoftchina.saas.storage.po.Make">
|
|
@@ -211,6 +211,9 @@
|
|
|
<if test="updaterName != null">
|
|
<if test="updaterName != null">
|
|
|
updaterName,
|
|
updaterName,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ma_prodorispec != null">
|
|
|
|
|
+ ma_prodorispec,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
|
@@ -304,6 +307,9 @@
|
|
|
<if test="updaterName != null">
|
|
<if test="updaterName != null">
|
|
|
#{updaterName,jdbcType=VARCHAR},
|
|
#{updaterName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ma_prodorispec != null">
|
|
|
|
|
+ #{ma_prodorispec,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.storage.po.Make" >
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.storage.po.Make" >
|
|
@@ -387,6 +393,7 @@
|
|
|
<if test="ma_text5 != null" >
|
|
<if test="ma_text5 != null" >
|
|
|
ma_text5 = #{ma_text5,jdbcType=VARCHAR},
|
|
ma_text5 = #{ma_text5,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+
|
|
|
</set>
|
|
</set>
|
|
|
where ma_id = #{id}
|
|
where ma_id = #{id}
|
|
|
</update>
|
|
</update>
|
|
@@ -417,7 +424,8 @@
|
|
|
ma_text2 = #{ma_text2,jdbcType=VARCHAR},
|
|
ma_text2 = #{ma_text2,jdbcType=VARCHAR},
|
|
|
ma_text3 = #{ma_text3,jdbcType=VARCHAR},
|
|
ma_text3 = #{ma_text3,jdbcType=VARCHAR},
|
|
|
ma_text4 = #{ma_text4,jdbcType=VARCHAR},
|
|
ma_text4 = #{ma_text4,jdbcType=VARCHAR},
|
|
|
- ma_text5 = #{ma_text5,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ ma_text5 = #{ma_text5,jdbcType=VARCHAR},
|
|
|
|
|
+ ma_prodorispec = #{ma_prodorispec,jdbcType=VARCHAR}
|
|
|
where ma_id = #{id}
|
|
where ma_id = #{id}
|
|
|
</update>
|
|
</update>
|
|
|
<select id="getListDataByCondition" resultMap="BaseResultMap">
|
|
<select id="getListDataByCondition" resultMap="BaseResultMap">
|