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
90d4143c
Commit
90d4143c
authored
Jan 18, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加检验检测共同代码
parent
8b8bab30
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
BizTypeEnum.java
.../yeejoin/amos/boot/module/jyjc/api/enums/BizTypeEnum.java
+10
-1
TaskModelServiceImpl.java
...os/boot/module/jyjc/biz/service/TaskModelServiceImpl.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 @
90d4143c
...
...
@@ -49,7 +49,16 @@ public enum BizTypeEnum {
public
static
String
getNumByCode
(
String
code
)
{
for
(
BizTypeEnum
c
:
BizTypeEnum
.
values
())
{
if
(
c
.
getCode
().
equals
(
code
)){
return
c
.
getCode
();
return
c
.
getNum
();
}
}
return
null
;
}
public
static
String
getNameByNum
(
String
num
)
{
for
(
BizTypeEnum
c
:
BizTypeEnum
.
values
())
{
if
(
c
.
getCode
().
equals
(
num
)){
return
c
.
getName
();
}
}
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/TaskModelServiceImpl.java
View file @
90d4143c
...
...
@@ -108,7 +108,7 @@ public class TaskModelServiceImpl {
model
.
setFlowCreateDate
(
new
Date
());
model
.
setTaskStatus
(
FlowStatusEnum
.
TO_BE_SUBMITTED
.
getCode
());
model
.
setTaskTitle
(
"有一条待提交的草稿"
);
model
.
setTaskName
(
BizTypeEnum
.
getNameBy
Code
(
obj
.
getTaskType
()));
model
.
setTaskName
(
BizTypeEnum
.
getNameBy
Num
(
obj
.
getTaskType
()));
model
.
setTaskTypeLabel
(
BizTypeEnum
.
getNameByCode
(
obj
.
getTaskType
()));
// model.setTaskContent("【申请单号:"+obj.getTaskCode()+"】待提交");
}
else
{
...
...
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