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
5558e762
Commit
5558e762
authored
Oct 22, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-社保自动化相关提交
parent
f8b87ad3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
22 deletions
+8
-22
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+8
-22
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
5558e762
...
...
@@ -3735,20 +3735,14 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dispatchInfoPre
.
setErrorBackInfo
(
auditRemark
);
dispatchInfoPreMapper
.
updateById
(
dispatchInfoPre
);
Map
<
String
,
String
>
loginNameMap
=
new
HashMap
<>();
if
(
null
==
loginNameMap
.
get
(
dispatchInfoPre
.
getCustomerUserLoginName
()))
{
UUID
uuid
=
UUID
.
randomUUID
();
loginNameMap
.
put
(
dispatchInfoPre
.
getCustomerUserLoginName
(),
uuid
.
toString
());
}
TSocialAutoLog
socialAutoLog
=
new
TSocialAutoLog
();
socialAutoLog
.
setSocialId
(
loginNameMap
.
get
(
dispatchInfoPre
.
getCustomerUserLoginName
()
));
socialAutoLog
.
setSocialId
(
UUID
.
randomUUID
().
toString
(
));
socialAutoLog
.
setEmpName
(
dispatchInfoPre
.
getEmpName
());
socialAutoLog
.
setEmpIdcard
(
dispatchInfoPre
.
getEmpIdcard
());
socialAutoLog
.
setErrorInfo
(
auditRemark
);
socialAutoLogService
.
save
(
socialAutoLog
);
sendDisFalureMessageToWx
(
dispatchInfoPre
,
null
,
loginNameMap
);
sendDisFalureMessageToWx
(
dispatchInfoPre
,
socialAutoLog
.
getId
()
);
}
}
socialInfo
.
setAuditTime
(
now
);
...
...
@@ -4485,33 +4479,25 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if
(
Common
.
isNotNull
(
errorTemp
.
toString
()))
{
dispatchInfoPre
.
setDispatchItem
(
errorTemp
.
deleteCharAt
(
errorTemp
.
length
()
-
1
).
toString
());
}
if
(
null
==
loginNameMap
.
get
(
dispatchInfoPre
.
getCustomerUserLoginName
()))
{
UUID
uuid
=
UUID
.
randomUUID
();
loginNameMap
.
put
(
dispatchInfoPre
.
getCustomerUserLoginName
(),
uuid
.
toString
());
}
TSocialAutoLog
socialAutoLog
=
new
TSocialAutoLog
();
socialAutoLog
.
setSocialId
(
loginNameMap
.
get
(
dispatchInfoPre
.
getCustomerUserLoginName
()
));
socialAutoLog
.
setSocialId
(
UUID
.
randomUUID
().
toString
(
));
socialAutoLog
.
setEmpName
(
dispatchInfoPre
.
getEmpName
());
socialAutoLog
.
setEmpIdcard
(
dispatchInfoPre
.
getEmpIdcard
());
socialAutoLog
.
setErrorInfo
(
handleRemark
);
socialAutoLogService
.
save
(
socialAutoLog
);
sendDisFalureMessageToWx
(
dispatchInfoPre
,
socialAutoLog
.
getId
()
,
null
);
sendDisFalureMessageToWx
(
dispatchInfoPre
,
socialAutoLog
.
getId
());
}
if
(
sf
.
getSocialStatus
().
equals
(
CommonConstants
.
FIVE_STRING
))
{
dispatchInfoPre
.
setProcessStatus
(
CommonConstants
.
EIGHT_STRING
);
dispatchInfoPre
.
setErrorBackInfo
(
handleRemark
);
if
(
null
==
loginNameMap
.
get
(
dispatchInfoPre
.
getCustomerUserLoginName
()))
{
UUID
uuid
=
UUID
.
randomUUID
();
loginNameMap
.
put
(
dispatchInfoPre
.
getCustomerUserLoginName
(),
uuid
.
toString
());
}
TSocialAutoLog
socialAutoLog
=
new
TSocialAutoLog
();
socialAutoLog
.
setSocialId
(
loginNameMap
.
get
(
dispatchInfoPre
.
getCustomerUserLoginName
()
));
socialAutoLog
.
setSocialId
(
UUID
.
randomUUID
().
toString
(
));
socialAutoLog
.
setEmpName
(
dispatchInfoPre
.
getEmpName
());
socialAutoLog
.
setEmpIdcard
(
dispatchInfoPre
.
getEmpIdcard
());
socialAutoLog
.
setErrorInfo
(
handleRemark
);
socialAutoLogService
.
save
(
socialAutoLog
);
sendDisFalureMessageToWx
(
dispatchInfoPre
,
socialAutoLog
.
getId
()
,
null
);
sendDisFalureMessageToWx
(
dispatchInfoPre
,
socialAutoLog
.
getId
());
}
if
(
sf
.
getSocialStatus
().
equals
(
CommonConstants
.
THREE_STRING
))
{
dispatchInfoPre
.
setErrorBackInfo
(
null
);
...
...
@@ -8862,7 +8848,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
//发送企业微信待办
private
void
sendDisFalureMessageToWx
(
TDispatchInfoPre
pre
,
String
id
,
Map
<
String
,
String
>
loginNameMap
)
{
private
void
sendDisFalureMessageToWx
(
TDispatchInfoPre
pre
,
String
id
)
{
//获取前端客服
SysUser
user
;
if
(
Common
.
isEmpty
(
pre
.
getCustomerUserLoginName
()))
{
...
...
@@ -8883,7 +8869,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
Map
<
String
,
Object
>
requestMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
textcard
=
new
HashMap
<>();
String
authUrl
=
String
.
format
(
SecurityConstants
.
WX_GET_MESSAGE_AUTH_URL
,
wxConfig
.
getCorpid
()
,
wxConfig
.
getDomainName
()
+
"/auth/oauth/wxLogin"
,
"68"
+
null
==
id
?
loginNameMap
.
get
(
pre
.
getCustomerUserLoginName
()):
id
);
,
wxConfig
.
getDomainName
()
+
"/auth/oauth/wxLogin"
,
"68"
+
id
);
StringBuilder
description
=
new
StringBuilder
();
String
title
=
"作业自动化——社保办理失败提醒"
;
description
.
append
(
pre
.
getEmpName
()).
append
(
"-"
).
append
(
pre
.
getEmpIdcard
()).
append
(
"-"
)
...
...
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