Browse Source

客户规模数据类型更换

anderx 7 years ago
parent
commit
138881e547

+ 7 - 7
src/main/java/com/goafanti/common/mapper/OrganizationIdentityMapper.xml

@@ -56,7 +56,7 @@
     <result column="registration_time" jdbcType="TIMESTAMP" property="registrationTime" />
     <result column="ratepay_code" jdbcType="VARCHAR" property="ratepayCode" />
     <result column="industry" jdbcType="INTEGER" property="industry" />
-    <result column="enterprise_scale" jdbcType="INTEGER" property="enterpriseScale" />
+    <result column="enterprise_scale" jdbcType="VARCHAR" property="enterpriseScale" />
     <result column="register_type" jdbcType="VARCHAR" property="registerType" />
     <result column="foreign_investment" jdbcType="VARCHAR" property="foreignInvestment" />
     <result column="field" jdbcType="VARCHAR" property="field" />
@@ -259,7 +259,7 @@
       #{issuingDate,jdbcType=TIMESTAMP}, #{cogContacts,jdbcType=INTEGER}, #{techPrincipal,jdbcType=VARCHAR}, 
       #{contactsFixedTel,jdbcType=VARCHAR}, #{contactsFax,jdbcType=VARCHAR}, #{legalPersonTel,jdbcType=VARCHAR}, 
       #{legalPersonFax,jdbcType=VARCHAR}, #{legalPersonEmail,jdbcType=VARCHAR}, #{registrationTime,jdbcType=TIMESTAMP}, 
-      #{ratepayCode,jdbcType=VARCHAR}, #{industry,jdbcType=INTEGER}, #{enterpriseScale,jdbcType=INTEGER}, 
+      #{ratepayCode,jdbcType=VARCHAR}, #{industry,jdbcType=INTEGER}, #{enterpriseScale,jdbcType=VARCHAR}, 
       #{registerType,jdbcType=VARCHAR}, #{foreignInvestment,jdbcType=VARCHAR}, #{field,jdbcType=VARCHAR}, 
       #{taxAuthority,jdbcType=INTEGER}, #{ratepayMethod,jdbcType=INTEGER}, #{highTechZone,jdbcType=INTEGER}, 
       #{riskInvestment,jdbcType=INTEGER}, #{businessScope,jdbcType=VARCHAR}, #{highTechName,jdbcType=VARCHAR}, 
@@ -630,7 +630,7 @@
         #{industry,jdbcType=INTEGER},
       </if>
       <if test="enterpriseScale != null">
-        #{enterpriseScale,jdbcType=INTEGER},
+        #{enterpriseScale,jdbcType=VARCHAR},
       </if>
       <if test="registerType != null">
         #{registerType,jdbcType=VARCHAR},
@@ -855,7 +855,7 @@
         industry = #{record.industry,jdbcType=INTEGER},
       </if>
       <if test="record.enterpriseScale != null">
-        enterprise_scale = #{record.enterpriseScale,jdbcType=INTEGER},
+        enterprise_scale = #{record.enterpriseScale,jdbcType=VARCHAR},
       </if>
       <if test="record.registerType != null">
         register_type = #{record.registerType,jdbcType=VARCHAR},
@@ -972,7 +972,7 @@
       registration_time = #{record.registrationTime,jdbcType=TIMESTAMP},
       ratepay_code = #{record.ratepayCode,jdbcType=VARCHAR},
       industry = #{record.industry,jdbcType=INTEGER},
-      enterprise_scale = #{record.enterpriseScale,jdbcType=INTEGER},
+      enterprise_scale = #{record.enterpriseScale,jdbcType=VARCHAR},
       register_type = #{record.registerType,jdbcType=VARCHAR},
       foreign_investment = #{record.foreignInvestment,jdbcType=VARCHAR},
       field = #{record.field,jdbcType=VARCHAR},
@@ -1148,7 +1148,7 @@
         industry = #{industry,jdbcType=INTEGER},
       </if>
       <if test="enterpriseScale != null">
-        enterprise_scale = #{enterpriseScale,jdbcType=INTEGER},
+        enterprise_scale = #{enterpriseScale,jdbcType=VARCHAR},
       </if>
       <if test="registerType != null">
         register_type = #{registerType,jdbcType=VARCHAR},
@@ -1262,7 +1262,7 @@
       registration_time = #{registrationTime,jdbcType=TIMESTAMP},
       ratepay_code = #{ratepayCode,jdbcType=VARCHAR},
       industry = #{industry,jdbcType=INTEGER},
-      enterprise_scale = #{enterpriseScale,jdbcType=INTEGER},
+      enterprise_scale = #{enterpriseScale,jdbcType=VARCHAR},
       register_type = #{registerType,jdbcType=VARCHAR},
       foreign_investment = #{foreignInvestment,jdbcType=VARCHAR},
       field = #{field,jdbcType=VARCHAR},