feat: 사용자관리 추가

게시판관리 추가
dev
Lim Jonguk 3 years ago
parent 2bfc67d5e3
commit 81320104c9

@ -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<JudgeResultUserDto> 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;
}

@ -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;
}

@ -1,6 +1,7 @@
package com.xit.biz.ctgy.mapper; package com.xit.biz.ctgy.mapper;
import com.xit.biz.ctgy.dto.JudgeListDto; import com.xit.biz.ctgy.dto.JudgeListDto;
import com.xit.biz.ctgy.dto.JudgeResultDto;
import com.xit.biz.ctgy.dto.JudgeTargetDto; import com.xit.biz.ctgy.dto.JudgeTargetDto;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
@ -46,5 +47,5 @@ public interface IResidentAndDisabledMapper {
* @return List<Map> * @return List<Map>
*/ */
List<Map<String,Object>> selectJudgeResultList(Map<String,Object> map); List<Map<String,Object>> selectJudgeResultList(Map<String,Object> map);
List<Map<String,Object>> selectJudgeResultList2(Map<String,Object> map); List<JudgeResultDto> selectJudgeResultList2(Map<String,Object> map);
} }

@ -172,8 +172,22 @@
ORDER BY MSU.msu_userid, MU.name, MSS.ms_maincode, MSS.ms_seq, MSS.ms_carnum ORDER BY MSU.msu_userid, MU.name, MSS.ms_maincode, MSS.ms_seq, MSS.ms_carnum
</select> </select>
<select id="selectJudgeResultList2" parameterType="map" resultType="camelCaseLinkedMap"> <!--
/* residentanddisabled-mapper|selectJudgeResultList|julim */ <resultMap id="judgeResult" type="com.xit.biz.ctgy.dto.JudgeResultDto">
<result property="msMaincode" column="ms_maincode" />
<result property="msSeq" column="ms_seq" />
<result property="msCanum" column="ms_carnum" />
<result property="msResult" column="ms_result" />
<collection property="judgeResultUserDtoList" ofType="com.xit.biz.ctgy.dto.JudgeResultUserDto">
<id property="msuMaincode" column="msu_maincode" />
<result property="name" column="name" />
<result property="msuReslt" column="msu_result" />
</collection>
</resultMap>
-->
<!--
<select id="selectJudgeResultList2" parameterType="map" resultMap="com.xit.biz.ctgy.dto.JudgeResultDto">
residentanddisabled-mapper|selectJudgeResultList|julim
SELECT MSS.ms_maincode SELECT MSS.ms_maincode
, MSS.ms_seq , MSS.ms_seq
, MSS.ms_carnum , MSS.ms_carnum
@ -206,4 +220,5 @@
AND MSU.msu_userid = MU.userid AND MSU.msu_userid = MU.userid
ORDER BY MSU.msu_userid, MU.name, MSS.ms_maincode, MSS.ms_seq, MSS.ms_carnum ORDER BY MSU.msu_userid, MU.name, MSS.ms_maincode, MSS.ms_seq, MSS.ms_carnum
</select> </select>
-->
</mapper> </mapper>
Loading…
Cancel
Save