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
QianQiXiang
haoban-manage3.0
Commits
a00a58e3
Commit
a00a58e3
authored
Apr 16, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9e9bdd97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ApplicationController.java
...c/haoban/manage/web/controller/ApplicationController.java
+6
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/ApplicationController.java
View file @
a00a58e3
...
@@ -113,6 +113,9 @@ public class ApplicationController extends WebBaseController{
...
@@ -113,6 +113,9 @@ public class ApplicationController extends WebBaseController{
if
(
enterpriseDTO
!=
null
){
if
(
enterpriseDTO
!=
null
){
if
(
StringUtils
.
isNotBlank
(
enterpriseDTO
.
getContactSecret
())
&&
enterpriseDTO
.
getContactFlag
()
!=
null
&&
enterpriseDTO
.
getContactFlag
()
==
0
){
if
(
StringUtils
.
isNotBlank
(
enterpriseDTO
.
getContactSecret
())
&&
enterpriseDTO
.
getContactFlag
()
!=
null
&&
enterpriseDTO
.
getContactFlag
()
==
0
){
String
taskId
=
dealSyncOperationApiService
.
createQywxTask
(
wxEnterpriseId
,
"同步企业微信架构"
,
login
.
getStaffDTO
().
getWxUserId
(),
"首次同步企业微信架构"
);
String
taskId
=
dealSyncOperationApiService
.
createQywxTask
(
wxEnterpriseId
,
"同步企业微信架构"
,
login
.
getStaffDTO
().
getWxUserId
(),
"首次同步企业微信架构"
);
if
(
StringUtils
.
isBlank
(
taskId
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
false
);
}
//this.departmentApiService.initwxDepartmentMQ(enterpriseDTO.getWxEnterpriseId());
//this.departmentApiService.initwxDepartmentMQ(enterpriseDTO.getWxEnterpriseId());
dealSyncOperationApiService
.
dealQywxDepartment
(
taskId
,
wxEnterpriseId
);
dealSyncOperationApiService
.
dealQywxDepartment
(
taskId
,
wxEnterpriseId
);
enterpriseDTO
.
setContactFlag
(
1
);
enterpriseDTO
.
setContactFlag
(
1
);
...
@@ -138,6 +141,9 @@ public class ApplicationController extends WebBaseController{
...
@@ -138,6 +141,9 @@ public class ApplicationController extends WebBaseController{
if
(
enterpriseDTO
!=
null
){
if
(
enterpriseDTO
!=
null
){
if
(
StringUtils
.
isNotBlank
(
enterpriseDTO
.
getContactSecret
())
&&
enterpriseDTO
.
getContactFlag
()
!=
null
){
if
(
StringUtils
.
isNotBlank
(
enterpriseDTO
.
getContactSecret
())
&&
enterpriseDTO
.
getContactFlag
()
!=
null
){
String
taskId
=
dealSyncOperationApiService
.
createQywxTask
(
wxEnterpriseId
,
"后门同步企业微信架构"
,
login
.
getStaffDTO
().
getWxUserId
(),
"后门同步企业微信架构"
);
String
taskId
=
dealSyncOperationApiService
.
createQywxTask
(
wxEnterpriseId
,
"后门同步企业微信架构"
,
login
.
getStaffDTO
().
getWxUserId
(),
"后门同步企业微信架构"
);
if
(
StringUtils
.
isBlank
(
taskId
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
false
);
}
dealSyncOperationApiService
.
dealQywxDepartment
(
taskId
,
wxEnterpriseId
);
dealSyncOperationApiService
.
dealQywxDepartment
(
taskId
,
wxEnterpriseId
);
}
}
}
}
...
...
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