Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
65bed963
Commit
65bed963
authored
Mar 23, 2022
by
李健华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只查询企业微信数据
parent
9a7b22d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
IWeChatInfoRelationRepository.java
...tgroup/xyqb/repository/IWeChatInfoRelationRepository.java
+1
-1
WechatFollowServiceImpl.java
...oup/xyqb/service/wechat/impl/WechatFollowServiceImpl.java
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/repository/IWeChatInfoRelationRepository.java
View file @
65bed963
...
...
@@ -19,6 +19,6 @@ public interface IWeChatInfoRelationRepository extends JpaRepository<WechatInfoR
@Query
(
value
=
"update wechat_info_relation as wir set wir.is_follow_wechat = 1 where wir.open_id IN (?1)"
,
nativeQuery
=
true
)
void
updateIsFollowWechatInOpenIdList
(
List
<
String
>
openIdList
);
List
<
WechatInfoRelation
>
findByUnionIdInAndTaskPeriod
(
List
<
String
>
unionIdList
,
String
period
);
List
<
WechatInfoRelation
>
findByUnionIdInAndTaskPeriod
AndType
(
List
<
String
>
unionIdList
,
String
period
,
Integer
type
);
}
src/main/java/cn/quantgroup/xyqb/service/wechat/impl/WechatFollowServiceImpl.java
View file @
65bed963
...
...
@@ -183,7 +183,7 @@ public class WechatFollowServiceImpl implements IWechatFollowService {
@Override
public
Object
findByUnionIdsToUserIds
(
List
<
String
>
unionIds
,
String
period
)
{
return
weChatInfoRelationRepository
.
findByUnionIdInAndTaskPeriod
(
unionIds
,
period
);
return
weChatInfoRelationRepository
.
findByUnionIdInAndTaskPeriod
AndType
(
unionIds
,
period
,
ENTERPRISE_WECHAT
);
}
private
JsonResult
executeEnterpriseFollowStatus
(
String
s
,
String
period
)
{
...
...
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