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
93df6382
Commit
93df6382
authored
Jul 23, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refact(注册开通):流程调整
1.接口及流程调整
parent
a5fe89b3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
BaseEnterpriseCertDto.java
...mos/boot/module/common/api/dto/BaseEnterpriseCertDto.java
+3
-0
BaseEnterpriseCert.java
...mos/boot/module/common/api/entity/BaseEnterpriseCert.java
+5
-0
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+10
-1
BaseUnitLicence.java
...join/amos/boot/module/ymt/api/entity/BaseUnitLicence.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/BaseEnterpriseCertDto.java
View file @
93df6382
...
@@ -58,4 +58,7 @@ public class BaseEnterpriseCertDto extends BaseDto {
...
@@ -58,4 +58,7 @@ public class BaseEnterpriseCertDto extends BaseDto {
@ApiModelProperty
(
value
=
"许可项目信息code"
)
@ApiModelProperty
(
value
=
"许可项目信息code"
)
List
<
String
>
itemCodes
;
List
<
String
>
itemCodes
;
@ApiModelProperty
(
value
=
"机构类别"
)
private
String
agencyType
;
}
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/BaseEnterpriseCert.java
View file @
93df6382
...
@@ -82,4 +82,9 @@ public class BaseEnterpriseCert extends BaseEntity {
...
@@ -82,4 +82,9 @@ public class BaseEnterpriseCert extends BaseEntity {
@TableField
(
"remark"
)
@TableField
(
"remark"
)
private
String
remark
;
private
String
remark
;
/**
* 机构类别
*/
@TableField
(
"agency_type"
)
private
String
agencyType
;
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
View file @
93df6382
...
@@ -503,6 +503,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
...
@@ -503,6 +503,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
List
<
BaseEnterpriseCertDto
>
certDtos
=
enterpriseCerts
.
parallelStream
().
map
(
c
->
{
List
<
BaseEnterpriseCertDto
>
certDtos
=
enterpriseCerts
.
parallelStream
().
map
(
c
->
{
BaseEnterpriseCertDto
enterpriseCertDto
=
new
BaseEnterpriseCertDto
();
BaseEnterpriseCertDto
enterpriseCertDto
=
new
BaseEnterpriseCertDto
();
BeanUtils
.
copyProperties
(
c
,
enterpriseCertDto
);
BeanUtils
.
copyProperties
(
c
,
enterpriseCertDto
);
enterpriseCertDto
.
setQualificationCertificateAttachment
(
JSONArray
.
parseArray
(
c
.
getQualificationCertificateAttachment
()));
enterpriseCertDto
.
setItemCodes
(
this
.
getBuildItemCode
(
c
.
getSequenceNbr
()));
enterpriseCertDto
.
setItemCodes
(
this
.
getBuildItemCode
(
c
.
getSequenceNbr
()));
return
enterpriseCertDto
;
return
enterpriseCertDto
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
...
@@ -764,11 +765,16 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
...
@@ -764,11 +765,16 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
List
<
BaseEnterpriseCertDto
>
certDtos
=
hisData
.
getJSONArray
(
BizCommonConstant
.
UNIT_LICENCE_KEY
).
toJavaList
(
BaseEnterpriseCertDto
.
class
);
List
<
BaseEnterpriseCertDto
>
certDtos
=
hisData
.
getJSONArray
(
BizCommonConstant
.
UNIT_LICENCE_KEY
).
toJavaList
(
BaseEnterpriseCertDto
.
class
);
List
<
BaseEnterpriseCert
>
certs
=
new
ArrayList
<>();
List
<
BaseEnterpriseCert
>
certs
=
new
ArrayList
<>();
List
<
BaseUnitLicence
>
licences
=
new
ArrayList
<>();
List
<
BaseUnitLicence
>
licences
=
new
ArrayList
<>();
List
<
Long
>
enterpriseCertSeqs
=
new
ArrayList
<>();
certDtos
.
forEach
(
e
->
{
certDtos
.
forEach
(
e
->
{
BaseEnterpriseCert
cert
=
new
BaseEnterpriseCert
();
BaseEnterpriseCert
cert
=
new
BaseEnterpriseCert
();
BeanUtils
.
copyProperties
(
e
,
cert
);
BeanUtils
.
copyProperties
(
e
,
cert
);
cert
.
setQualificationCertificateAttachment
(
e
.
getQualificationCertificateAttachment
().
toJSONString
());
cert
.
setUnitCode
(
jyjcOpeningApplication
.
getUnitCode
());
if
(
cert
.
getSequenceNbr
()
==
null
)
{
if
(
cert
.
getSequenceNbr
()
==
null
)
{
cert
.
setSequenceNbr
(
sequence
.
nextId
());
cert
.
setSequenceNbr
(
sequence
.
nextId
());
}
else
{
enterpriseCertSeqs
.
add
(
cert
.
getSequenceNbr
());
}
}
Optional
.
ofNullable
(
e
.
getItemCodes
())
Optional
.
ofNullable
(
e
.
getItemCodes
())
.
orElseGet
(
Collections:
:
emptyList
)
.
orElseGet
(
Collections:
:
emptyList
)
...
@@ -782,8 +788,11 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
...
@@ -782,8 +788,11 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
});
});
certs
.
add
(
cert
);
certs
.
add
(
cert
);
});
});
if
(!
enterpriseCertSeqs
.
isEmpty
()){
baseUnitLicenceMapper
.
delete
(
new
LambdaQueryWrapper
<
BaseUnitLicence
>().
in
(
BaseUnitLicence:
:
getEnterpriseCertSeq
,
enterpriseCertSeqs
));
}
if
(!
certs
.
isEmpty
())
{
if
(!
certs
.
isEmpty
())
{
enterpriseCertService
.
saveBatch
(
certs
);
enterpriseCertService
.
save
OrUpdate
Batch
(
certs
);
}
}
if
(!
licences
.
isEmpty
())
{
if
(!
licences
.
isEmpty
())
{
licences
.
parallelStream
().
forEach
(
licence
->
{
licences
.
parallelStream
().
forEach
(
licence
->
{
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/entity/BaseUnitLicence.java
View file @
93df6382
...
@@ -185,7 +185,7 @@ public class BaseUnitLicence extends BaseEntity {
...
@@ -185,7 +185,7 @@ public class BaseUnitLicence extends BaseEntity {
private
String
licenceType
;
private
String
licenceType
;
/**
/**
* 所属证书
* 所属证书
ID
*/
*/
private
String
enterpriseCertSeq
;
private
String
enterpriseCertSeq
;
...
...
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