Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
c2308969
Commit
c2308969
authored
Jul 19, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改考勤汇总
parent
b83e2193
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
...dule/check/service/impl/CheckAttendRecordServiceImpl.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
...dingding/personal/service/impl/DingPersonServiceImpl.java
+9
-3
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
View file @
c2308969
...
@@ -135,7 +135,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
...
@@ -135,7 +135,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
checkDingMsg
.
setScore
(
entity
.
getScore
().
toString
());
checkDingMsg
.
setScore
(
entity
.
getScore
().
toString
());
checkDingMsg
.
setSubAddType
(
entity
.
getSubAddType
());
checkDingMsg
.
setSubAddType
(
entity
.
getSubAddType
());
checkDingMsg
.
setPath
(
String
.
format
(
"#/api/v1/perform/info?id=%s&&performType=complain"
,
entity
.
getId
()));
checkDingMsg
.
setPath
(
String
.
format
(
"#/api/v1/perform/info?id=%s&&performType=complain"
,
entity
.
getId
()));
Rest
<
String
>
msgRest
=
messageService
.
sendDingTalkWorkMsg
(
checkDingMsg
);
messageService
.
sendDingTalkWorkMsg
(
checkDingMsg
);
}
else
{
}
else
{
log
.
error
(
"根据手机号码获取人员错误,msg:{}"
,
personRest
.
getMsg
());
log
.
error
(
"根据手机号码获取人员错误,msg:{}"
,
personRest
.
getMsg
());
}
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
View file @
c2308969
...
@@ -18,6 +18,7 @@ import com.taobao.api.ApiException;
...
@@ -18,6 +18,7 @@ import com.taobao.api.ApiException;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.ObjectUtils
;
@Service
(
"dingPersonService"
)
@Service
(
"dingPersonService"
)
...
@@ -75,11 +76,16 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
...
@@ -75,11 +76,16 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
req
.
setUseridList
(
workMsgReq
.
getUseridList
());
req
.
setUseridList
(
workMsgReq
.
getUseridList
());
//.setMsg(JSON.toJSONString(workMsgReq.getMsg()));
//.setMsg(JSON.toJSONString(workMsgReq.getMsg()));
log
.
info
(
"workMsgReq:{}"
,
JSON
.
toJSONString
(
workMsgReq
));
OapiMessageCorpconversationAsyncsendV2Request
.
Msg
msg
=
new
OapiMessageCorpconversationAsyncsendV2Request
.
Msg
();
OapiMessageCorpconversationAsyncsendV2Request
.
Msg
msg
=
new
OapiMessageCorpconversationAsyncsendV2Request
.
Msg
();
OapiMessageCorpconversationAsyncsendV2Request
.
Link
link
=
new
OapiMessageCorpconversationAsyncsendV2Request
.
Link
();
OapiMessageCorpconversationAsyncsendV2Request
.
Link
link
=
new
OapiMessageCorpconversationAsyncsendV2Request
.
Link
();
if
(!
ObjectUtils
.
isEmpty
(
workMsgReq
.
getMsg
())&&!
ObjectUtils
.
isEmpty
(
workMsgReq
.
getMsg
().
getLink
())){
link
.
setMessageUrl
(
workMsgReq
.
getMsg
().
getLink
().
getMessageUrl
());
link
.
setMessageUrl
(
workMsgReq
.
getMsg
().
getLink
().
getMessageUrl
());
link
.
setText
(
workMsgReq
.
getMsg
().
getLink
().
getText
());
link
.
setText
(
workMsgReq
.
getMsg
().
getLink
().
getText
());
link
.
setTitle
(
workMsgReq
.
getMsg
().
getLink
().
getTitle
());
link
.
setTitle
(
workMsgReq
.
getMsg
().
getLink
().
getTitle
());
}
link
.
setPicUrl
(
"@lADOADmaWMzazQKA"
);
link
.
setPicUrl
(
"@lADOADmaWMzazQKA"
);
msg
.
setLink
(
link
);
msg
.
setLink
(
link
);
msg
.
setMsgtype
(
"link"
);
msg
.
setMsgtype
(
"link"
);
...
...
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