Commit 188d9319 by 徐高华

过期停用

parent bc5645be
...@@ -497,7 +497,8 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -497,7 +497,8 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
if(resp.isSuccess()) { if(resp.isSuccess()) {
EnterpriseUsingPermissionDto dto = resp.getResult() ; EnterpriseUsingPermissionDto dto = resp.getResult() ;
if(null != dto.getServiceEndDate() && dto.getServiceEndDate().before(new Date())) { if(null != dto.getServiceEndDate() && dto.getServiceEndDate().before(new Date())) {
return false ; log.info("过期停用={}",eid);
return true ;
} }
} }
return false ; return false ;
......
...@@ -379,7 +379,8 @@ public class StoreController extends WebBaseController { ...@@ -379,7 +379,8 @@ public class StoreController extends WebBaseController {
if(resp.isSuccess()) { if(resp.isSuccess()) {
EnterpriseUsingPermissionDto dto = resp.getResult() ; EnterpriseUsingPermissionDto dto = resp.getResult() ;
if(null != dto.getServiceEndDate() && dto.getServiceEndDate().before(new Date())) { if(null != dto.getServiceEndDate() && dto.getServiceEndDate().before(new Date())) {
return false ; logger.info("过期停用={}",enterpriseId);
return true ;
} }
} }
return false ; return false ;
......
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