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
7fc8787f
Commit
7fc8787f
authored
Jan 10, 2024
by
LiuLin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):注释报错代码
parent
7ebaa568
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+4
-4
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+4
-4
CommonserviceImpl.java
.../boot/module/jyjc/biz/service/impl/CommonserviceImpl.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
View file @
7fc8787f
...
...
@@ -882,7 +882,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
model
.
setStartDate
(
new
Date
());
model
.
setTaskSource
(
"workFlow"
);
model
.
setCreateDate
(
new
Date
());
model
.
setFinishStatus
(
Boolean
.
FALSE
);
//
model.setFinishStatus(Boolean.FALSE);
model
.
setAgencyCode
(
"tzs"
);
model
.
setTaskTitle
(
"发起了"
+
model
.
getTaskTitle
());
Systemctl
.
taskV2Client
.
create
(
model
);
...
...
@@ -903,7 +903,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
model
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"nextExecuteIds"
,
"nextExecuteIdsOld"
));
model
.
setTaskStatusLabel
(
params
.
get
(
"taskStatusLabel"
).
toString
());
model
.
setEndDate
(
new
Date
());
model
.
setFinishStatus
(
Boolean
.
TRUE
);
//
model.setFinishStatus(Boolean.TRUE);
model
.
setEndUserId
(
userJson
!=
null
?
userJson
.
get
(
"userId"
).
toString
()
:
""
);
if
(
params
.
containsKey
(
"isDelete"
))
{
Systemctl
.
taskV2Client
.
delete
(
model
.
getSequenceNbr
().
toString
());
...
...
@@ -968,7 +968,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
taskV2Model
.
setTaskStatusLabel
(
noticeStatus
.
getName
());
taskV2Model
.
setTaskCode
(
jgInstallationNotice
.
getApplyNo
());
taskV2Model
.
setStartUserId
(
jgInstallationNotice
.
getCreateUserId
());
taskV2Model
.
setCreateUserId
(
jgInstallationNotice
.
getCreateUserId
());
//
taskV2Model.setCreateUserId(jgInstallationNotice.getCreateUserId());
buildTaskModel
(
taskV2Model
);
}
}
...
...
@@ -1019,7 +1019,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
model
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"nextExecuteIds"
,
"nextExecuteIdsOld"
));
model
.
setTaskStatusLabel
(
jsonObject
.
get
(
"nodeName"
).
toString
());
model
.
setEndDate
(
new
Date
());
model
.
setFinishStatus
(
Boolean
.
TRUE
);
//
model.setFinishStatus(Boolean.TRUE);
JSONObject
userJson
=
JSON
.
parseObject
(
jsonObject
.
get
(
"user"
).
toString
());
model
.
setEndUserId
(
userJson
.
get
(
"userId"
).
toString
());
Systemctl
.
taskV2Client
.
update
(
model
,
model
.
getSequenceNbr
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
View file @
7fc8787f
...
...
@@ -606,7 +606,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
map
.
put
(
"taskStatusLabel"
,
FlowStatusEnum
.
REJECTED
.
getName
());
TaskV2Model
taskV2ModelOld
=
updateTaskModel
(
map
);
TaskV2Model
taskV2Model
=
new
TaskV2Model
();
taskV2Model
.
setExecuteUserIds
(
taskV2ModelOld
.
getCreateUserId
());
//
taskV2Model.setExecuteUserIds(taskV2ModelOld.getCreateUserId());
taskV2Model
.
setExtras
(
JSON
.
toJSONString
(
jgScrapCancel
));
taskV2Model
.
setRelationId
(
instanceId
);
taskV2Model
.
setTaskType
(
"scrapCancel"
);
...
...
@@ -675,7 +675,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
model
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"nextExecuteIds"
,
"nextExecuteIdsOld"
));
model
.
setTaskStatusLabel
(
params
.
get
(
"taskStatusLabel"
).
toString
());
model
.
setEndDate
(
new
Date
());
model
.
setFinishStatus
(
Boolean
.
TRUE
);
//
model.setFinishStatus(Boolean.TRUE);
model
.
setEndUserId
(
reginParams
.
getUserModel
().
getUserId
());
if
(
params
.
containsKey
(
"isDelete"
))
{
Systemctl
.
taskV2Client
.
delete
(
model
.
getSequenceNbr
().
toString
());
...
...
@@ -691,8 +691,8 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
model
.
setStartUserId
(
reginParams
.
getUserModel
().
getUserId
());
model
.
setTaskSource
(
"workFlow"
);
model
.
setCreateDate
(
new
Date
());
model
.
setFinishStatus
(
Boolean
.
FALSE
);
model
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
//
model.setFinishStatus(Boolean.FALSE);
//
model.setCreateUserId(reginParams.getUserModel().getUserId());
model
.
setAgencyCode
(
reginParams
.
getUserModel
().
getAgencyCode
());
model
.
setTaskTitle
(
reginParams
.
getUserModel
().
getRealName
()
+
"发起了"
+
model
.
getTaskTitle
());
Systemctl
.
taskV2Client
.
create
(
model
);
...
...
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/CommonserviceImpl.java
View file @
7fc8787f
...
...
@@ -109,7 +109,7 @@ public class CommonserviceImpl {
model
.
setTaskSource
(
params
.
getOrDefault
(
"taskSource"
,
"workFlow"
).
toString
());
// model.setTerminal(params.getOrDefault("terminal","WEB").toString());
model
.
setCreateDate
(
new
Date
());
model
.
setFinishStatus
(
false
);
//
model.setFinishStatus(false);
model
.
setTaskCode
(
params
.
get
(
"taskCode"
).
toString
());
model
.
setRecUserId
(
params
.
get
(
"userId"
).
toString
());
model
.
setAgencyCode
(
params
.
get
(
"agencyCode"
).
toString
());
...
...
@@ -129,7 +129,7 @@ public class CommonserviceImpl {
model
.
setEndUserId
(
reginParams
.
getUserModel
().
getUserId
());
model
.
setEndDate
(
new
Date
());
model
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"roleIds"
,
"role"
).
replace
(
"edit"
,
"look"
));
model
.
setFinishStatus
(
true
);
//
model.setFinishStatus(true);
Systemctl
.
taskV2Client
.
update
(
model
,
model
.
getSequenceNbr
());
//修改model并返回 用于组装新待办
...
...
@@ -137,7 +137,7 @@ public class CommonserviceImpl {
model
.
setTaskStatus
(
null
);
model
.
setEndDate
(
null
);
model
.
setSequenceNbr
(
null
);
model
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
//
model.setCreateUserId(reginParams.getUserModel().getUserId());
model
.
setCreateDate
(
new
Date
());
model
.
setTaskStatus
(
FlowStatusEnum
.
REJECTED
.
getCode
());
model
.
setTaskStatusLabel
(
FlowStatusEnum
.
REJECTED
.
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