Commit b16a22ea by 王祖波

服务到期

parent abaf549d
......@@ -802,7 +802,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
Integer status = vo.getStatus();
Date serviceEndDate = vo.getServiceEndDate();
// -1 服务到期
if (Objects.equals(status, 0) && serviceEndDate != null && serviceEndDate.after(new Date())) {
if (Objects.equals(status, 0) && serviceEndDate != null && serviceEndDate.before(new Date())) {
vo.setStatus(-1);
}
return vo;
......
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