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