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
a2631fa3
Commit
a2631fa3
authored
May 13, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目档案无岗位更新岗位fxj 2024-04-17
parent
06b07945
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+1
-0
DoSocialTask.java
...com/yifu/cloud/plus/v1/yifu/social/util/DoSocialTask.java
+17
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
a2631fa3
...
...
@@ -3611,6 +3611,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
// 自动化处理
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
autoFlag
)){
dis
.
setAutoFlag
(
CommonConstants
.
ZERO_STRING
);
socialTask
.
pushSoldier
(
dis
.
getId
());
}
else
{
dis
.
setAutoFlag
(
CommonConstants
.
ONE_STRING
);
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/util/DoSocialTask.java
View file @
a2631fa3
...
...
@@ -17,6 +17,7 @@ import com.yifu.cloud.plus.v1.yifu.social.mapper.TSendEkpErrorMapper;
import
com.yifu.cloud.plus.v1.yifu.social.service.TForecastLibraryService
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TIncomeDetailService
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TIncomeService
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSocialSoldierService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -52,6 +53,9 @@ public class DoSocialTask {
@Autowired
private
TSendEkpErrorMapper
sendEkpErrorMapper
;
@Autowired
private
TSocialSoldierService
socialSoldierService
;
/**
* @Author fxj
* @Description 异步处理相关信息
...
...
@@ -257,4 +261,17 @@ public class DoSocialTask {
// 批量办理成功 收入不异步推送
incomeService
.
saveDetail
(
detail
,
false
);
}
/**
* @Author fxj
* @Description 单个或批量审核 异步调用自动化派单任务
* @Date 11:22 2024/5/13
* @Param
* @return
**/
@Async
public
void
pushSoldier
(
String
dispatchId
){
List
<
String
>
dispatchIdList
=
new
ArrayList
<>();
dispatchIdList
.
add
(
dispatchId
);
socialSoldierService
.
pushSoldier
(
dispatchIdList
);
}
}
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