|
|
@@ -60,6 +60,7 @@
|
|
60
|
60
|
<result column="updatetime" property="updateTime" jdbcType="VARCHAR" />
|
|
61
|
61
|
<result column="frlxfs" property="frlxfs" jdbcType="VARCHAR" />
|
|
62
|
62
|
<result column="yxgr" property="yxgr" jdbcType="DECIMAL" />
|
|
|
63
|
+ <result column="kqbm" property="kqbm" jdbcType="VARCHAR" />
|
|
63
|
64
|
</resultMap>
|
|
64
|
65
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.chinaitop.depot.system.model.OrgInfo">
|
|
65
|
66
|
<result column="wjl" jdbcType="LONGVARCHAR" property="wjl" />
|
|
|
@@ -130,7 +131,8 @@
|
|
130
|
131
|
independent_corporation, legal_person, whether_rent, info_regist, regist_date, remark,
|
|
131
|
132
|
parent_id, status, del_flag, birds_eye, birds_Remote, brief_introduction, invoice_title,
|
|
132
|
133
|
regist_number, bank_name, account_name, account_number,level_code,total_assets,corporate_capacity,
|
|
133
|
|
- office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,updatetime,frlxfs,yxgr
|
|
|
134
|
+ office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,
|
|
|
135
|
+ updatetime,frlxfs,yxgr,kqbm
|
|
134
|
136
|
</sql>
|
|
135
|
137
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" >
|
|
136
|
138
|
select
|
|
|
@@ -180,7 +182,7 @@
|
|
180
|
182
|
regist_number, bank_name, account_name,
|
|
181
|
183
|
account_number,total_assets,corporate_capacity,
|
|
182
|
184
|
office_phone,registered_address,mail_box,official_website,
|
|
183
|
|
- house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr)
|
|
|
185
|
+ house_number,tank_number,depot_property,level_code,wjl,frlxfs,yxgr,kqbm)
|
|
184
|
186
|
values (#{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR},
|
|
185
|
187
|
#{orgCode,jdbcType=VARCHAR}, #{orgClassId,jdbcType=INTEGER}, #{companyNature,jdbcType=INTEGER},
|
|
186
|
188
|
#{busiType,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR},
|
|
|
@@ -200,7 +202,7 @@
|
|
200
|
202
|
#{officePhone,jdbcType=VARCHAR}, #{registeredAddress,jdbcType=VARCHAR}, #{mailBox,jdbcType=VARCHAR},
|
|
201
|
203
|
#{officialWebsite,jdbcType=VARCHAR}, #{houseNumber,jdbcType=INTEGER}, #{tankNumber,jdbcType=INTEGER},
|
|
202
|
204
|
#{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR}, #{wjl,jdbcType=LONGVARCHAR},
|
|
203
|
|
- #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL})
|
|
|
205
|
+ #{frlxfs,jdbcType=VARCHAR}, #{yxgr,jdbcType=DECIMAL}, #{kqbm,jdbcType=VARCHAR})
|
|
204
|
206
|
</insert>
|
|
205
|
207
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.OrgInfo" useGeneratedKeys="true" keyProperty="orgId">
|
|
206
|
208
|
insert into org_info
|
|
|
@@ -349,6 +351,9 @@
|
|
349
|
351
|
<if test="yxgr != null">
|
|
350
|
352
|
yxgr,
|
|
351
|
353
|
</if>
|
|
|
354
|
+ <if test="kqbm != null">
|
|
|
355
|
+ kqbm,
|
|
|
356
|
+ </if>
|
|
352
|
357
|
</trim>
|
|
353
|
358
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
354
|
359
|
<if test="orgId != null" >
|
|
|
@@ -495,6 +500,9 @@
|
|
495
|
500
|
<if test="yxgr != null" >
|
|
496
|
501
|
#{yxgr,jdbcType=DECIMAL},
|
|
497
|
502
|
</if>
|
|
|
503
|
+ <if test="kqbm != null">
|
|
|
504
|
+ #{kqbm,jdbcType=VARCHAR},
|
|
|
505
|
+ </if>
|
|
498
|
506
|
</trim>
|
|
499
|
507
|
</insert>
|
|
500
|
508
|
<select id="countByExample" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" resultType="java.lang.Integer" >
|
|
|
@@ -653,6 +661,9 @@
|
|
653
|
661
|
<if test="record.yxgr != null" >
|
|
654
|
662
|
yxgr = #{record.yxgr,jdbcType=DECIMAL},
|
|
655
|
663
|
</if>
|
|
|
664
|
+ <if test="record.kqbm != null">
|
|
|
665
|
+ kqbm = #{record.kqbm,jdbcType=VARCHAR},
|
|
|
666
|
+ </if>
|
|
656
|
667
|
</set>
|
|
657
|
668
|
<if test="_parameter != null" >
|
|
658
|
669
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -707,7 +718,8 @@
|
|
707
|
718
|
account_number = #{record.accountNumber,jdbcType=VARCHAR},
|
|
708
|
719
|
wjl = #{record.wjl,jdbcType=LONGVARCHAR},
|
|
709
|
720
|
frlxfs = #{record.frlxfs,jdbcType=VARCHAR},
|
|
710
|
|
- yxgr = #{record.yxgr,jdbcType=DECIMAL}
|
|
|
721
|
+ yxgr = #{record.yxgr,jdbcType=DECIMAL},
|
|
|
722
|
+ kqbm = #{record.kqbm,jdbcType=VARCHAR}
|
|
711
|
723
|
<if test="_parameter != null" >
|
|
712
|
724
|
<include refid="Update_By_Example_Where_Clause" />
|
|
713
|
725
|
</if>
|
|
|
@@ -886,6 +898,9 @@
|
|
886
|
898
|
<if test="yxgr != null" >
|
|
887
|
899
|
yxgr = #{yxgr,jdbcType=DECIMAL},
|
|
888
|
900
|
</if>
|
|
|
901
|
+ <if test="kqbm != null">
|
|
|
902
|
+ kqbm = #{kqbm,jdbcType=VARCHAR},
|
|
|
903
|
+ </if>
|
|
889
|
904
|
</set>
|
|
890
|
905
|
where org_id = #{orgId,jdbcType=INTEGER}
|
|
891
|
906
|
</update>
|
|
|
@@ -947,7 +962,8 @@
|
|
947
|
962
|
level_code = #{levelCode,jdbcType=VARCHAR},
|
|
948
|
963
|
wjl = #{wjl,jdbcType=LONGVARCHAR},
|
|
949
|
964
|
frlxfs = #{frlxfs,jdbcType=VARCHAR},
|
|
950
|
|
- yxgr = #{yxgr,jdbcType=DECIMAL}
|
|
|
965
|
+ yxgr = #{yxgr,jdbcType=DECIMAL},
|
|
|
966
|
+ kqbm = #{kqbm,jdbcType=VARCHAR}
|
|
951
|
967
|
where org_id = #{orgId,jdbcType=INTEGER}
|
|
952
|
968
|
</update>
|
|
953
|
969
|
<update id="updateOrgLevel" parameterType="map" statementType="CALLABLE" >
|