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
bf88de2f
Commit
bf88de2f
authored
Nov 24, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jyjc):检验检测业务管理
1.按照要求进行调整
parent
a62e609e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
JyjcBizManageModel.java
...n/amos/boot/module/jyjc/api/model/JyjcBizManageModel.java
+7
-0
JyjcBizManageServiceImpl.java
...odule/jyjc/biz/service/impl/JyjcBizManageServiceImpl.java
+4
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/model/JyjcBizManageModel.java
View file @
bf88de2f
...
...
@@ -3,6 +3,8 @@ package com.yeejoin.amos.boot.module.jyjc.api.model;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.List
;
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
public
class
JyjcBizManageModel
extends
JyjcOpeningApplicationModel
{
...
...
@@ -21,4 +23,9 @@ public class JyjcBizManageModel extends JyjcOpeningApplicationModel {
* 机构分类名称
*/
private
String
agencyClassifyName
;
/**
* 新开通区域
*/
private
List
<
String
>
newDetectionRegion
;
}
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/JyjcBizManageServiceImpl.java
View file @
bf88de2f
...
...
@@ -78,8 +78,7 @@ public class JyjcBizManageServiceImpl {
setAreaStatusByIdentify
(
company
,
r
,
bizManageModel
);
bizManageModel
.
setCompanyCode
(
company
.
getCompanyCode
());
bizManageModel
.
setOpenBizTypeName
(
Optional
.
of
(
OpenBizTypeEnumV2
.
getOneByCode
(
bizManageModel
.
getOpenBizType
())).
map
(
OpenBizTypeEnumV2:
:
getDescription
).
orElse
(
""
));
// 真实开通区域,所有区域-排查区域
bizManageModel
.
setDetectionRegionName
(
this
.
buildRegionName
(
detectionRegionCodeNameMap
,
r
.
getDetectionRegion
().
stream
().
filter
(
d
->
!
Optional
.
ofNullable
(
r
.
getExclusionRegion
()).
orElse
(
new
ArrayList
<>()).
contains
(
d
)).
collect
(
Collectors
.
toList
())));
bizManageModel
.
setDetectionRegionName
(
this
.
buildRegionName
(
detectionRegionCodeNameMap
,
r
.
getDetectionRegion
()));
bizManageModel
.
setExclusionRegionName
(
this
.
buildRegionName
(
detectionRegionCodeNameMap
,
r
.
getExclusionRegion
()));
bizManageModel
.
setAgencyClassifyName
(
agencyClassifyNameCodeNameMap
.
getOrDefault
(
bizManageModel
.
getAgencyClassify
(),
""
));
return
bizManageModel
;
...
...
@@ -281,7 +280,9 @@ public class JyjcBizManageServiceImpl {
public
JyjcBizManageModel
getBasicInfo
(
String
appSeq
)
{
JyjcOpeningApplication
openingApplication
=
openingApplicationService
.
getById
(
appSeq
);
return
BeanUtil
.
copyProperties
(
openingApplication
,
JyjcBizManageModel
.
class
);
JyjcBizManageModel
manageModel
=
BeanUtil
.
copyProperties
(
openingApplication
,
JyjcBizManageModel
.
class
);
manageModel
.
setNewDetectionRegion
(
openingApplication
.
getDetectionRegion
().
stream
().
filter
(
e
->
!
Optional
.
ofNullable
(
openingApplication
.
getExclusionRegion
()).
orElse
(
new
ArrayList
<>()).
contains
(
e
)).
collect
(
Collectors
.
toList
()));
return
manageModel
;
}
public
Map
<
String
,
Object
>
getOne
(
String
appSeq
)
{
...
...
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