|
@@ -15,7 +15,7 @@
|
15
|
15
|
<result column="charge_person" property="chargePerson" jdbcType="VARCHAR" />
|
16
|
16
|
<result column="longitude" property="longitude" jdbcType="VARCHAR" />
|
17
|
17
|
<result column="latitude" property="latitude" jdbcType="VARCHAR" />
|
18
|
|
- <result column="regist_capital" property="registCapital" jdbcType="INTEGER" />
|
|
18
|
+ <result column="regist_capital" property="registCapital" jdbcType="DECIMAL" />
|
19
|
19
|
<result column="work_number" property="workNumber" jdbcType="INTEGER" />
|
20
|
20
|
<result column="area_code" property="areaCode" jdbcType="INTEGER" />
|
21
|
21
|
<result column="area_name" property="areaName" jdbcType="VARCHAR" />
|
|
@@ -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,12 +193,12 @@
|
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},
|
198
|
200
|
#{fax,jdbcType=VARCHAR}, #{chargePerson,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR},
|
199
|
|
- #{latitude,jdbcType=VARCHAR}, #{registCapital,jdbcType=INTEGER}, #{workNumber,jdbcType=INTEGER},
|
|
201
|
+ #{latitude,jdbcType=VARCHAR}, #{registCapital,jdbcType=DECIMAL}, #{workNumber,jdbcType=INTEGER},
|
200
|
202
|
#{areaCode,jdbcType=INTEGER}, #{areaName,jdbcType=VARCHAR}, #{post,jdbcType=VARCHAR},
|
201
|
203
|
#{depotClass,jdbcType=INTEGER}, #{designCapacity,jdbcType=DECIMAL}, #{effectiveCapacity,jdbcType=DECIMAL},
|
202
|
204
|
#{depotArea,jdbcType=DECIMAL}, #{completeDate,jdbcType=TIMESTAMP}, #{useDate,jdbcType=TIMESTAMP},
|
|
@@ -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" >
|
|
@@ -425,7 +430,7 @@
|
425
|
430
|
#{latitude,jdbcType=VARCHAR},
|
426
|
431
|
</if>
|
427
|
432
|
<if test="registCapital != null" >
|
428
|
|
- #{registCapital,jdbcType=INTEGER},
|
|
433
|
+ #{registCapital,jdbcType=DECIMAL},
|
429
|
434
|
</if>
|
430
|
435
|
<if test="workNumber != null" >
|
431
|
436
|
#{workNumber,jdbcType=INTEGER},
|
|
@@ -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" >
|
|
@@ -601,7 +609,7 @@
|
601
|
609
|
latitude = #{record.latitude,jdbcType=VARCHAR},
|
602
|
610
|
</if>
|
603
|
611
|
<if test="record.registCapital != null" >
|
604
|
|
- regist_capital = #{record.registCapital,jdbcType=INTEGER},
|
|
612
|
+ regist_capital = #{record.registCapital,jdbcType=DECIMAL},
|
605
|
613
|
</if>
|
606
|
614
|
<if test="record.workNumber != null" >
|
607
|
615
|
work_number = #{record.workNumber,jdbcType=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" />
|
|
@@ -749,7 +760,7 @@
|
749
|
760
|
charge_person = #{record.chargePerson,jdbcType=VARCHAR},
|
750
|
761
|
longitude = #{record.longitude,jdbcType=VARCHAR},
|
751
|
762
|
latitude = #{record.latitude,jdbcType=VARCHAR},
|
752
|
|
- regist_capital = #{record.registCapital,jdbcType=INTEGER},
|
|
763
|
+ regist_capital = #{record.registCapital,jdbcType=DECIMAL},
|
753
|
764
|
work_number = #{record.workNumber,jdbcType=INTEGER},
|
754
|
765
|
area_code = #{record.areaCode,jdbcType=INTEGER},
|
755
|
766
|
area_name = #{record.areaName,jdbcType=VARCHAR},
|
|
@@ -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>
|
|
@@ -835,7 +847,7 @@
|
835
|
847
|
latitude = #{latitude,jdbcType=VARCHAR},
|
836
|
848
|
</if>
|
837
|
849
|
<if test="registCapital != null" >
|
838
|
|
- regist_capital = #{registCapital,jdbcType=INTEGER},
|
|
850
|
+ regist_capital = #{registCapital,jdbcType=DECIMAL},
|
839
|
851
|
</if>
|
840
|
852
|
<if test="workNumber != null" >
|
841
|
853
|
work_number = #{workNumber,jdbcType=INTEGER},
|
|
@@ -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>
|
|
@@ -1007,7 +1022,7 @@
|
1007
|
1022
|
charge_person = #{chargePerson,jdbcType=VARCHAR},
|
1008
|
1023
|
longitude = #{longitude,jdbcType=VARCHAR},
|
1009
|
1024
|
latitude = #{latitude,jdbcType=VARCHAR},
|
1010
|
|
- regist_capital = #{registCapital,jdbcType=INTEGER},
|
|
1025
|
+ regist_capital = #{registCapital,jdbcType=DECIMAL},
|
1011
|
1026
|
work_number = #{workNumber,jdbcType=INTEGER},
|
1012
|
1027
|
area_code = #{areaCode,jdbcType=INTEGER},
|
1013
|
1028
|
area_name = #{areaName,jdbcType=VARCHAR},
|
|
@@ -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" >
|