|
|
@ -3353,6 +3353,17 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
return fileJson;
|
|
|
|
return fileJson;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public JSONObject getSourceAgreeFiles(JSONObject manage, String clientMoniker) {
|
|
|
|
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
|
|
|
|
|
if (client == null) {
|
|
|
|
|
|
|
|
throw new InvalidShortIdException();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
JSONObject sourceFile = clientFilesMapper.getSourceAgreeFilesByClientId(client.getIntValue("client_id"));
|
|
|
|
|
|
|
|
sourceFile.put(sourceFile.getString("file_name"), sourceFile.getString("file_value"));
|
|
|
|
|
|
|
|
return sourceFile;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public JSONObject getAllAuthFiles(JSONObject manager, String clientMoniker) {
|
|
|
|
public JSONObject getAllAuthFiles(JSONObject manager, String clientMoniker) {
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
@ -3382,7 +3393,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
return fileJson;
|
|
|
|
return fileJson;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public JSONObject getClientViewAuthFiles(JSONObject manager, String clientMoniker) {
|
|
|
|
public JSONObject getClientViewAuthFiles(JSONObject manager, String clientMoniker) {
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
@ -3414,8 +3424,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void deleteAuthFiles(String fileId) {
|
|
|
|
public void deleteAuthFiles(String fileId) {
|
|
|
|
JSONObject file = clientFilesMapper.findFileById(fileId);
|
|
|
|
JSONObject file = clientFilesMapper.findFileById(fileId);
|
|
|
|