Commit 6323cc99 by 徐高华

test

parent 96c181b6
...@@ -233,12 +233,17 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -233,12 +233,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment