|
|
@@ -61,6 +61,7 @@
|
|
61
|
61
|
<result column="frlxfs" property="frlxfs" jdbcType="VARCHAR" />
|
|
62
|
62
|
<result column="yxgr" property="yxgr" jdbcType="DECIMAL" />
|
|
63
|
63
|
<result column="kqbm" property="kqbm" jdbcType="VARCHAR" />
|
|
|
64
|
+ <result column="sfzk" property="sfzk" jdbcType="VARCHAR" />
|
|
64
|
65
|
</resultMap>
|
|
65
|
66
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.chinaitop.depot.system.model.OrgInfo">
|
|
66
|
67
|
<result column="wjl" jdbcType="LONGVARCHAR" property="wjl" />
|
|
|
@@ -132,7 +133,7 @@
|
|
132
|
133
|
parent_id, status, del_flag, birds_eye, birds_Remote, brief_introduction, invoice_title,
|
|
133
|
134
|
regist_number, bank_name, account_name, account_number,level_code,total_assets,corporate_capacity,
|
|
134
|
135
|
office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,
|
|
135
|
|
- updatetime,frlxfs,yxgr,kqbm
|
|
|
136
|
+ updatetime,frlxfs,yxgr,kqbm,sfzk
|
|
136
|
137
|
</sql>
|
|
137
|
138
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" >
|
|
138
|
139
|
select
|
|
|
@@ -182,7 +183,7 @@
|
|
182
|
183
|
regist_number, bank_name, account_name,
|
|
183
|
184
|
account_number,total_assets,corporate_capacity,
|
|
184
|
185
|
office_phone,registered_address,mail_box,official_website,
|
|
185
|
|
- house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr,kqbm)
|
|
|
186
|
+ house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr,kqbm,sfzk)
|
|
186
|
187
|
values (#{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR},
|
|
187
|
188
|
#{orgCode,jdbcType=VARCHAR}, #{orgClassId,jdbcType=INTEGER}, #{companyNature,jdbcType=INTEGER},
|
|
188
|
189
|
#{busiType,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR},
|
|
|
@@ -202,7 +203,7 @@
|
|
202
|
203
|
#{officePhone,jdbcType=VARCHAR}, #{registeredAddress,jdbcType=VARCHAR}, #{mailBox,jdbcType=VARCHAR},
|
|
203
|
204
|
#{officialWebsite,jdbcType=VARCHAR}, #{houseNumber,jdbcType=INTEGER}, #{tankNumber,jdbcType=INTEGER},
|
|
204
|
205
|
#{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR}, #{wjl,jdbcType=LONGVARCHAR},
|
|
205
|
|
- #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL}, #{kqbm,jdbcType=VARCHAR})
|
|
|
206
|
+ #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL}, #{kqbm,jdbcType=VARCHAR}, #{sfzk,jdbcType=VARCHAR})
|
|
206
|
207
|
</insert>
|
|
207
|
208
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.OrgInfo" useGeneratedKeys="true" keyProperty="orgId">
|
|
208
|
209
|
insert into org_info
|
|
|
@@ -354,6 +355,9 @@
|
|
354
|
355
|
<if test="kqbm != null">
|
|
355
|
356
|
kqbm,
|
|
356
|
357
|
</if>
|
|
|
358
|
+ <if test="sfzk != null">
|
|
|
359
|
+ sfzk,
|
|
|
360
|
+ </if>
|
|
357
|
361
|
</trim>
|
|
358
|
362
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
359
|
363
|
<if test="orgId != null" >
|
|
|
@@ -503,6 +507,9 @@
|
|
503
|
507
|
<if test="kqbm != null">
|
|
504
|
508
|
#{kqbm,jdbcType=VARCHAR},
|
|
505
|
509
|
</if>
|
|
|
510
|
+ <if test="sfzk != null">
|
|
|
511
|
+ #{sfzk,jdbcType=VARCHAR},
|
|
|
512
|
+ </if>
|
|
506
|
513
|
</trim>
|
|
507
|
514
|
</insert>
|
|
508
|
515
|
<select id="countByExample" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" resultType="java.lang.Integer" >
|
|
|
@@ -664,6 +671,9 @@
|
|
664
|
671
|
<if test="record.kqbm != null">
|
|
665
|
672
|
kqbm = #{record.kqbm,jdbcType=VARCHAR},
|
|
666
|
673
|
</if>
|
|
|
674
|
+ <if test="record.sfzk != null">
|
|
|
675
|
+ sfzk = #{record.sfzk,jdbcType=VARCHAR},
|
|
|
676
|
+ </if>
|
|
667
|
677
|
</set>
|
|
668
|
678
|
<if test="_parameter != null" >
|
|
669
|
679
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -719,7 +729,8 @@
|
|
719
|
729
|
wjl = #{record.wjl,jdbcType=LONGVARCHAR},
|
|
720
|
730
|
frlxfs = #{record.frlxfs,jdbcType=VARCHAR},
|
|
721
|
731
|
yxgr = #{record.yxgr,jdbcType=DECIMAL},
|
|
722
|
|
- kqbm = #{record.kqbm,jdbcType=VARCHAR}
|
|
|
732
|
+ kqbm = #{record.kqbm,jdbcType=VARCHAR},
|
|
|
733
|
+ sfzk = #{record.sfzk,jdbcType=VARCHAR}
|
|
723
|
734
|
<if test="_parameter != null" >
|
|
724
|
735
|
<include refid="Update_By_Example_Where_Clause" />
|
|
725
|
736
|
</if>
|
|
|
@@ -901,6 +912,9 @@
|
|
901
|
912
|
<if test="kqbm != null">
|
|
902
|
913
|
kqbm = #{kqbm,jdbcType=VARCHAR},
|
|
903
|
914
|
</if>
|
|
|
915
|
+ <if test="sfzk !=null">
|
|
|
916
|
+ sfzk = #{sfzk,jdbcType=VARCHAR},
|
|
|
917
|
+ </if>
|
|
904
|
918
|
</set>
|
|
905
|
919
|
where org_id = #{orgId,jdbcType=INTEGER}
|
|
906
|
920
|
</update>
|
|
|
@@ -963,7 +977,8 @@
|
|
963
|
977
|
wjl = #{wjl,jdbcType=LONGVARCHAR},
|
|
964
|
978
|
frlxfs = #{frlxfs,jdbcType=VARCHAR},
|
|
965
|
979
|
yxgr = #{yxgr,jdbcType=DECIMAL},
|
|
966
|
|
- kqbm = #{kqbm,jdbcType=VARCHAR}
|
|
|
980
|
+ kqbm = #{kqbm,jdbcType=VARCHAR},
|
|
|
981
|
+ sfzk = #{sfzk,jdbcType=VARCHAR}
|
|
967
|
982
|
where org_id = #{orgId,jdbcType=INTEGER}
|
|
968
|
983
|
</update>
|
|
969
|
984
|
<update id="updateOrgLevel" parameterType="map" statementType="CALLABLE" >
|