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
a1c82fd3
Commit
a1c82fd3
authored
Jan 10, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' of…
Merge branch 'develop_tzs_register' of
http://36.40.66.175:5000/moa/amos-boot-biz
into develop_tzs_register
parents
ef3535a5
352c3aa2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+7
-8
JgTransferNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgTransferNoticeServiceImpl.java
+3
-2
urlInfo.json
...s-boot-module-jg-biz/src/main/resources/json/urlInfo.json
+11
-0
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/CommonServiceImpl.java
View file @
a1c82fd3
...
...
@@ -644,8 +644,7 @@ public class CommonServiceImpl implements ICommonService {
*流程实例id instanceId
**/
public
TaskV2Model
updateTaskModel
(
Map
<
String
,
Object
>
params
){
ReginParams
reginParams
=
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
String
exeUserId
=
RequestContext
.
getExeUserId
();
List
<
TaskV2Model
>
result
=
Systemctl
.
taskV2Client
.
selectListByRelationId
(
params
.
get
(
"relationId"
).
toString
()).
getResult
();
TaskV2Model
model
=
result
.
stream
().
sorted
((
r1
,
r2
)
->
r2
.
getSequenceNbr
().
compareTo
(
r2
.
getSequenceNbr
()))
// 按时间降序排序
.
findFirst
()
...
...
@@ -655,7 +654,7 @@ public class CommonServiceImpl implements ICommonService {
}
model
.
setTaskStatus
(
Integer
.
valueOf
(
params
.
get
(
"taskStatus"
).
toString
()));
model
.
setTaskStatusLabel
(
params
.
get
(
"taskStatusLabel"
).
toString
());
model
.
setEndUserId
(
reginParams
.
getUserModel
().
getUserId
()
);
model
.
setEndUserId
(
exeUserId
);
model
.
setEndDate
(
new
Date
());
model
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"roleIds"
,
"role"
).
replace
(
"edit"
,
"look"
));
Systemctl
.
taskV2Client
.
update
(
model
,
model
.
getSequenceNbr
());
...
...
@@ -679,11 +678,11 @@ public class CommonServiceImpl implements ICommonService {
TaskV2Model
model
=
list
.
get
(
0
);
Systemctl
.
taskV2Client
.
delete
(
String
.
valueOf
(
model
.
getSequenceNbr
()));
TaskV2Model
lastTaskModel
=
list
.
get
(
1
);
m
odel
.
setEndUserId
(
null
);
m
odel
.
setEndDate
(
null
);
m
odel
.
setFlowStatus
(
0
);
m
odel
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"role"
,
"roleIds"
).
replace
(
"look"
,
"edit"
));
Systemctl
.
taskV2Client
.
update
(
model
,
m
odel
.
getSequenceNbr
());
lastTaskM
odel
.
setEndUserId
(
null
);
lastTaskM
odel
.
setEndDate
(
null
);
lastTaskM
odel
.
setFlowStatus
(
0
);
lastTaskM
odel
.
setRoutePath
(
model
.
getRoutePath
().
replace
(
"role"
,
"roleIds"
).
replace
(
"look"
,
"edit"
));
Systemctl
.
taskV2Client
.
update
(
lastTaskModel
,
lastTaskM
odel
.
getSequenceNbr
());
}
public
<
T
>
String
toQueryParams
(
T
obj
)
throws
UnsupportedEncodingException
{
...
...
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/JgTransferNoticeServiceImpl.java
View file @
a1c82fd3
...
...
@@ -136,9 +136,10 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
equipmentInfos
.
get
(
0
).
put
(
s
,
JSON
.
parseArray
(
equipmentInfos
.
get
(
0
).
get
(
s
).
toString
()));
}
}
Map
<
String
,
Object
>
map
=
equipmentInfos
.
get
(
0
);
BeanUtil
.
copyProperties
(
transferNotice
,
map
);
return
new
HashMap
<
String
,
Map
<
String
,
Object
>>()
{{
this
.
put
(
"transferNoticeInfo"
,
transferNotice
);
this
.
put
(
"equipmentInfo"
,
equipmentInfos
.
get
(
0
));
this
.
put
(
"transferNoticeInfo"
,
map
);
}};
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/urlInfo.json
View file @
a1c82fd3
...
...
@@ -18,5 +18,15 @@
"type"
:
"installNotice"
,
"pageType"
:
"edit"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1734127099570057217&sequenceNbr=%s&roleIds=%s&nextExecuteIds=%s&formType=edit¬iceStatus=%s&userId=%s&instanceId=%s"
},
{
"type"
:
"changeRegistrationReform"
,
"pageType"
:
"look"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1737415693835464705&sequenceNbr=%s&roleIds=%s&nextExecuteIds=%s&pageType=look¬iceStatus=%s&instanceId=%s"
},
{
"type"
:
"changeRegistrationReform"
,
"pageType"
:
"edit"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1737415710281330690&sequenceNbr=%s&roleIds=%s&nextExecuteIds=%s&pageType=edit¬iceStatus=%s&userId=%s&instanceId=%s"
}
]
\ No newline at end of file
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