Commit fd1e726d authored by tianyiming's avatar tianyiming

修改bug

parent 35c75e61
...@@ -258,7 +258,11 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi ...@@ -258,7 +258,11 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi
if (!ValidationUtil.isEmpty(orgUsrAgencyUser)) { if (!ValidationUtil.isEmpty(orgUsrAgencyUser)) {
orgUsrAgencyUserMapper.delete(new QueryWrapper<OrgUsrAgencyUser>().eq("org_usr_id", id)); orgUsrAgencyUserMapper.delete(new QueryWrapper<OrgUsrAgencyUser>().eq("org_usr_id", id));
// 删除已经创建的管理员账号 // 删除已经创建的管理员账号
Privilege.agencyUserClient.multDeleteUser(orgUsrAgencyUser.getAmosUserId()); FeignClientResult<AgencyUserModel> feignClientResult = Privilege.agencyUserClient
.queryByUserId(orgUsrAgencyUser.getAmosUserId());
if (feignClientResult != null) {
Privilege.agencyUserClient.multDeleteUser(orgUsrAgencyUser.getAmosUserId());
}
} }
//删除cb_org_usr相关字段 //删除cb_org_usr相关字段
OrgUsr orgUsr1 = orgUsrMapper.queryBySequenceNbr(id.toString()); OrgUsr orgUsr1 = orgUsrMapper.queryBySequenceNbr(id.toString());
......
...@@ -270,7 +270,7 @@ public class SupervisionConfigureController extends AbstractBaseController { ...@@ -270,7 +270,7 @@ public class SupervisionConfigureController extends AbstractBaseController {
String nowStrLong = DateUtils.getNowStrLong(); String nowStrLong = DateUtils.getNowStrLong();
Date mounthDate = null; Date mounthDate = null;
try { try {
mounthDate = DateUtils.getCurrentMonthEndTime(new Date()); mounthDate = DateUtils.getCurrentMonthStartTime(new Date());
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
......
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