gaodd 1 rok temu
rodzic
commit
3c11162f86

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

@@ -68,6 +68,8 @@
68
     <result column="zc_city" property="zcCity" jdbcType="INTEGER" />
68
     <result column="zc_city" property="zcCity" jdbcType="INTEGER" />
69
     <result column="zc_county" property="zcCounty" jdbcType="INTEGER" />
69
     <result column="zc_county" property="zcCounty" jdbcType="INTEGER" />
70
     <result column="unit_info_id" property="unitInfoId" jdbcType="VARCHAR" />
70
     <result column="unit_info_id" property="unitInfoId" jdbcType="VARCHAR" />
71
+    
72
+    <result column="tykqbm" property="tykqbm" jdbcType="VARCHAR" />
71
   </resultMap>
73
   </resultMap>
72
   <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.chinaitop.depot.system.model.OrgInfo">
74
   <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.chinaitop.depot.system.model.OrgInfo">
73
     <result column="wjl" jdbcType="LONGVARCHAR" property="wjl" />
75
     <result column="wjl" jdbcType="LONGVARCHAR" property="wjl" />
@@ -139,7 +141,7 @@
139
     parent_id, status, del_flag, birds_eye, birds_Remote, brief_introduction, invoice_title, 
141
     parent_id, status, del_flag, birds_eye, birds_Remote, brief_introduction, invoice_title, 
140
     regist_number, bank_name, account_name, account_number,level_code,total_assets,corporate_capacity,
142
     regist_number, bank_name, account_name, account_number,level_code,total_assets,corporate_capacity,
141
     office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,updatetime,
143
     office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,updatetime,
142
-    cityCouncil_code,frlxfs,yxgr,kqbm,sfzk, kq_number, zc_province, zc_city, zc_county,unit_info_id
144
+    cityCouncil_code,frlxfs,yxgr,kqbm,sfzk, kq_number, zc_province, zc_city, zc_county,unit_info_id,tykqbm
143
   </sql>
145
   </sql>
144
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" >
146
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" >
145
     select
147
     select
@@ -191,7 +193,7 @@
191
       account_number,total_assets,corporate_capacity,
193
       account_number,total_assets,corporate_capacity,
192
       office_phone,registered_address,mail_box,official_website,
194
       office_phone,registered_address,mail_box,official_website,
193
       house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr,kqbm,sfzk, kq_number, zc_province, zc_city, zc_county,
195
       house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr,kqbm,sfzk, kq_number, zc_province, zc_city, zc_county,
194
-      unit_info_id)
196
+      unit_info_id,tykqbm)
195
     values (#{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR}, 
197
     values (#{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR}, 
196
       #{orgCode,jdbcType=VARCHAR}, #{orgClassId,jdbcType=INTEGER}, #{companyNature,jdbcType=INTEGER}, 
198
       #{orgCode,jdbcType=VARCHAR}, #{orgClassId,jdbcType=INTEGER}, #{companyNature,jdbcType=INTEGER}, 
197
       #{busiType,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR}, 
199
       #{busiType,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR}, 
@@ -213,7 +215,7 @@
213
       #{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR}, #{wjl,jdbcType=LONGVARCHAR},
215
       #{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR}, #{wjl,jdbcType=LONGVARCHAR},
214
       #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL}, #{kqbm,jdbcType=VARCHAR}, #{sfzk,jdbcType=VARCHAR},
216
       #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL}, #{kqbm,jdbcType=VARCHAR}, #{sfzk,jdbcType=VARCHAR},
215
       #{kqNumber,jdbcType=INTEGER}, #{zcProvince,jdbcType=INTEGER},#{zcCity,jdbcType=INTEGER}, #{zcCounty,jdbcType=INTEGER},
217
       #{kqNumber,jdbcType=INTEGER}, #{zcProvince,jdbcType=INTEGER},#{zcCity,jdbcType=INTEGER}, #{zcCounty,jdbcType=INTEGER},
216
-      #{unitInfoId,jdbcType=VARCHAR})
218
+      #{unitInfoId,jdbcType=VARCHAR},#{tykqbm,jdbcType=VARCHAR})
217
   </insert>
219
   </insert>
218
   <insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.OrgInfo" useGeneratedKeys="true" keyProperty="orgId">
220
   <insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.OrgInfo" useGeneratedKeys="true" keyProperty="orgId">
219
     insert into org_info
221
     insert into org_info
@@ -383,6 +385,9 @@
383
       <if test="unitInfoId != null" >
385
       <if test="unitInfoId != null" >
384
         unit_info_id,
386
         unit_info_id,
385
       </if>
387
       </if>
388
+      <if test="tykqbm != null" >
389
+        tykqbm,
390
+      </if>
386
     </trim>
391
     </trim>
387
     <trim prefix="values (" suffix=")" suffixOverrides="," >
392
     <trim prefix="values (" suffix=")" suffixOverrides="," >
388
       <if test="orgId != null" >
393
       <if test="orgId != null" >
@@ -550,6 +555,9 @@
550
       <if test="unitInfoId != null">
555
       <if test="unitInfoId != null">
551
         #{unitInfoId,jdbcType=VARCHAR},
556
         #{unitInfoId,jdbcType=VARCHAR},
552
       </if>
557
       </if>
558
+      <if test="tykqbm != null">
559
+        #{tykqbm,jdbcType=VARCHAR},
560
+      </if>
553
     </trim>
561
     </trim>
554
   </insert>
562
   </insert>
555
   <select id="countByExample" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" resultType="java.lang.Integer" >
563
   <select id="countByExample" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" resultType="java.lang.Integer" >
@@ -729,6 +737,9 @@
729
       <if test="record.unitInfoId != null">
737
       <if test="record.unitInfoId != null">
730
         unit_info_id = #{record.unitInfoId,jdbcType=VARCHAR},
738
         unit_info_id = #{record.unitInfoId,jdbcType=VARCHAR},
731
       </if>
739
       </if>
740
+      <if test="record.tykqbm != null">
741
+        tykqbm = #{record.tykqbm,jdbcType=VARCHAR},
742
+      </if>
732
     </set>
743
     </set>
733
     <if test="_parameter != null" >
744
     <if test="_parameter != null" >
734
       <include refid="Update_By_Example_Where_Clause" />
745
       <include refid="Update_By_Example_Where_Clause" />
@@ -790,7 +801,8 @@
790
       zc_province = #{record.zcProvince,jdbcType=INTEGER},
801
       zc_province = #{record.zcProvince,jdbcType=INTEGER},
791
       zc_city = #{record.zcCity,jdbcType=INTEGER},
802
       zc_city = #{record.zcCity,jdbcType=INTEGER},
792
       zc_county = #{record.zcCounty,jdbcType=INTEGER},
803
       zc_county = #{record.zcCounty,jdbcType=INTEGER},
793
-      unit_info_id = #{record.unitInfoId,jdbcType=VARCHAR}
804
+      unit_info_id = #{record.unitInfoId,jdbcType=VARCHAR},
805
+      tykqbm = #{record.tykqbm,jdbcType=VARCHAR}
794
     <if test="_parameter != null" >
806
     <if test="_parameter != null" >
795
       <include refid="Update_By_Example_Where_Clause" />
807
       <include refid="Update_By_Example_Where_Clause" />
796
     </if>
808
     </if>
@@ -990,6 +1002,9 @@
990
       <if test="unitInfoId != null" >
1002
       <if test="unitInfoId != null" >
991
         unit_info_id = #{unitInfoId,jdbcType=VARCHAR},
1003
         unit_info_id = #{unitInfoId,jdbcType=VARCHAR},
992
       </if>
1004
       </if>
1005
+      <if test="tykqbm != null" >
1006
+        tykqbm = #{tykqbm,jdbcType=VARCHAR},
1007
+      </if>
993
     </set>
1008
     </set>
994
     where org_id = #{orgId,jdbcType=INTEGER}
1009
     where org_id = #{orgId,jdbcType=INTEGER}
995
   </update>
1010
   </update>
@@ -1058,7 +1073,8 @@
1058
       zc_province = #{zcProvince,jdbcType=INTEGER},
1073
       zc_province = #{zcProvince,jdbcType=INTEGER},
1059
       zc_city = #{zcCity,jdbcType=INTEGER},
1074
       zc_city = #{zcCity,jdbcType=INTEGER},
1060
       zc_county = #{zcCounty,jdbcType=INTEGER},
1075
       zc_county = #{zcCounty,jdbcType=INTEGER},
1061
-      unit_info_id = #{unitInfoId,jdbcType=VARCHAR}
1076
+      unit_info_id = #{unitInfoId,jdbcType=VARCHAR},
1077
+      tykqbm = #{tykqbm,jdbcType=VARCHAR}
1062
     where org_id = #{orgId,jdbcType=INTEGER}
1078
     where org_id = #{orgId,jdbcType=INTEGER}
1063
   </update>
1079
   </update>
1064
   <update id="updateOrgLevel" parameterType="map" statementType="CALLABLE" >
1080
   <update id="updateOrgLevel" parameterType="map" statementType="CALLABLE" >

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

@@ -12,6 +12,8 @@ public class OrgInfo implements Serializable {
12
     
12
     
13
     private String unitInfoId;
13
     private String unitInfoId;
14
     
14
     
15
+    private String tykqbm;
16
+    
15
     public String getUnitInfoId() {
17
     public String getUnitInfoId() {
16
 		return unitInfoId;
18
 		return unitInfoId;
17
 	}
19
 	}
@@ -19,6 +21,18 @@ public class OrgInfo implements Serializable {
19
 	public void setUnitInfoId(String unitInfoId) {
21
 	public void setUnitInfoId(String unitInfoId) {
20
 		this.unitInfoId = unitInfoId;
22
 		this.unitInfoId = unitInfoId;
21
 	}
23
 	}
24
+	
25
+	
26
+
27
+	public String getTykqbm() {
28
+		return tykqbm;
29
+	}
30
+
31
+	public void setTykqbm(String tykqbm) {
32
+		this.tykqbm = tykqbm;
33
+	}
34
+
35
+
22
 
36
 
23
 	private Integer orgId;
37
 	private Integer orgId;
24
 
38