|
@@ -571,6 +571,7 @@ public class WeiXinCorpController {
|
|
|
newCompany.setId(wxCorpInfo.getCompanyId());
|
|
|
newCompany.setExpirationDate(endTime);
|
|
|
newCompany.setSetMeal(1);
|
|
|
+ newCompany.setStaffCountMax(wxOrder.getUserCount());
|
|
|
companyMapper.updateById(newCompany);
|
|
|
System.out.println("有效期变更为:" + endTime);
|
|
|
}
|
|
@@ -1300,6 +1301,8 @@ public class WeiXinCorpController {
|
|
|
}
|
|
|
LocalDateTime endTime = wxOrder.getEndTime();
|
|
|
newCompany.setExpirationDate(endTime);
|
|
|
+ newCompany.setSetMeal(1);
|
|
|
+ newCompany.setStaffCountMax(wxOrder.getUserCount());
|
|
|
companyMapper.updateById(newCompany);
|
|
|
System.out.println("版本变更成功,到期时间更新成功。");
|
|
|
}else {
|