From 8bfc64d014078219a636e4b7cfa81d3c2b2db945 Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Mon, 10 May 2021 13:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screen/dto/result/ScreenProjectDetailResultDTO.java | 8 ++++++-- .../main/resources/mapper/screen/ScreenProjectDataDao.xml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/epmet-module/data-report/data-report-client/src/main/java/com/epmet/evaluationindex/screen/dto/result/ScreenProjectDetailResultDTO.java b/epmet-module/data-report/data-report-client/src/main/java/com/epmet/evaluationindex/screen/dto/result/ScreenProjectDetailResultDTO.java index 7ec31acd09..d1fa2f824b 100644 --- a/epmet-module/data-report/data-report-client/src/main/java/com/epmet/evaluationindex/screen/dto/result/ScreenProjectDetailResultDTO.java +++ b/epmet-module/data-report/data-report-client/src/main/java/com/epmet/evaluationindex/screen/dto/result/ScreenProjectDetailResultDTO.java @@ -1,7 +1,6 @@ package com.epmet.evaluationindex.screen.dto.result; import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Data; @@ -17,6 +16,9 @@ import java.util.List; @Data public class ScreenProjectDetailResultDTO implements Serializable { private static final long serialVersionUID = 1L; + private String customerId; + private String projectStatusCode; + /** * 项目id */ @@ -57,7 +59,6 @@ public class ScreenProjectDetailResultDTO implements Serializable { @Data public static class processDTO{ - @JsonIgnore private String processId; /** * 处理部门名称 @@ -85,6 +86,9 @@ public class ScreenProjectDetailResultDTO implements Serializable { @Data public static class AttachmentDTO{ + //ATTACHMENT_ID + private String attachmentId; + @JsonInclude(JsonInclude.Include.NON_NULL) /** * 文件名 diff --git a/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml b/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml index aa42f30931..f6c6f2b20e 100644 --- a/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml +++ b/epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml @@ -64,7 +64,9 @@ ALL_CATEGORY_NAME as categoryName, LINK_NAME as reportUserName, link_mobile as mobile, - project_address as reportAddress + project_address as reportAddress, + CUSTOMER_ID as customerId, + PROJECT_STATUS_CODE as projectStatusCode FROM screen_project_data WHERE @@ -84,7 +86,7 @@ PUBLIC_REPLY as suggestion, PROCESS_TIME as reponseTime, operation as operation, - TRANSFER_DEPT_NAME as whistleDeptName + IFNULL(TRANSFER_DEPT_NAME,'') as whistleDeptName from screen_project_process where del_flag = '0' and project_id = #{projectId} @@ -92,6 +94,7 @@