|
|
@@ -22,6 +22,7 @@
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="industryName" column="industry_name" />
|
|
|
+ <result property="position" column="position_" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.enterprise.modules.base.entity.CompanyInfo">
|
|
|
<!--
|
|
|
@@ -31,7 +32,7 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_company_info
|
|
|
- (id_,company_name,type_,logo_url,credit_code,address_,business_license_url,scale_,industry_,region_,company_introduction,enterpriser_introduction,create_by,create_time,update_by,update_time,del_flag)
|
|
|
+ (id_,company_name,type_,logo_url,credit_code,address_,business_license_url,scale_,industry_,region_,company_introduction,enterpriser_introduction,create_by,create_time,update_by,update_time,del_flag,position_)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
|
@@ -51,6 +52,7 @@
|
|
|
,#{updateBy,jdbcType=VARCHAR}
|
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
+,#{position,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
|
@@ -108,6 +110,9 @@
|
|
|
<if test="delFlag!=null">
|
|
|
del_flag=#{delFlag,jdbcType= NUMERIC },
|
|
|
</if>
|
|
|
+ <if test="position!=null">
|
|
|
+ position_=#{position,jdbcType= VARCHAR },
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|