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
52d5b57c
Commit
52d5b57c
authored
Nov 18, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jyjc):检验检测业务列表筛选
1.筛选报错
parent
3d50446b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
InspectPlanStatusEnum.java
...mos/boot/module/jyjc/api/enums/InspectPlanStatusEnum.java
+2
-1
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+4
-2
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/enums/InspectPlanStatusEnum.java
View file @
52d5b57c
...
...
@@ -18,12 +18,13 @@ public enum InspectPlanStatusEnum {
this
.
value
=
value
;
}
public
static
InspectPlanStatusEnum
getByValue
(
String
value
)
{
for
(
InspectPlanStatusEnum
e
:
InspectPlanStatusEnum
.
values
())
{
if
(
e
.
value
.
equals
(
value
))
{
return
e
;
}
}
throw
new
BadRequest
(
"not support "
+
value
)
;
return
null
;
}
}
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/JyjcInspectionApplicationServiceImpl.java
View file @
52d5b57c
...
...
@@ -621,8 +621,10 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
}
// 进行筛选时,返回筛选的状态
if
(
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
()).
equals
(
r
.
getStatus
())
&&
StringUtils
.
isNotEmpty
(
filter
.
getStatus
()))
{
r
.
setStatusName
(
InspectPlanStatusEnum
.
getByValue
(
filter
.
getStatus
()).
getName
());
if
(
StringUtils
.
isNotEmpty
(
filter
.
getStatus
()))
{
Optional
.
ofNullable
(
InspectPlanStatusEnum
.
getByValue
(
filter
.
getStatus
())).
ifPresent
(
e
->{
r
.
setStatusName
(
e
.
getName
());
});
}
}
...
...
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