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
dd5044a1
Commit
dd5044a1
authored
Jun 22, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信标签同步
parent
5bebfb77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
QywxTagServiceImpl.java
...aoban/manage/service/service/impl/QywxTagServiceImpl.java
+1
-1
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+4
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/QywxTagServiceImpl.java
View file @
dd5044a1
...
@@ -184,7 +184,7 @@ public class QywxTagServiceImpl implements QywxTagService {
...
@@ -184,7 +184,7 @@ public class QywxTagServiceImpl implements QywxTagService {
item
.
setQywxTagItemId
(
id
);
item
.
setQywxTagItemId
(
id
);
item
.
setUpdateTime
(
new
Date
());
item
.
setUpdateTime
(
new
Date
());
item
.
setStatusFlag
(
0
);
item
.
setStatusFlag
(
0
);
qywxTagItemMapper
.
updateByPrimaryKey
(
item
);
qywxTagItemMapper
.
updateByPrimaryKey
Selective
(
item
);
return
true
;
return
true
;
}
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
dd5044a1
...
@@ -236,7 +236,10 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
...
@@ -236,7 +236,10 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
}
else
if
(
relationTypeEnum
.
getTagType
()
==
QywxTagRelationTypeEnum
.
TAG_ITEM
.
getTagType
())
{
}
else
if
(
relationTypeEnum
.
getTagType
()
==
QywxTagRelationTypeEnum
.
TAG_ITEM
.
getTagType
())
{
TabQywxTagItem
qywxTagItem
=
qywxTagService
.
getQywxTagItemByQywxItemKey
(
wxEnterpriseDto
.
getWxEnterpriseId
(),
callbackDTO
.
getTagId
());
TabQywxTagItem
qywxTagItem
=
qywxTagService
.
getQywxTagItemByQywxItemKey
(
wxEnterpriseDto
.
getWxEnterpriseId
(),
callbackDTO
.
getTagId
());
if
(
null
==
qywxTagItem
)
{
if
(
null
==
qywxTagItem
)
{
logger
.
info
(
"没有关联,无需操作"
);
List
<
String
>
ids
=
new
ArrayList
<>();
ids
.
add
(
callbackDTO
.
getTagId
());
QywxGetCorpTagListDTO
tagList
=
qywxSuiteApiService
.
getCorpTagList
(
wxEnterpriseDto
.
getCorpid
(),
config
.
getWxSuiteid
(),
ids
,
QywxTagRelationTypeEnum
.
TAG_ITEM
.
getType
());
logger
.
info
(
"没有关联,无需操作:{}"
,
JSONObject
.
toJSONString
(
tagList
));
return
;
return
;
}
}
List
<
TabQywxTagRelation
>
relations
=
qywxTagService
.
listQywxTagRelationByMemberTagId
(
wxEnterpriseDto
.
getWxEnterpriseId
(),
qywxTagItem
.
getQywxTagId
());
List
<
TabQywxTagRelation
>
relations
=
qywxTagService
.
listQywxTagRelationByMemberTagId
(
wxEnterpriseDto
.
getWxEnterpriseId
(),
qywxTagItem
.
getQywxTagId
());
...
...
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