Browse Source

结案保存附件

dev_shibei_match
zhaoqifeng 5 years ago
parent
commit
0f34d051b2
  1. 13
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/ProjectService.java
  2. 15
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

13
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/ProjectService.java

@ -242,4 +242,17 @@ public interface ProjectService extends BaseService<ProjectEntity> {
* @date 2020.11.13 09:12
*/
List<ProjectOfCreateTopicUserResultDTO> listProjectsByCreateTopicUserId(String userId, String customerId, Integer pageNo, Integer pageSize);
/**
* 项目处理节点附件保存
* @author zhaoqifeng
* @date 2020/12/22 9:17
* @param publicFile
* @param internalFile
* @param customerId
* @param projectId
* @param processId
* @return void
*/
void saveFile(List<FileDTO> publicFile, List<FileDTO> internalFile, String customerId, String projectId, String processId);
}

15
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

@ -1561,8 +1561,19 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
return projects;
}
private void saveFile(List<FileDTO> publicFile, List<FileDTO> internalFile, String customerId, String projectId, String processId) {
/**
* 项目处理节点附件保存
* @author zhaoqifeng
* @date 2020/12/22 9:18
* @param publicFile
* @param internalFile
* @param customerId
* @param projectId
* @param processId
* @return void
*/
@Override
public void saveFile(List<FileDTO> publicFile, List<FileDTO> internalFile, String customerId, String projectId, String processId) {
if (CollectionUtils.isNotEmpty(internalFile)) {
int i = 0;
List<ProjectProcessAttachmentEntity> list = new ArrayList<>();

Loading…
Cancel
Save