Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
feo-jobs
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
feo-jobs
Commits
28e8826e
Commit
28e8826e
authored
Aug 23, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
早报 优化
parent
37f2daac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
DaySubJob.java
src/main/java/com/tanpu/feo/feojob/jobs/DaySubJob.java
+3
-4
No files found.
src/main/java/com/tanpu/feo/feojob/jobs/DaySubJob.java
View file @
28e8826e
...
...
@@ -87,8 +87,7 @@ public class DaySubJob {
// 查询 机构配置信息
OrgExtEntity
orgExtEntity
=
orgExtMapper
.
selectOne
(
new
LambdaQueryWrapper
<
OrgExtEntity
>()
.
eq
(
OrgExtEntity:
:
getOrgId
,
orgId
)
.
eq
(
OrgExtEntity:
:
getDeleteTag
,
BizStatus
.
DeleteTag
.
tag_init_str
)
.
last
(
"limit 1"
));
.
eq
(
OrgExtEntity:
:
getDeleteTag
,
BizStatus
.
DeleteTag
.
tag_init_str
));
String
jsonKey
=
ObjectUtil
.
isNotNull
(
orgExtEntity
)
?
orgExtEntity
.
getJsonWxcpKey
()
:
null
;
if
(
StrUtil
.
isNotBlank
(
jsonKey
))
{
//在orgExt 表中有查到 jsonKey 执行消息推送任务
...
...
@@ -109,6 +108,7 @@ public class DaySubJob {
parmMap
.
put
(
"type"
,
"text"
);
String
wxOpenId
=
userInfoEntity
.
getUiOpenid
();
String
wxcpUId
=
userInfoEntity
.
getWxcpUid
();
// if (StringUtils.isNotBlank(wxcpUId)) {
if
(
StringUtils
.
isNotBlank
(
wxcpUId
))
{
// 1 企业微信 推送
String
agentId
=
jsonKeyInfo
.
getStr
(
"agentId"
);
...
...
@@ -126,8 +126,7 @@ public class DaySubJob {
if
(
StrUtil
.
isNotBlank
(
agentId
)
&&
StrUtil
.
isNotBlank
(
corpId
)
&&
StrUtil
.
isNotBlank
(
wxcpUId
)
&&
StrUtil
.
isNotBlank
(
JSONUtil
.
toJsonStr
(
parmMap
)))
{
feignClientForWxCp
.
sendMessage
(
agentId
,
corpId
,
wxcpUId
,
JSONUtil
.
toJsonStr
(
parmMap
));
}
}
if
(
StringUtils
.
isNotBlank
(
wxOpenId
))
{
}
else
if
(
StringUtils
.
isNotBlank
(
wxOpenId
))
{
// 2 公众号推送
String
wxAppID
=
jsonKeyInfo
.
getStr
(
"sendMessageAppId"
);
// ww=wxAppID&orgCode=orgCode
...
...
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