From 81320104c9ebc3797d50c822867a80fc47e1e2c6 Mon Sep 17 00:00:00 2001 From: Lim Jonguk Date: Sun, 17 Apr 2022 05:41:51 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=82=AC=EC=9A=A9=EC=9E=90=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=EC=B6=94=EA=B0=80=20=20=20=20=20=20=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EA=B4=80=EB=A6=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xit/biz/ctgy/dto/JudgeResultDto.java | 50 +++++++++++++++++++ .../xit/biz/ctgy/dto/JudgeResultUserDto.java | 29 +++++++++++ .../mapper/IResidentAndDisabledMapper.java | 3 +- .../biz/ctgy/residentanddisabled-mapper.xml | 19 ++++++- 4 files changed, 98 insertions(+), 3 deletions(-) create mode 100644 src/main/java/com/xit/biz/ctgy/dto/JudgeResultDto.java create mode 100644 src/main/java/com/xit/biz/ctgy/dto/JudgeResultUserDto.java diff --git a/src/main/java/com/xit/biz/ctgy/dto/JudgeResultDto.java b/src/main/java/com/xit/biz/ctgy/dto/JudgeResultDto.java new file mode 100644 index 0000000..afa1982 --- /dev/null +++ b/src/main/java/com/xit/biz/ctgy/dto/JudgeResultDto.java @@ -0,0 +1,50 @@ +package com.xit.biz.ctgy.dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import org.apache.ibatis.type.Alias; + +import java.time.LocalDate; +import java.util.List; + +@Schema(name = "JudgeResultDto", description = "심사결과") +@Getter +@Setter +@AllArgsConstructor +@NoArgsConstructor +public class JudgeResultDto { + + @Schema(required = true, title = "민원코드", example = " ", description = "민원코드") + private Long msMaincode; + + @Schema(required = true, title = "접수번호", example = " ", description = "Input Description...") + private String msSeq; + + @Schema(required = true, title = "차량번호", example = " ", description = "Input Description...") + private String msCarnum; + + @Schema(required = false, title = "결과코드", example = " ", description = "Input Description...") + private String msResult; + + List judgeResultUserDtoList; + +// @Schema(required = true, title = "차수", example = " ", description = "Input Description...") +// private Long msChasu; +// +// @Schema(required = true, title = "심사시작일", example = " ", description = "Input Description...") +// @JsonFormat(pattern="yyyy-MM-dd") +// private LocalDate msSdate; +// +// @Schema(required = true, title = "심사종료일", example = " ", description = "Input Description...") +// @JsonFormat(pattern="yyyy-MM-dd") +// private LocalDate msEdate; +// +// +// @Schema(title = "데이타구분", example = "1", description = "데이타구분: 1-거주자,2-장애인") +// private String msDatagb; + +} diff --git a/src/main/java/com/xit/biz/ctgy/dto/JudgeResultUserDto.java b/src/main/java/com/xit/biz/ctgy/dto/JudgeResultUserDto.java new file mode 100644 index 0000000..eb8c5b8 --- /dev/null +++ b/src/main/java/com/xit/biz/ctgy/dto/JudgeResultUserDto.java @@ -0,0 +1,29 @@ +package com.xit.biz.ctgy.dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import org.apache.ibatis.type.Alias; + +import java.time.LocalDate; + +@Schema(name = "JudgeResultUserDto", description = "심사결과사용자") +@Getter +@Setter +@AllArgsConstructor +@NoArgsConstructor +public class JudgeResultUserDto { + + @Schema(required = true, title = "민원코드", example = " ", description = "민원코드") + private Long msuMaincode; + + @Schema(required = false, title = "결과코드", example = " ", description = "Input Description...") + private String msuResult; + + @Schema(required = false, title = "단속시간", example = " ", description = "Input Description...") + private String name; + +} diff --git a/src/main/java/com/xit/biz/ctgy/mapper/IResidentAndDisabledMapper.java b/src/main/java/com/xit/biz/ctgy/mapper/IResidentAndDisabledMapper.java index ec19118..2e8e331 100644 --- a/src/main/java/com/xit/biz/ctgy/mapper/IResidentAndDisabledMapper.java +++ b/src/main/java/com/xit/biz/ctgy/mapper/IResidentAndDisabledMapper.java @@ -1,6 +1,7 @@ package com.xit.biz.ctgy.mapper; import com.xit.biz.ctgy.dto.JudgeListDto; +import com.xit.biz.ctgy.dto.JudgeResultDto; import com.xit.biz.ctgy.dto.JudgeTargetDto; import org.apache.ibatis.annotations.Mapper; @@ -46,5 +47,5 @@ public interface IResidentAndDisabledMapper { * @return List */ List> selectJudgeResultList(Map map); - List> selectJudgeResultList2(Map map); + List selectJudgeResultList2(Map map); } diff --git a/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml b/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml index 4cdfa2b..c506f94 100644 --- a/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml +++ b/src/main/resources/mybatis-mapper/biz/ctgy/residentanddisabled-mapper.xml @@ -172,8 +172,22 @@ ORDER BY MSU.msu_userid, MU.name, MSS.ms_maincode, MSS.ms_seq, MSS.ms_carnum -