Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
d8532726
Commit
d8532726
authored
Jul 21, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工合同续签反馈优化
parent
2fdfaaa4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
TEmpContractAlertController.java
...yifu/archives/controller/TEmpContractAlertController.java
+1
-0
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+12
-4
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpContractAlertController.java
View file @
d8532726
...
...
@@ -185,6 +185,7 @@ public class TEmpContractAlertController {
* @param changeFeedBackAllVo
* @return {@link R}
*/
@SysLog
(
"员工合同续签待办-批量反馈"
)
@Operation
(
summary
=
"批量反馈"
,
description
=
"批量反馈"
)
@PostMapping
(
"/changeFeedbackAll"
)
public
R
<
Boolean
>
changeFeedBackAll
(
@RequestBody
ChangeFeedBackAllVo
changeFeedBackAllVo
)
{
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
d8532726
...
...
@@ -47,6 +47,7 @@ import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -437,18 +438,24 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
alert
.
setHandleStatus
(
CommonConstants
.
ZERO_STRING
);
alertMap
.
put
(
alert
.
getEmpIdcard
()+
CommonConstants
.
DOWN_LINE_STRING
+
alert
.
getProjectNo
(),
alert
);
}
@Transactional
(
value
=
"empContractAlertManager"
,
rollbackFor
=
{
Exception
.
class
})
@Override
public
boolean
changeFeedBackAll
(
ChangeFeedBackAllVo
changeFeedBackAllVo
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
FeedBackDetail
feedbackDetail
;
List
<
FeedBackDetail
>
details
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
changeFeedBackAllVo
.
getIds
().
length
;
i
++)
{
FeedBackDetail
feedbackDetail
=
new
FeedBackDetail
();
feedbackDetail
=
new
FeedBackDetail
();
feedbackDetail
.
setFeedbackPerson
(
user
.
getNickname
());
feedbackDetail
.
setFeedbackTime
(
DateTime
.
now
());
feedbackDetail
.
setApplyNo
(
changeFeedBackAllVo
.
getIds
()[
i
]);
feedbackDetail
.
setFeedbackReason
(
changeFeedBackAllVo
.
getFeedbackReason
());
feedbackDetail
.
setFeedbackDetail
(
changeFeedBackAllVo
.
getFeedbackDetail
());
feedbackDetail
.
setIsFeedback
(
CommonConstants
.
ONE_INT
);
feedbackDetailMapper
.
insert
(
feedbackDetail
);
details
.
add
(
feedbackDetail
);
}
if
(
Common
.
isNotEmpty
(
details
)){
feedBackDetailService
.
saveBatch
(
details
);
}
changeFeedBackAllVo
.
setIsFeedback
(
CommonConstants
.
ONE_INTEGER
);
changeFeedBackAllVo
.
setFeedbackPerson
(
user
.
getNickname
());
...
...
@@ -467,6 +474,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
* @Author: hgw
* @Date: 2023/7/17 9:47
**/
@Transactional
(
value
=
"empContractAlertManager-batchUpdate"
,
rollbackFor
=
{
Exception
.
class
})
@Override
public
R
<
List
<
EmpContractAlertUpdateVO
>>
batchUpdate
(
InputStream
inputStream
)
{
List
<
EmpContractAlertUpdateVO
>
errorMessageList
=
new
ArrayList
<>();
...
...
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