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
a0597560
Commit
a0597560
authored
Jan 18, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改检验检测
parent
29e82a63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
BizTypeEnum.java
.../yeejoin/amos/boot/module/jyjc/api/enums/BizTypeEnum.java
+14
-4
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+1
-1
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/BizTypeEnum.java
View file @
a0597560
...
...
@@ -19,13 +19,14 @@ import java.util.List;
@AllArgsConstructor
public
enum
BizTypeEnum
{
SUPERVISE
(
"supervise"
,
"监督检验"
),
FIRST_INSPECTION
(
"firstinspect"
,
"定检"
),
DETECTION
(
"detection"
,
"检测"
),
BUSINESS_OPEN
(
"businessOpen"
,
"开通"
);
SUPERVISE
(
"supervise"
,
"监督检验"
,
"115"
),
FIRST_INSPECTION
(
"firstinspect"
,
"定检"
,
"116"
),
DETECTION
(
"detection"
,
"检测"
,
"117"
),
BUSINESS_OPEN
(
"businessOpen"
,
"开通"
,
"114"
);
private
String
code
;
private
String
name
;
private
String
num
;
public
static
List
<
String
>
getEnumNameList
()
{
List
<
String
>
codeList
=
new
ArrayList
<
String
>();
...
...
@@ -44,4 +45,13 @@ public enum BizTypeEnum {
}
return
null
;
}
public
static
String
getNumByCode
(
String
code
)
{
for
(
BizTypeEnum
c
:
BizTypeEnum
.
values
())
{
if
(
c
.
getCode
().
equals
(
code
)){
return
c
.
getCode
();
}
}
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 @
a0597560
...
...
@@ -612,7 +612,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
inspectionApplicationModel
));
jsonObject
.
put
(
"nextTaskId"
,
inspectionApplicationModel
.
getNextTaskId
());
jsonObject
.
put
(
"nextExecuteUser"
,
inspectionApplicationModel
.
getNextExecuteIds
());
jsonObject
.
put
(
"taskType"
,
B
usinessTypeEnum
.
g
);
jsonObject
.
put
(
"taskType"
,
B
izTypeEnum
.
getNumByCode
(
inspectionApplicationModel
.
getBizType
())
);
jsonObject
.
put
(
"flowStatus"
,
FlowStatusEnum
.
ROLLBACK
.
getCode
());
jsonObject
.
put
(
"flowStatusLabel"
,
FlowStatusEnum
.
ROLLBACK
.
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