Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
f6e5cfc8
Commit
f6e5cfc8
authored
Aug 12, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.脚本维护
parent
bec721c7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
RegUnitInfoDto.java
...join/amos/boot/module/tzs/flc/api/dto/RegUnitInfoDto.java
+3
-0
RegUnitInfo.java
...join/amos/boot/module/tzs/flc/api/entity/RegUnitInfo.java
+5
-0
RegUnitInfoServiceImpl.java
...dule/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+2
-0
tzs-1.0.0.1.xml
...e-tzs-biz/src/main/resources/db/changelog/tzs-1.0.0.1.xml
+22
-0
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/RegUnitInfoDto.java
View file @
f6e5cfc8
...
@@ -33,6 +33,9 @@ public class RegUnitInfoDto extends BaseDto {
...
@@ -33,6 +33,9 @@ public class RegUnitInfoDto extends BaseDto {
@ApiModelProperty
(
value
=
"证件类型"
)
@ApiModelProperty
(
value
=
"证件类型"
)
private
String
unitCodeType
;
private
String
unitCodeType
;
@ApiModelProperty
(
value
=
"证件类型名称"
)
private
String
unitCodeTypeName
;
@ApiModelProperty
(
value
=
"单位类型"
)
@ApiModelProperty
(
value
=
"单位类型"
)
private
String
unitType
;
private
String
unitType
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/RegUnitInfo.java
View file @
f6e5cfc8
...
@@ -40,6 +40,11 @@ public class RegUnitInfo extends BaseEntity {
...
@@ -40,6 +40,11 @@ public class RegUnitInfo extends BaseEntity {
private
String
unitCodeType
;
private
String
unitCodeType
;
/**
/**
* 证件类型名称
*/
private
String
unitCodeTypeName
;
/**
* 单位类型
* 单位类型
*/
*/
@TableField
(
"unit_type"
)
@TableField
(
"unit_type"
)
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
f6e5cfc8
...
@@ -88,6 +88,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -88,6 +88,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
tzsAuthServiceImpl
.
setRequestContext
();
tzsAuthServiceImpl
.
setRequestContext
();
// 注册用统一信用码注册,默认证件类型为营业执照,数据来源:cb_data_dictionary code = 1060
// 注册用统一信用码注册,默认证件类型为营业执照,数据来源:cb_data_dictionary code = 1060
model
.
setUnitCodeType
(
"1060"
);
model
.
setUnitCodeType
(
"1060"
);
model
.
setUnitCodeTypeName
(
"营业执照"
);
Bean
.
copyExistPropertis
(
model
,
regUnitInfo
);
Bean
.
copyExistPropertis
(
model
,
regUnitInfo
);
// 1.插入单位注册许可信息表:tz_base_unit_licence
// 1.插入单位注册许可信息表:tz_base_unit_licence
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
model
.
getUnitLicences
();
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
model
.
getUnitLicences
();
...
@@ -143,6 +144,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -143,6 +144,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
public
void
createBaseEnterpriseInfo
(
RegUnitInfoDto
regUnitInfo
)
{
public
void
createBaseEnterpriseInfo
(
RegUnitInfoDto
regUnitInfo
)
{
TzBaseEnterpriseInfo
baseEnterpriseInfo
=
new
TzBaseEnterpriseInfo
();
TzBaseEnterpriseInfo
baseEnterpriseInfo
=
new
TzBaseEnterpriseInfo
();
baseEnterpriseInfo
.
setUseUnitCertificate
(
regUnitInfo
.
getUnitCodeTypeName
());
baseEnterpriseInfo
.
setUnitType
(
regUnitInfo
.
getUnitType
());
baseEnterpriseInfo
.
setUnitType
(
regUnitInfo
.
getUnitType
());
baseEnterpriseInfo
.
setUseCode
(
regUnitInfo
.
getUnitCode
());
baseEnterpriseInfo
.
setUseCode
(
regUnitInfo
.
getUnitCode
());
baseEnterpriseInfo
.
setUseUnit
(
regUnitInfo
.
getName
());
baseEnterpriseInfo
.
setUseUnit
(
regUnitInfo
.
getName
());
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/resources/db/changelog/tzs-1.0.0.1.xml
View file @
f6e5cfc8
...
@@ -346,5 +346,27 @@
...
@@ -346,5 +346,27 @@
ALTER TABLE `tz_base_enterprise_info` add column `is_delete` bit(1) DEFAULT b'0' COMMENT '是否删除(0:未删除,1:已删除)';
ALTER TABLE `tz_base_enterprise_info` add column `is_delete` bit(1) DEFAULT b'0' COMMENT '是否删除(0:未删除,1:已删除)';
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660201816131-07"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"tz_base_enterprise_info"
columnName=
"rec_user_name"
/>
</not>
</preConditions>
<comment>
tz_base_enterprise_info 增加公共字段 rec_user_name
</comment>
<sql>
ALTER TABLE `tz_base_enterprise_info` add column `rec_user_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人名称';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660201816131-09"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"tz_flc_reg_unit_info"
columnName=
"unit_code_type_name"
/>
</not>
</preConditions>
<comment>
tz_flc_reg_unit_info 增加字段 unit_code_type_name 证件类型名称
</comment>
<sql>
ALTER TABLE `tz_flc_reg_unit_info` add column `unit_code_type_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '证件类型名称';
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment