fix: canvasStatus 컬럼명 변경

map_position_address 컬럼명 변경
This commit is contained in:
yoosangwook 2024-11-05 10:12:18 +09:00
parent 87931ec7e0
commit e1307d41de
3 changed files with 13 additions and 13 deletions

View File

@ -10,5 +10,5 @@ public class CanvasStatus {
private String imageName; // 이미지명
private String canvasStatus; // 캠버스 상태
private String bgImageName; // 배경 이미지명
private String bgCadfileName; // 배경 CAD 파일명
private String mapPositionAddress; // 배경 CAD 파일명
}

View File

@ -7,13 +7,13 @@ import lombok.Setter;
@Getter
@Setter
public class CanvasStatusResponse {
private Integer id; //PK ID
private String userId; //사용자 ID
private String objectNo; //견적서 번호
private String imageName; //이미지명
private String canvasStatus; //캠버스 상태
private Date registDatetime; //생성일시
private Date lastEditDatetime; //수정일시
private String bgImageName; //배경 이미지명
private String bgCadfileName; //배경 CAD 파일명
private Integer id; // PK ID
private String userId; // 사용자 ID
private String objectNo; // 견적서 번호
private String imageName; // 이미지명
private String canvasStatus; // 캠버스 상태
private Date registDatetime; // 생성일시
private Date lastEditDatetime; // 수정일시
private String bgImageName; // 배경 이미지명
private String mapPositionAddress; // 배경 CAD 파일명
}

View File

@ -30,7 +30,7 @@
, regist_datetime
, last_edit_datetime
, bg_image_name
, bg_cadfile_name
, map_position_address
FROM TB_CANVAS_STATUS
WHERE user_id = #{userId}
</select>
@ -46,7 +46,7 @@
, regist_datetime
, last_edit_datetime
, bg_image_name
, bg_cadfile_name
, map_position_address
FROM TB_CANVAS_STATUS
WHERE object_no = #{objectNo}
<if test="userId != null and userId != ''">
@ -88,7 +88,7 @@
, canvas_status
, regist_datetime
, bg_image_name
, bg_cadfile_name)
, map_position_address)
VALUES ( #{userId}
, #{objectNo}
, #{imageName}