Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
a8446a1c
Commit
a8446a1c
authored
Aug 18, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签同步-同步状态变更
parent
e767f32f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
0 deletions
+33
-0
QywxTagApiService.java
.../com/gic/haoban/manage/api/service/QywxTagApiService.java
+8
-0
QywxTagService.java
...com/gic/haoban/manage/service/service/QywxTagService.java
+7
-0
QywxTagServiceImpl.java
...aoban/manage/service/service/impl/QywxTagServiceImpl.java
+12
-0
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+6
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/QywxTagApiService.java
View file @
a8446a1c
...
...
@@ -150,6 +150,14 @@ public interface QywxTagApiService {
public
QywxTagInfoDTO
getQywxTagByQywxTagId
(
String
qywxTagId
);
/**
* 更新标签项 未同步状态 为同步状态
*
* @param tagItemId
* @return
*/
public
void
updateQywxTagRelationSyncStatusByTagItemId
(
String
wxEnterpriseId
,
String
tagItemId
);
/**
* 校验企业微信标签同步
*/
public
void
checkQywxSync
(
String
params
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/QywxTagService.java
View file @
a8446a1c
...
...
@@ -214,5 +214,12 @@ public interface QywxTagService {
*/
public
boolean
changeRelationSyncFlagByMemberTagId
(
String
wxEnterpriseId
,
String
memberTagId
,
Integer
syncFlag
);
/**
* 更新状态
*
* @return
*/
public
boolean
changeRelationSyncFlagByTagItemId
(
String
wxEnterpriseId
,
String
tagItemId
,
Integer
syncFlag
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/QywxTagServiceImpl.java
View file @
a8446a1c
...
...
@@ -267,4 +267,16 @@ public class QywxTagServiceImpl implements QywxTagService {
qywxTagRelationMapper
.
changeRelationSyncFlag
(
wxEnterpriseId
,
memberTagId
,
syncFlag
);
return
true
;
}
@Override
public
boolean
changeRelationSyncFlagByTagItemId
(
String
wxEnterpriseId
,
String
tagItemId
,
Integer
syncFlag
)
{
TabQywxTagRelation
qywxTagRelation
=
qywxTagRelationMapper
.
getQywxTagRelationByTagItemId
(
wxEnterpriseId
,
tagItemId
);
if
(
null
==
qywxTagRelation
)
{
return
true
;
}
qywxTagRelation
.
setSyncFlag
(
syncFlag
);
qywxTagRelation
.
setUpdateTime
(
new
Date
());
qywxTagRelationMapper
.
updateByPrimaryKeySelective
(
qywxTagRelation
);
return
true
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
a8446a1c
...
...
@@ -826,6 +826,12 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
return
EntityUtil
.
changeEntityByJSON
(
QywxTagInfoDTO
.
class
,
tabQywxTag
);
}
@Override
public
void
updateQywxTagRelationSyncStatusByTagItemId
(
String
wxEnterpriseId
,
String
tagItemId
)
{
qywxTagService
.
changeRelationSyncFlagByTagItemId
(
wxEnterpriseId
,
tagItemId
,
2
);
}
@Override
public
void
checkQywxSync
(
String
params
)
{
List
<
TabHaobanWxEnterprise
>
wxEnterprises
=
wxEnterpriseService
.
listAll
();
...
...
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