Commit fd1e726d authored by tianyiming's avatar tianyiming

修改bug

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