|
|
@@ -47,6 +47,15 @@
|
|
47
|
47
|
<result column="bank_name" property="bankName" jdbcType="VARCHAR" />
|
|
48
|
48
|
<result column="account_name" property="accountName" jdbcType="VARCHAR" />
|
|
49
|
49
|
<result column="account_number" property="accountNumber" jdbcType="VARCHAR" />
|
|
|
50
|
+ <result column="total_assets" property="totalAssets" jdbcType="INTEGER" />
|
|
|
51
|
+ <result column="corporate_capacity" property="corporateCapacity" jdbcType="VARCHAR" />
|
|
|
52
|
+ <result column="office_phone" property="officePhone" jdbcType="VARCHAR" />
|
|
|
53
|
+ <result column="registered_address" property="registeredAddress" jdbcType="VARCHAR" />
|
|
|
54
|
+ <result column="mail_box" property="mailBox" jdbcType="VARCHAR" />
|
|
|
55
|
+ <result column="official_website" property="officialWebsite" jdbcType="VARCHAR" />
|
|
|
56
|
+ <result column="house_number" property="houseNumber" jdbcType="INTEGER" />
|
|
|
57
|
+ <result column="tank_number" property="tankNumber" jdbcType="INTEGER" />
|
|
|
58
|
+ <result column="depot_property" property="depotProperty" jdbcType="VARCHAR" />
|
|
50
|
59
|
<result column="level_code" property="levelCode" jdbcType="VARCHAR" />
|
|
51
|
60
|
<result column="updatetime" property="updateTime" jdbcType="VARCHAR" />
|
|
52
|
61
|
</resultMap>
|
|
|
@@ -115,7 +124,8 @@
|
|
115
|
124
|
complete_date, use_date, company_org_code, credit_code, regist_type, qualification,
|
|
116
|
125
|
independent_corporation, legal_person, whether_rent, info_regist, regist_date, remark,
|
|
117
|
126
|
parent_id, status, del_flag, birds_eye, birds_Remote, brief_introduction, invoice_title,
|
|
118
|
|
- regist_number, bank_name, account_name, account_number,level_code,updatetime
|
|
|
127
|
+ regist_number, bank_name, account_name, account_number,level_code,total_assets,corporate_capacity,
|
|
|
128
|
+ office_phone,registered_address,mail_box,official_website,house_number,tank_number,depot_property,updatetime
|
|
119
|
129
|
</sql>
|
|
120
|
130
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.OrgInfoExample" >
|
|
121
|
131
|
select
|
|
|
@@ -163,7 +173,9 @@
|
|
163
|
173
|
status, del_flag, birds_eye,
|
|
164
|
174
|
birds_Remote, brief_introduction, invoice_title,
|
|
165
|
175
|
regist_number, bank_name, account_name,
|
|
166
|
|
- account_number,level_code)
|
|
|
176
|
+ account_number,total_assets,corporate_capacity,
|
|
|
177
|
+ office_phone,registered_address,mail_box,official_website,
|
|
|
178
|
+ house_number,tank_number,depot_property,level_code)
|
|
167
|
179
|
values (#{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR},
|
|
168
|
180
|
#{orgCode,jdbcType=VARCHAR}, #{orgClassId,jdbcType=INTEGER}, #{companyNature,jdbcType=INTEGER},
|
|
169
|
181
|
#{busiType,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR},
|
|
|
@@ -179,7 +191,10 @@
|
|
179
|
191
|
#{status,jdbcType=INTEGER}, #{delFlag,jdbcType=INTEGER}, #{birdsEye,jdbcType=VARCHAR},
|
|
180
|
192
|
#{birdsRemote,jdbcType=VARCHAR}, #{briefIntroduction,jdbcType=VARCHAR}, #{invoiceTitle,jdbcType=VARCHAR},
|
|
181
|
193
|
#{registNumber,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR}, #{accountName,jdbcType=VARCHAR},
|
|
182
|
|
- #{accountNumber,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR})
|
|
|
194
|
+ #{accountNumber,jdbcType=VARCHAR}, #{totalAssets,jdbcType=INTEGER}, #{corporateCapacity,jdbcType=VARCHAR},
|
|
|
195
|
+ #{officePhone,jdbcType=VARCHAR}, #{registeredAddress,jdbcType=VARCHAR}, #{mailBox,jdbcType=VARCHAR},
|
|
|
196
|
+ #{officialWebsite,jdbcType=VARCHAR}, #{houseNumber,jdbcType=INTEGER}, #{tankNumber,jdbcType=INTEGER},
|
|
|
197
|
+ #{depotProperty,jdbcType=VARCHAR}, #{levelCode,jdbcType=VARCHAR})
|
|
183
|
198
|
</insert>
|
|
184
|
199
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.OrgInfo" useGeneratedKeys="true" keyProperty="orgId">
|
|
185
|
200
|
insert into org_info
|
|
|
@@ -796,6 +811,33 @@
|
|
796
|
811
|
<if test="accountNumber != null" >
|
|
797
|
812
|
account_number = #{accountNumber,jdbcType=VARCHAR},
|
|
798
|
813
|
</if>
|
|
|
814
|
+ <if test="totalAssets != null" >
|
|
|
815
|
+ total_assets = #{totalAssets,jdbcType=INTEGER},
|
|
|
816
|
+ </if>
|
|
|
817
|
+ <if test="corporateCapacity != null" >
|
|
|
818
|
+ corporate_capacity = #{corporateCapacity,jdbcType=VARCHAR},
|
|
|
819
|
+ </if>
|
|
|
820
|
+ <if test="officePhone != null" >
|
|
|
821
|
+ office_phone = #{officePhone,jdbcType=VARCHAR},
|
|
|
822
|
+ </if>
|
|
|
823
|
+ <if test="registeredAddress != null" >
|
|
|
824
|
+ registered_address = #{registeredAddress,jdbcType=VARCHAR},
|
|
|
825
|
+ </if>
|
|
|
826
|
+ <if test="mailBox != null" >
|
|
|
827
|
+ mail_box = #{mailBox,jdbcType=VARCHAR},
|
|
|
828
|
+ </if>
|
|
|
829
|
+ <if test="officialWebsite != null" >
|
|
|
830
|
+ official_website = #{officialWebsite,jdbcType=VARCHAR},
|
|
|
831
|
+ </if>
|
|
|
832
|
+ <if test="houseNumber != null" >
|
|
|
833
|
+ house_number = #{houseNumber,jdbcType=INTEGER},
|
|
|
834
|
+ </if>
|
|
|
835
|
+ <if test="tankNumber != null" >
|
|
|
836
|
+ tank_number = #{tankNumber,jdbcType=INTEGER},
|
|
|
837
|
+ </if>
|
|
|
838
|
+ <if test="depotProperty != null" >
|
|
|
839
|
+ depot_property = #{depotProperty,jdbcType=VARCHAR},
|
|
|
840
|
+ </if>
|
|
799
|
841
|
<if test="levelCode != null" >
|
|
800
|
842
|
level_code = #{levelCode,jdbcType=VARCHAR},
|
|
801
|
843
|
</if>
|
|
|
@@ -848,6 +890,15 @@
|
|
848
|
890
|
bank_name = #{bankName,jdbcType=VARCHAR},
|
|
849
|
891
|
account_name = #{accountName,jdbcType=VARCHAR},
|
|
850
|
892
|
account_number = #{accountNumber,jdbcType=VARCHAR},
|
|
|
893
|
+ total_assets = #{totalAssets,jdbcType=INTEGER},
|
|
|
894
|
+ corporate_capacity = #{corporateCapacity,jdbcType=VARCHAR},
|
|
|
895
|
+ office_phone = #{officePhone,jdbcType=VARCHAR},
|
|
|
896
|
+ registered_address = #{registeredAddress,jdbcType=VARCHAR},
|
|
|
897
|
+ mail_box = #{mailBox,jdbcType=VARCHAR},
|
|
|
898
|
+ official_website = #{officialWebsite,jdbcType=VARCHAR},
|
|
|
899
|
+ house_number = #{houseNumber,jdbcType=INTEGER},
|
|
|
900
|
+ tank_number = #{tankNumber,jdbcType=INTEGER},
|
|
|
901
|
+ depot_property = #{depotProperty,jdbcType=VARCHAR},
|
|
851
|
902
|
level_code = #{levelCode,jdbcType=VARCHAR}
|
|
852
|
903
|
where org_id = #{orgId,jdbcType=INTEGER}
|
|
853
|
904
|
</update>
|
|
|
@@ -866,7 +917,9 @@
|
|
866
|
917
|
org.complete_date, org.use_date, org.company_org_code, org.credit_code, org.regist_type, org.qualification,
|
|
867
|
918
|
org.independent_corporation, org.legal_person, org.whether_rent, org.info_regist, org.regist_date, org.remark,
|
|
868
|
919
|
org.parent_id, org.status, org.del_flag, org.birds_eye, org.birds_Remote, org.brief_introduction, org.invoice_title,
|
|
869
|
|
- org.regist_number, org.bank_name, org.account_name, org.account_number,org.level_code,org.updatetime
|
|
|
920
|
+ org.regist_number, org.bank_name, org.account_name, org.account_number, org.total_assets, org.corporate_capacity,
|
|
|
921
|
+ org.office_phone, org.registered_address, org.mail_box, org.official_website, org.house_number, org.tank_number,
|
|
|
922
|
+ org.depot_property, org.level_code, org.updatetime
|
|
870
|
923
|
from org_info org
|
|
871
|
924
|
left join basic_enum be on org.company_nature = be.enumId
|
|
872
|
925
|
where org_class_id = 5318
|