Procházet zdrojové kódy

单位表新增法人联系方式和有效罐容两个字段

fanxw před 5 roky
rodič
revize
d70d4d81b3

+ 36 - 5
src/main/java/com/chinaitop/depot/system/mapper/OrgInfoMapper.xml

@@ -58,6 +58,8 @@
58 58
     <result column="depot_property" property="depotProperty" jdbcType="VARCHAR" />
59 59
     <result column="level_code" property="levelCode" jdbcType="VARCHAR" />
60 60
     <result column="updatetime" property="updateTime" jdbcType="VARCHAR" />
61
+    <result column="frlxfs" property="frlxfs" jdbcType="VARCHAR" />
62
+    <result column="yxgr" property="yxgr" jdbcType="DECIMAL" />
61 63
   </resultMap>
62 64
   <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.chinaitop.depot.system.model.OrgInfo">
63 65
     <result column="wjl" jdbcType="LONGVARCHAR" property="wjl" />
@@ -128,7 +130,7 @@
128 130
     independent_corporation, legal_person, whether_rent, info_regist, regist_date, remark, 
129 131
     parent_id, status, del_flag, birds_eye, birds_Remote, brief_introduction, invoice_title, 
130 132
     regist_number, bank_name, account_name, account_number,level_code,total_assets,corporate_capacity,
131
-    office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,updatetime
133
+    office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,updatetime,frlxfs,yxgr
132 134
   </sql>
133 135
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" >
134 136
     select
@@ -178,7 +180,7 @@
178 180
       regist_number, bank_name, account_name, 
179 181
       account_number,total_assets,corporate_capacity,
180 182
       office_phone,registered_address,mail_box,official_website,
181
-      house_number,tank_number,depot_property,level_code,wjl)
183
+      house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr)
182 184
     values (#{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR}, 
183 185
       #{orgCode,jdbcType=VARCHAR}, #{orgClassId,jdbcType=INTEGER}, #{companyNature,jdbcType=INTEGER}, 
184 186
       #{busiType,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR}, 
@@ -197,7 +199,8 @@
197 199
       #{accountNumber,jdbcType=VARCHAR}, #{totalAssets,jdbcType=INTEGER}, #{corporateCapacity,jdbcType=VARCHAR}, 
198 200
       #{officePhone,jdbcType=VARCHAR}, #{registeredAddress,jdbcType=VARCHAR}, #{mailBox,jdbcType=VARCHAR}, 
199 201
       #{officialWebsite,jdbcType=VARCHAR}, #{houseNumber,jdbcType=INTEGER}, #{tankNumber,jdbcType=INTEGER}, 
200
-      #{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR}, #{wjl,jdbcType=LONGVARCHAR})
202
+      #{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR}, #{wjl,jdbcType=LONGVARCHAR},
203
+      #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL})
201 204
   </insert>
202 205
   <insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.OrgInfo" useGeneratedKeys="true" keyProperty="orgId">
203 206
     insert into org_info
@@ -340,6 +343,12 @@
340 343
       <if test="wjl != null">
341 344
         wjl,
342 345
       </if>
346
+      <if test="frlxfs != null">
347
+      	frlxfs,
348
+      </if>
349
+      <if test="yxgr != null">
350
+      	yxgr,
351
+      </if>
343 352
     </trim>
344 353
     <trim prefix="values (" suffix=")" suffixOverrides="," >
345 354
       <if test="orgId != null" >
@@ -480,6 +489,12 @@
480 489
       <if test="wjl != null">
481 490
         #{wjl,jdbcType=LONGVARCHAR},
482 491
       </if>
492
+      <if test="frlxfs != null">
493
+        #{frlxfs,jdbcType=VARCHAR},
494
+      </if>
495
+      <if test="yxgr != null" >
496
+        #{yxgr,jdbcType=DECIMAL},
497
+      </if>
483 498
     </trim>
484 499
   </insert>
485 500
   <select id="countByExample" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" resultType="java.lang.Integer" >
@@ -632,6 +647,12 @@
632 647
       <if test="record.wjl != null">
633 648
         wjl = #{record.wjl,jdbcType=LONGVARCHAR},
634 649
       </if>
650
+      <if test="record.frlxfs != null">
651
+        frlxfs = #{record.frlxfs,jdbcType=VARCHAR},
652
+      </if>
653
+      <if test="record.yxgr != null" >
654
+        yxgr = #{record.yxgr,jdbcType=DECIMAL},
655
+      </if>
635 656
     </set>
636 657
     <if test="_parameter != null" >
637 658
       <include refid="Update_By_Example_Where_Clause" />
@@ -684,7 +705,9 @@
684 705
       bank_name = #{record.bankName,jdbcType=VARCHAR},
685 706
       account_name = #{record.accountName,jdbcType=VARCHAR},
686 707
       account_number = #{record.accountNumber,jdbcType=VARCHAR},
687
-      wjl = #{record.wjl,jdbcType=LONGVARCHAR}
708
+      wjl = #{record.wjl,jdbcType=LONGVARCHAR},
709
+      frlxfs = #{record.frlxfs,jdbcType=VARCHAR},
710
+      yxgr = #{record.yxgr,jdbcType=DECIMAL}
688 711
     <if test="_parameter != null" >
689 712
       <include refid="Update_By_Example_Where_Clause" />
690 713
     </if>
@@ -857,6 +880,12 @@
857 880
       <if test="wjl != null">
858 881
         wjl = #{wjl,jdbcType=LONGVARCHAR},
859 882
       </if>
883
+      <if test="frlxfs != null">
884
+        frlxfs = #{frlxfs,jdbcType=VARCHAR},
885
+      </if>
886
+      <if test="yxgr != null" >
887
+        yxgr = #{yxgr,jdbcType=DECIMAL},
888
+      </if>
860 889
     </set>
861 890
     where org_id = #{orgId,jdbcType=INTEGER}
862 891
   </update>
@@ -916,7 +945,9 @@
916 945
       tank_number = #{tankNumber,jdbcType=INTEGER},
917 946
       depot_property = #{depotProperty,jdbcType=VARCHAR},
918 947
       level_code = #{levelCode,jdbcType=VARCHAR},
919
-      wjl = #{wjl,jdbcType=LONGVARCHAR}
948
+      wjl = #{wjl,jdbcType=LONGVARCHAR},
949
+      frlxfs = #{frlxfs,jdbcType=VARCHAR},
950
+      yxgr = #{yxgr,jdbcType=DECIMAL}
920 951
     where org_id = #{orgId,jdbcType=INTEGER}
921 952
   </update>
922 953
   <update id="updateOrgLevel" parameterType="map" statementType="CALLABLE" >

+ 20 - 0
src/main/java/com/chinaitop/depot/system/model/OrgInfo.java

@@ -124,6 +124,10 @@ public class OrgInfo implements Serializable {
124 124
     private Date updateTime;
125 125
 
126 126
     private String wjl;
127
+    
128
+    private String frlxfs;
129
+    
130
+    private double yxgr;
127 131
 
128 132
     public Integer getOrgId() {
129 133
         return orgId;
@@ -588,4 +592,20 @@ public class OrgInfo implements Serializable {
588 592
 	public void setWjl(String wjl) {
589 593
         this.wjl = wjl == null ? null : wjl.trim();
590 594
     }
595
+
596
+	public String getFrlxfs() {
597
+		return frlxfs;
598
+	}
599
+
600
+	public void setFrlxfs(String frlxfs) {
601
+		this.frlxfs = frlxfs == null ? null : frlxfs.trim();
602
+	}
603
+
604
+	public double getYxgr() {
605
+		return yxgr;
606
+	}
607
+
608
+	public void setYxgr(double yxgr) {
609
+		this.yxgr = yxgr;
610
+	}
591 611
 }