Browse Source

结案保存附件

master
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. 17
      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 * @date 2020.11.13 09:12
*/ */
List<ProjectOfCreateTopicUserResultDTO> listProjectsByCreateTopicUserId(String userId, String customerId, Integer pageNo, Integer pageSize); 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);
} }

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

@ -499,7 +499,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
*/ */
@Override @Override
public void closedV2(ProjectClosedFromDTO fromDTO) { public void closedV2(ProjectClosedFromDTO fromDTO) {
//公开回复内容审核 //公开回复内容审核
if (StringUtils.isNotBlank(fromDTO.getPublicReply())) { if (StringUtils.isNotBlank(fromDTO.getPublicReply())) {
TextScanParamDTO textScanParamDTO = new TextScanParamDTO(); TextScanParamDTO textScanParamDTO = new TextScanParamDTO();
TextTaskDTO taskDTO = new TextTaskDTO(); TextTaskDTO taskDTO = new TextTaskDTO();
@ -1561,8 +1561,19 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
return projects; 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)) { if (CollectionUtils.isNotEmpty(internalFile)) {
int i = 0; int i = 0;
List<ProjectProcessAttachmentEntity> list = new ArrayList<>(); List<ProjectProcessAttachmentEntity> list = new ArrayList<>();

Loading…
Cancel
Save