Commit fc471a56 by 徐高华

Merge branch 'master_xgh_停用功能' into 'developer'

test

See merge request !195
parents fc360c67 6323cc99
......@@ -239,11 +239,16 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
@Override
public boolean enterpriseIsOver(String enterpriseId) {
Integer code = this.enterpriseUseForbidService.selectPermissionStatus(enterpriseId, "haoban-3") ;
log.info("是否停用={},{}",enterpriseId,code);
// 不能用
if(!(code ==0 || code==1)) {
return true ;
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) {
......
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