Commit 6323cc99 by 徐高华

test

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