Commit 6323cc99 by 徐高华

test

parent 96c181b6
...@@ -233,11 +233,16 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -233,11 +233,16 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
@Override @Override
public boolean enterpriseIsOver(String enterpriseId) { public boolean enterpriseIsOver(String enterpriseId) {
Integer code = this.enterpriseUseForbidService.selectPermissionStatus(enterpriseId, "haoban-3") ; try {
log.info("是否停用={},{}",enterpriseId,code); log.info("是否停用查询={}",enterpriseId);
// 不能用 Integer code = this.enterpriseUseForbidService.selectPermissionStatus(enterpriseId, "haoban-3") ;
if(!(code ==0 || code==1)) { log.info("是否停用={},{}",enterpriseId,code);
return true ; // 不能用
if(!(code ==0 || code==1)) {
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) {
......
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