|
|
@@ -14,6 +14,7 @@
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
+ <result property="picUrl" column="pic_url"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.enterprise.modules.base.entity.BillInfo">
|
|
|
<!--
|
|
|
@@ -23,7 +24,7 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_bill_info
|
|
|
- (id_,bill_name,bill_remark,wx_show,status_,create_by,create_time,update_by,update_time,del_flag)
|
|
|
+ (id_,bill_name,bill_remark,wx_show,status_,create_by,create_time,update_by,update_time,del_flag,pic_url)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
|
@@ -36,6 +37,7 @@
|
|
|
,#{updateBy,jdbcType=VARCHAR}
|
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
+,#{picUrl,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
|
@@ -70,7 +72,10 @@
|
|
|
update_time=#{updateTime,jdbcType= TIMESTAMP },
|
|
|
</if>
|
|
|
<if test="delFlag!=null">
|
|
|
- del_flag=#{delFlag,jdbcType= NUMERIC }
|
|
|
+ del_flag=#{delFlag,jdbcType= NUMERIC },
|
|
|
+ </if>
|
|
|
+ <if test="picUrl != null">
|
|
|
+ pic_url = #{picUrl,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
</set>
|
|
|
where id_=#{id}
|