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
fc471a56
Commit
fc471a56
authored
Jul 13, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_xgh_停用功能' into 'developer'
test See merge request
!195
parents
fc360c67
6323cc99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+5
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
fc471a56
...
@@ -239,12 +239,17 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
...
@@ -239,12 +239,17 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
@Override
@Override
public
boolean
enterpriseIsOver
(
String
enterpriseId
)
{
public
boolean
enterpriseIsOver
(
String
enterpriseId
)
{
try
{
log
.
info
(
"是否停用查询={}"
,
enterpriseId
);
Integer
code
=
this
.
enterpriseUseForbidService
.
selectPermissionStatus
(
enterpriseId
,
"haoban-3"
)
;
Integer
code
=
this
.
enterpriseUseForbidService
.
selectPermissionStatus
(
enterpriseId
,
"haoban-3"
)
;
log
.
info
(
"是否停用={},{}"
,
enterpriseId
,
code
);
log
.
info
(
"是否停用={},{}"
,
enterpriseId
,
code
);
// 不能用
// 不能用
if
(!(
code
==
0
||
code
==
1
))
{
if
(!(
code
==
0
||
code
==
1
))
{
return
true
;
return
true
;
}
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
EnterpriseDTO
enterprise
=
enterpriseService
.
getEnterpriseById
(
enterpriseId
);
EnterpriseDTO
enterprise
=
enterpriseService
.
getEnterpriseById
(
enterpriseId
);
if
(
enterprise
==
null
||
enterprise
.
getStatus
()
!=
1
)
{
if
(
enterprise
==
null
||
enterprise
.
getStatus
()
!=
1
)
{
return
true
;
return
true
;
...
...
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