|
|
|
@ -3663,10 +3663,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
fileComp.put("source", sourceEnum);
|
|
|
|
|
fileComp.put("commit_by_id", account.getString("account_id"));
|
|
|
|
|
clientComplianceCompanyMapper.save(fileComp);
|
|
|
|
|
clientFilesMapper.updateFilesAuthStatus(client.getIntValue("client_id"),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getAfterStatus(),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getBeforeStatus(),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getAuthType("compliance"));
|
|
|
|
|
} else if (fileComp.getIntValue("status") == 2) {
|
|
|
|
|
fileComp.put("status", 0);
|
|
|
|
|
fileComp.put("submit_time", new Date());
|
|
|
|
@ -3676,13 +3672,13 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
fileComp.put("source", sourceEnum);
|
|
|
|
|
fileComp.put("commit_by_id", account.getString("account_id"));
|
|
|
|
|
clientComplianceCompanyMapper.update(fileComp);
|
|
|
|
|
clientFilesMapper.updateFilesAuthStatus(client.getIntValue("client_id"),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getAfterStatus(),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getBeforeStatus(),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getAuthType("compliance"));
|
|
|
|
|
} else {
|
|
|
|
|
throw new BadRequestException("please do not repeat submission!");
|
|
|
|
|
}
|
|
|
|
|
clientFilesMapper.updateFilesAuthStatus(client.getIntValue("client_id"),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getAfterStatus(),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getBeforeStatus(),
|
|
|
|
|
FilesAuthEnum.COMMIT_OPR.getAuthType("compliance"));
|
|
|
|
|
signInAccountService.clearAccountCache(account.getString("account_id"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|