ads367 / yj_portal star
박정하 박정하 04-25
20240425 박정하 portal 수정
@ca71e1bcf130232166d930d321a346d0b7804965
.idea/jarRepositories.xml
--- .idea/jarRepositories.xml
+++ .idea/jarRepositories.xml
@@ -7,9 +7,9 @@
       <option name="url" value="https://repo.maven.apache.org/maven2" />
     </remote-repository>
     <remote-repository>
-      <option name="id" value="central" />
-      <option name="name" value="Maven Central repository" />
-      <option name="url" value="https://repo1.maven.org/maven2" />
+      <option name="id" value="egovframe" />
+      <option name="name" value="egovframe" />
+      <option name="url" value="https://maven.egovframe.go.kr/maven/" />
     </remote-repository>
     <remote-repository>
       <option name="id" value="mvn2s" />
@@ -17,9 +17,9 @@
       <option name="url" value="https://repo1.maven.org/maven2/" />
     </remote-repository>
     <remote-repository>
-      <option name="id" value="egovframe" />
-      <option name="name" value="egovframe" />
-      <option name="url" value="https://maven.egovframe.go.kr/maven/" />
+      <option name="id" value="central" />
+      <option name="name" value="Maven Central repository" />
+      <option name="url" value="https://repo1.maven.org/maven2" />
     </remote-repository>
     <remote-repository>
       <option name="id" value="jboss.community" />
src/main/java/com/takensoft/cms/mber/dao/MberDAO.java
--- src/main/java/com/takensoft/cms/mber/dao/MberDAO.java
+++ src/main/java/com/takensoft/cms/mber/dao/MberDAO.java
@@ -64,14 +64,28 @@
      * @since 2024.04.23
      * 회원정보 목록 조회 (관리자)
      */
-    List<MberVO> findByMng(Pagination pagination) throws Exception;
+    List<MberVO> findAllMng(Pagination pagination) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.04.23
+     * 회원정보 목록 조회 (사용자)
+     */
+    List<MberVO> findAllMbr(Pagination pagination) throws Exception;
 
     /**
      * @author 박정하
      * @since 2024.04.23
      * 회원정보 목록 조회 (관리자) 개수
      */
-    int findByMngCnt(Pagination pagination) throws Exception;
+    int findAllMngCnt(Pagination pagination) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.04.23
+     * 회원정보 목록 조회 (관리자) 개수
+     */
+    int findAllMbrCnt(Pagination pagination) throws Exception;
 
     /**
      * @author 박정하
src/main/java/com/takensoft/cms/mber/service/Impl/MberServiceImpl.java
--- src/main/java/com/takensoft/cms/mber/service/Impl/MberServiceImpl.java
+++ src/main/java/com/takensoft/cms/mber/service/Impl/MberServiceImpl.java
@@ -23,6 +23,7 @@
 import org.springframework.transaction.annotation.Transactional;
 
 import javax.servlet.http.HttpServletRequest;
+import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
@@ -146,15 +147,25 @@
     /**
      * @author 박정하
      * @since 2024.04.23
-     * 회원정보 목록 조회 (관리자)
+     * 회원정보 목록 조회
      */
     @Override
-    public Map<String, Object> findByMng(Map<String, String> params) throws Exception {
+    public Map<String, Object> findAll(Map<String, String> params) throws Exception {
         Map<String, Object> result = new HashMap<>();
         Pagination search = new Pagination(0, params);
-        int cnt = mberDAO.findByMngCnt(search);
+        int cnt = 0;
+        if (params.get("authrtCd").equals("ROLE_ADMIN")) {
+            cnt = mberDAO.findAllMngCnt(search);
+        } else if (params.get("authrtCd").equals("ROLE_USER")) {
+            cnt = mberDAO.findAllMbrCnt(search);
+        }
         Pagination pagination = new Pagination(cnt, params);
-        List<MberVO> list = mberDAO.findByMng(pagination);
+        List<MberVO> list = new ArrayList<>();
+        if (params.get("authrtCd").equals("ROLE_ADMIN")) {
+            list = mberDAO.findAllMng(pagination);
+        } else if (params.get("authrtCd").equals("ROLE_USER")) {
+            list = mberDAO.findAllMbr(pagination);
+        }
         // 휴대폰번호 복호화
         for (MberVO mberVO : list) {
             if (mberVO.getMblTelno() != null && !mberVO.getMblTelno().equals("")) {
src/main/java/com/takensoft/cms/mber/service/MberService.java
--- src/main/java/com/takensoft/cms/mber/service/MberService.java
+++ src/main/java/com/takensoft/cms/mber/service/MberService.java
@@ -39,9 +39,9 @@
     /**
      * @author 박정하
      * @since 2024.04.23
-     * 회원정보 목록 조회 (관리자)
+     * 회원정보 목록 조회
      */
-    public Map<String, Object> findByMng(Map<String, String> params) throws Exception;
+    public Map<String, Object> findAll(Map<String, String> params) throws Exception;
 
     /**
      * @author 박정하
src/main/java/com/takensoft/cms/mber/web/AdmMberController.java
--- src/main/java/com/takensoft/cms/mber/web/AdmMberController.java
+++ src/main/java/com/takensoft/cms/mber/web/AdmMberController.java
@@ -42,12 +42,12 @@
      * @return
      * @throws Exception
      *
-     * 회원정보 목록 조회 (관리자)
+     * 회원정보 목록 조회
      */
-    @PostMapping(value = "/findByMng.json")
-    public ResponseEntity<?> findByMng(@RequestBody Map<String, String> params) throws Exception {
+    @PostMapping(value = "/findAll.json")
+    public ResponseEntity<?> findAll(@RequestBody Map<String, String> params) throws Exception {
         // 회원정보 관련 정보 조회
-        Map<String, Object> result = mberService.findByMng(params);
+        Map<String, Object> result = mberService.findAll(params);
         // 응답 처리
         HttpHeaders headers = new HttpHeaders();
         headers.setContentType(new MediaType("application", "json", Charset.forName("UTF-8")));
src/main/java/com/takensoft/cms/mber/web/MberController.java
--- src/main/java/com/takensoft/cms/mber/web/MberController.java
+++ src/main/java/com/takensoft/cms/mber/web/MberController.java
@@ -152,27 +152,4 @@
             return new ResponseEntity<>(responseData, headers, HttpStatus.INTERNAL_SERVER_ERROR);
         }
     }
-
-    /**
-     * @author 박정하
-     * @since 2024.04.23
-     * @param params
-     * @return
-     * @throws Exception
-     *
-     * 회원정보 목록 조회 (관리자)
-     */
-    @PostMapping(value = "/findByMng.json")
-    public ResponseEntity<?> findByMng(@RequestBody Map<String, String> params) throws Exception {
-        // 회원정보 관련 정보 조회
-        Map<String, Object> result = mberService.findByMng(params);
-        // 응답 처리
-        HttpHeaders headers = new HttpHeaders();
-        headers.setContentType(new MediaType("application", "json", Charset.forName("UTF-8")));
-        ResponseData responseData = new ResponseData();
-        responseData.setStatus(HttpStatus.OK);
-        responseData.setMessage("정상적으로 회원정보(관리자) 목록 조회가 처리되었습니다.");
-        responseData.setData(result);
-        return new ResponseEntity<>(responseData, headers, HttpStatus.OK);
-    }
 }
src/main/java/com/takensoft/common/excel/ExcelHeader.java
--- src/main/java/com/takensoft/common/excel/ExcelHeader.java
+++ src/main/java/com/takensoft/common/excel/ExcelHeader.java
@@ -9,10 +9,10 @@
     // 가업정보
     private LinkedHashMap<String, String> entInfoDefaultHeader = new LinkedHashMap<>();
     private LinkedHashMap<String, String> entInfoDetailHeader = new LinkedHashMap<>();
-    private LinkedHashMap<String, String> entInfoFnlttHeader = new LinkedHashMap<>();
+    private LinkedHashMap<String, String> entInfoFnstmHeader = new LinkedHashMap<>();
 
     // 투자상담
-    private LinkedHashMap<String, String> invtDscsnHeader = new LinkedHashMap<>();
+    private LinkedHashMap<String, String> ivstDscsnHeader = new LinkedHashMap<>();
 
     // 검토사항
     private LinkedHashMap<String, String> rvwMttrHeader = new LinkedHashMap<>();
@@ -30,27 +30,27 @@
 
         // 기업정보 - 세부정보
         this.entInfoDetailHeader.put("mvnInten", "입주의향");
-        this.entInfoDetailHeader.put("invtInten", "투자의향");
+        this.entInfoDetailHeader.put("ivstInten", "투자의향");
         this.entInfoDetailHeader.put("mouInten", "MOU의향");
-        this.entInfoDetailHeader.put("invtDscsnInten", "투자상담의향");
+        this.entInfoDetailHeader.put("ivstDscsnInten", "투자상담의향");
 
         // 기업정보 - 재무제표
-        this.entInfoFnlttHeader.put("yr", "연도");
-        this.entInfoFnlttHeader.put("slsAmt", "매출액");
-        this.entInfoFnlttHeader.put("bsnPrfts", "영업이익");
-        this.entInfoFnlttHeader.put("netIncome", "당기순이익");
+        this.entInfoFnstmHeader.put("yr", "연도");
+        this.entInfoFnstmHeader.put("slsAmt", "매출액");
+        this.entInfoFnstmHeader.put("salsPrf", "영업이익");
+        this.entInfoFnstmHeader.put("thtmNetpf", "당기순이익");
 
         // 투자상담 - 세부정보
-        this.invtDscsnHeader.put("ttl", "제목");
-        this.invtDscsnHeader.put("dt", "일시");
-        this.invtDscsnHeader.put("plc", "장소");
-        this.invtDscsnHeader.put("prtpnt", "참석자");
-        this.invtDscsnHeader.put("dscsnPbsvnt", "상담공무원");
-        this.invtDscsnHeader.put("mainCn", "주요내용");
-        this.invtDscsnHeader.put("mvnInten", "입주의향");
-        this.invtDscsnHeader.put("invtInten", "투자의향");
-        this.invtDscsnHeader.put("mouInten", "MOU의향");
-        this.invtDscsnHeader.put("invtDscsnInten", "투자상담의향");
+        this.ivstDscsnHeader.put("ttl", "제목");
+        this.ivstDscsnHeader.put("dt", "일시");
+        this.ivstDscsnHeader.put("plc", "장소");
+        this.ivstDscsnHeader.put("prtpnt", "참석자");
+        this.ivstDscsnHeader.put("dscsnPbofc", "상담공무원");
+        this.ivstDscsnHeader.put("mainCn", "주요내용");
+        this.ivstDscsnHeader.put("mvnInten", "입주의향");
+        this.ivstDscsnHeader.put("ivstInten", "투자의향");
+        this.ivstDscsnHeader.put("mouInten", "MOU의향");
+        this.ivstDscsnHeader.put("ivstDscsnInten", "투자상담의향");
 
         // 검토사항 - 기본정보
         this.rvwMttrHeader.put("entNm", "기업명");
src/main/java/com/takensoft/common/excel/ExcelUtils.java
--- src/main/java/com/takensoft/common/excel/ExcelUtils.java
+++ src/main/java/com/takensoft/common/excel/ExcelUtils.java
@@ -183,7 +183,7 @@
                     } else if (data.get(i).get(key).toString().equals("P")) {
                         cell.setCellValue("애로사항");
                     }
-                } else if (key.equals("mvnInten") || key.equals("invtInten") || key.equals("mouInten") || key.equals("invtDscsnInten")){
+                } else if (key.equals("mvnInten") || key.equals("ivstInten") || key.equals("mouInten") || key.equals("ivstDscsnInten")){
                     if (data.get(i).get(key).toString().equals("0")) {
                         cell.setCellValue("의향없음");
                     } else if (data.get(i).get(key).toString().equals("1")) {
@@ -268,7 +268,7 @@
      *
      * 기업정보 엑셀 설정
      */
-    public void entInfoDraw(List<HashMap<String, Object>> entInfoList, List<HashMap<String, Object>> invtDscsnList, List<HashMap<String, Object>> FnlttList, String imageData) throws IllegalAccessException, IOException {
+    public void entInfoDraw(List<HashMap<String, Object>> entInfoList, List<HashMap<String, Object>> ivstDscsnList, List<HashMap<String, Object>> FnstmList, String imageData) throws IllegalAccessException, IOException {
         try {
             Sheet sheet = this.workbook.createSheet("Sheet");
 
@@ -278,8 +278,8 @@
             // 헤더 정보
             ExcelHeader excelHeader = new ExcelHeader();
             LinkedHashMap<String, String> entInfoHeader = excelHeader.getEntInfoDefaultHeader();
-            LinkedHashMap<String, String> invtDscsnHeader = excelHeader.getEntInfoDetailHeader();
-            LinkedHashMap<String, String> fnlttHeader = excelHeader.getEntInfoFnlttHeader();
+            LinkedHashMap<String, String> ivstDscsnHeader = excelHeader.getEntInfoDetailHeader();
+            LinkedHashMap<String, String> fnstmHeader = excelHeader.getEntInfoFnstmHeader();
 
             // 기업정보
             rowNum = vertical(sheet, rowNum, entInfoHeader, entInfoList);
@@ -292,11 +292,11 @@
 
             cell = row.createCell(1);
 
-            if (invtDscsnHeader.get(0) != null) {
+            if (ivstDscsnHeader.get(0) != null) {
                 cell.setCellValue("Y");
                 rowNum++;
 
-                rowNum = vertical(sheet, rowNum, invtDscsnHeader, invtDscsnList);
+                rowNum = vertical(sheet, rowNum, ivstDscsnHeader, ivstDscsnList);
             } else {
                 cell.setCellValue("N");
                 rowNum++;
@@ -307,7 +307,7 @@
             }
 
             // 재무제표
-            rowNum = vertical(sheet, rowNum, fnlttHeader, FnlttList);
+            rowNum = vertical(sheet, rowNum, fnstmHeader, FnstmList);
 
             // 재무제표 차트
             chartDraw(sheet, imageData, rowNum);
@@ -316,8 +316,8 @@
             ((SXSSFSheet) sheet).flushRows(MAX_ROW);
 
             entInfoList.clear();
-            invtDscsnList.clear();
-            FnlttList.clear();
+            ivstDscsnList.clear();
+            FnstmList.clear();
         } catch (IOException | IllegalAccessException e) {
             throw new RuntimeException(e);
         }
src/main/java/com/takensoft/common/file/service/Impl/FileServiceImpl.java
--- src/main/java/com/takensoft/common/file/service/Impl/FileServiceImpl.java
+++ src/main/java/com/takensoft/common/file/service/Impl/FileServiceImpl.java
@@ -47,7 +47,7 @@
             String extsn = StringUtils.getFilenameExtension(fileName); // 확장자
             String mg = Long.toString(file.getSize()); // 크기
             String absltPath = makeDirectories(uploadPath) + File.separator + maskNm + "." + extsn; // 절대경로
-            String prttnPath = File.separator + maskNm + "." + extsn; // 일부경로
+            String partPath = File.separator + maskNm + "." + extsn; // 일부경로
 
             // FileVO 생성
             FileVO fileVO = new FileVO();
@@ -56,7 +56,7 @@
             fileVO.setMaskNm(maskNm); // 마스크명
             // 파일타입 추후에 추가
             fileVO.setAbsltPath(absltPath); // 절대경로
-            fileVO.setPrttnPath(prttnPath); // 일부경로
+            fileVO.setPartPath(partPath); // 일부경로
             fileVO.setExtnNm(extsn); // 확장자
             fileVO.setFileSz(mg); // 크기
             // 등록자 생성
src/main/java/com/takensoft/common/file/vo/FileVO.java
--- src/main/java/com/takensoft/common/file/vo/FileVO.java
+++ src/main/java/com/takensoft/common/file/vo/FileVO.java
@@ -10,7 +10,7 @@
     private String maskNm; // 마스크명
     private String fileType; // 파일타입
     private String absltPath; // 절대경로
-    private String prttnPath; // 일부경로
+    private String partPath; // 일부경로
     private String extnNm; // 확장자
     private String fileSz; // 크기
     private String rgtr; // 등록자
src/main/java/com/takensoft/common/idgen/context/ContextIdgen.java
--- src/main/java/com/takensoft/common/idgen/context/ContextIdgen.java
+++ src/main/java/com/takensoft/common/idgen/context/ContextIdgen.java
@@ -29,13 +29,13 @@
     }
 
     // 투자상담
-    @Bean(name = "invtDscsnIdgn")
-    public IdgenService invtDscsn() {
+    @Bean(name = "ivstDscsnIdgn")
+    public IdgenService ivstDscsn() {
         IdgenService idgenServiceImpl = new IdgenService();
         idgenServiceImpl.setCipers(15);
         idgenServiceImpl.setFillChar('0');
-        idgenServiceImpl.setPrefix("INVT_DSCSN_");
-        idgenServiceImpl.setTblNm("INVT_DSCSN_ID");
+        idgenServiceImpl.setPrefix("IVST_DSCSN_");
+        idgenServiceImpl.setTblNm("IVST_DSCSN_ID");
         return idgenServiceImpl;
     }
 
src/main/java/com/takensoft/portal/entDscsnAply/dao/EntDscsnAplyDAO.java
--- src/main/java/com/takensoft/portal/entDscsnAply/dao/EntDscsnAplyDAO.java
+++ src/main/java/com/takensoft/portal/entDscsnAply/dao/EntDscsnAplyDAO.java
@@ -60,5 +60,5 @@
      *
      * 기업상담신청 1시간 이내 동일 아이피 등록 개수
      */
-    public HashMap<String, Object> entDscsnAplyCountByOneHourWriteSameIp(EntDscsnAplyVO entDscsnAplyVO) throws Exception;
+    public HashMap<String, Object> entDscsnAplyCountByOneHourWriteSameIp(String params) throws Exception;
 }
(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/entDscsnAply/service/EntDscsnAplyService.java
--- src/main/java/com/takensoft/portal/entDscsnAply/service/EntDscsnAplyService.java
+++ src/main/java/com/takensoft/portal/entDscsnAply/service/EntDscsnAplyService.java
@@ -45,12 +45,4 @@
      * 기업상담신청 수정
      */
     public int entDscsnAplyUpdate(EntDscsnAplyVO entDscsnAplyVO) throws Exception;
-
-    /**
-     * @author 박정하
-     * @since 2024.04.04
-     *
-     * 기업상담신청 1시간 이내 동일 아이피 등록 개수
-     */
-    public HashMap<String, Object> entDscsnAplyCountByOneHourWriteSameIp(EntDscsnAplyVO entDscsnAplyVO) throws Exception;
 }
(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/entDscsnAply/service/Impl/EntDscsnAplyServiceImpl.java
--- src/main/java/com/takensoft/portal/entDscsnAply/service/Impl/EntDscsnAplyServiceImpl.java
+++ src/main/java/com/takensoft/portal/entDscsnAply/service/Impl/EntDscsnAplyServiceImpl.java
@@ -53,10 +53,10 @@
         entDscsnAplyVO.setAplcntIp(ipAddress);
 
         // 아이피 검사
-        HashMap<String, Object> entDscsnAplyCount = entDscsnAplyCountByOneHourWriteSameIp(entDscsnAplyVO);
-        if (Integer.parseInt((String.valueOf(entDscsnAplyCount.get("writeCount")))) > 2) {
-            result.put("writeCount", entDscsnAplyCount.get("writeCount"));
-            result.put("lastDatetime", entDscsnAplyCount.get("lastDatetime"));
+        HashMap<String, Object> entDscsnAplyCount = entDscsnAplyDAO.entDscsnAplyCountByOneHourWriteSameIp(ipAddress);
+        if (Integer.parseInt((String.valueOf(entDscsnAplyCount.get("writecount")))) > 2) {
+            result.put("writeCount", entDscsnAplyCount.get("writecount"));
+            result.put("lastDatetime", entDscsnAplyCount.get("lastdatetime"));
             return result;
         }
 
@@ -122,15 +122,5 @@
     @Override
     public int entDscsnAplyUpdate(EntDscsnAplyVO entDscsnAplyVO) throws Exception {
         return entDscsnAplyDAO.entDscsnAplyUpdate(entDscsnAplyVO);
-    }
-
-    /**
-     * @author 박정하
-     * @since 2024.04.04
-     *
-     * 기업상담신청 1시간 이내 동일 아이피 등록 개수
-     */
-    public HashMap<String, Object> entDscsnAplyCountByOneHourWriteSameIp(EntDscsnAplyVO entDscsnAplyVO) throws Exception {
-        return entDscsnAplyDAO.entDscsnAplyCountByOneHourWriteSameIp(entDscsnAplyVO);
     }
 }
(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/entDscsnAply/web/EntDscsnAplyController.java
--- src/main/java/com/takensoft/portal/entDscsnAply/web/EntDscsnAplyController.java
+++ src/main/java/com/takensoft/portal/entDscsnAply/web/EntDscsnAplyController.java
@@ -39,7 +39,7 @@
      * 기업상담신청 등록
      */
     @PostMapping(path = "/company/entDscsnAplyInsert.file")
-    public ResponseEntity<?> invtDscsnInsert(@RequestPart EntDscsnAplyVO entDscsnAplyVO, List<MultipartFile> multipartFile, HttpServletRequest req) throws Exception {
+    public ResponseEntity<?> ivstDscsnInsert(@RequestPart EntDscsnAplyVO entDscsnAplyVO, List<MultipartFile> multipartFile, HttpServletRequest req) throws Exception {
         // 기업상담신청 등록
         HashMap<String, Object> result = entDscsnAplyService.entDscsnAplyInsert(entDscsnAplyVO, multipartFile, req);
 
@@ -54,7 +54,7 @@
         } else {
             if (result.containsKey("writeCount") && result.containsKey("lastDatetime")) {
                 responseData.setStatus(HttpStatus.TOO_MANY_REQUESTS);
-                responseData.setMessage("주어진 시간 동안 너무 많은 문의를 등록했습니다. " + result.get("writeCount") + "분 후에 재시도하세요.");
+                responseData.setMessage("주어진 시간 동안 너무 많은 문의를 등록했습니다. " + result.get("lastDatetime") + " 후에 재시도하세요.");
                 return new ResponseEntity<>(responseData, headers, HttpStatus.TOO_MANY_REQUESTS);
             } else {
                 responseData.setStatus(HttpStatus.INTERNAL_SERVER_ERROR);
 
src/main/java/com/takensoft/portal/entInfo/dao/FnlttDAO.java (deleted)
--- src/main/java/com/takensoft/portal/entInfo/dao/FnlttDAO.java
@@ -1,38 +0,0 @@
-package com.takensoft.portal.entInfo.dao;
-
-import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
-
-import java.util.*;
-
-/**
- * @author  : 박정하
- * @since   : 2024.03.20
- *
- * 재무제표 관련 Mapper
- */
-@Mapper("fnlttDAO")
-public interface FnlttDAO {
-    /**
-     * @author 박정하
-     * @since 2024.04.12
-     *
-     * 재무제표 업설트
-     */
-    public int fnlttUpsert(HashMap<String, Object> params) throws Exception;
-
-    /**
-     * @author 박정하
-     * @since 2024.03.21
-     *
-     * 재무제표 목록 조회
-     */
-    public List<HashMap<String, Object>> fnlttSelectList(HashMap<String, Object> params) throws Exception;
-
-    /**
-     * @author 박정하
-     * @since 2024.03.22
-     *
-     * 재무제표 삭제
-     */
-    public int fnlttDelete(HashMap<String, Object> params) throws Exception;
-}(파일 끝에 줄바꿈 문자 없음)
 
src/main/java/com/takensoft/portal/entInfo/dao/FnstmDAO.java (added)
+++ src/main/java/com/takensoft/portal/entInfo/dao/FnstmDAO.java
@@ -0,0 +1,46 @@
+package com.takensoft.portal.entInfo.dao;
+
+import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
+
+import java.util.*;
+
+/**
+ * @author  : 박정하
+ * @since   : 2024.03.20
+ *
+ * 재무제표 관련 Mapper
+ */
+@Mapper("fnstmDAO")
+public interface FnstmDAO {
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 재무제표 등록
+     */
+    public int fnstmInsert(HashMap<String, Object> params) throws Exception;
+    
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 재무제표 수정
+     */
+    public int fnstmUpdate(HashMap<String, Object> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.03.21
+     *
+     * 재무제표 목록 조회
+     */
+    public List<HashMap<String, Object>> fnstmSelectList(HashMap<String, Object> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.03.22
+     *
+     * 재무제표 삭제
+     */
+    public int fnstmDelete(HashMap<String, Object> params) throws Exception;
+}(파일 끝에 줄바꿈 문자 없음)
 
src/main/java/com/takensoft/portal/entInfo/service/FnlttService.java (deleted)
--- src/main/java/com/takensoft/portal/entInfo/service/FnlttService.java
@@ -1,35 +0,0 @@
-package com.takensoft.portal.entInfo.service;
-
-import java.util.*;
-
-/**
- * @author  : 박정하
- * @since   : 2024.03.20
- *
- * 재무제표 관련 인터페이스
- */
-public interface FnlttService {
-    /**
-     * @author 박정하
-     * @since 2024.04.12
-     *
-     * 재무제표 업설트
-     */
-    public int fnlttUpsert(HashMap<String, Object> params) throws Exception;
-
-    /**
-     * @author 박정하
-     * @since 2024.03.21
-     *
-     * 재무제표 목록 조회
-     */
-    public List<HashMap<String, Object>> fnlttSelectList(HashMap<String, Object> params) throws Exception;
-
-    /**
-     * @author 박정하
-     * @since 2024.03.22
-     *
-     * 재무제표 삭제
-     */
-    public int fnlttDelete(HashMap<String, Object> params) throws Exception;
-}(파일 끝에 줄바꿈 문자 없음)
 
src/main/java/com/takensoft/portal/entInfo/service/FnstmService.java (added)
+++ src/main/java/com/takensoft/portal/entInfo/service/FnstmService.java
@@ -0,0 +1,43 @@
+package com.takensoft.portal.entInfo.service;
+
+import java.util.*;
+
+/**
+ * @author  : 박정하
+ * @since   : 2024.03.20
+ *
+ * 재무제표 관련 인터페이스
+ */
+public interface FnstmService {
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 재무제표 등록
+     */
+    public int fnstmInsert(HashMap<String, Object> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 재무제표 수정
+     */
+    public int fnstmUpdate(List<HashMap<String, Object>> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.03.21
+     *
+     * 재무제표 목록 조회
+     */
+    public List<HashMap<String, Object>> fnstmSelectList(HashMap<String, Object> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.03.22
+     *
+     * 재무제표 삭제
+     */
+    public int fnstmDelete(HashMap<String, Object> params) throws Exception;
+}(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/entInfo/service/Impl/EntInfoServiceImpl.java
--- src/main/java/com/takensoft/portal/entInfo/service/Impl/EntInfoServiceImpl.java
+++ src/main/java/com/takensoft/portal/entInfo/service/Impl/EntInfoServiceImpl.java
@@ -5,8 +5,8 @@
 import com.takensoft.common.util.JWTUtil;
 import com.takensoft.portal.entInfo.dao.EntInfoDAO;
 import com.takensoft.portal.entInfo.service.EntInfoService;
-import com.takensoft.portal.entInfo.service.FnlttService;
-import com.takensoft.portal.invtDscsn.service.InvtDscsnService;
+import com.takensoft.portal.entInfo.service.FnstmService;
+import com.takensoft.portal.ivstDscsn.service.IvstDscsnService;
 import lombok.RequiredArgsConstructor;
 import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
 import org.springframework.stereotype.Service;
@@ -29,8 +29,8 @@
 public class EntInfoServiceImpl extends EgovAbstractServiceImpl implements EntInfoService {
     private final EntInfoDAO entInfoDAO;
     private final IdgenService entInfoIdgn;
-    private final FnlttService fnlttService;
-    private final InvtDscsnService invtDscsnService;
+    private final FnstmService fnstmService;
+    private final IvstDscsnService ivstDscsnService;
     private final JWTUtil jwtUtil;
 
     /**
@@ -53,23 +53,23 @@
         HashMap<String, Object> result = new HashMap<>();
 
         // 재무제표 등록
-        int fnlttResult = 0;
-        List<HashMap<String, Object>> fnlttList = (List<HashMap<String, Object>>) params.get("fnlttList");
-        if (fnlttList.size() > 0 && fnlttList.get(0).get("yr") != null) {
-            for (HashMap<String, Object> fnltt : fnlttList) {
+        int fnstmResult = 0;
+        List<HashMap<String, Object>> fnstmList = (List<HashMap<String, Object>>) params.get("fnstmList");
+        if (fnstmList.size() > 0 && fnstmList.get(0).get("yr") != null) {
+            for (HashMap<String, Object> fnstm : fnstmList) {
                 try {
                     // 기업 아이디 추가
-                    fnltt.put("entId", entId);
+                    fnstm.put("entId", entId);
 
                     // 작성자 생성
-                    fnltt.put("rgtr", writer);
+                    fnstm.put("rgtr", writer);
 
-                    fnltt.compute("slsAmt", (k, slsAmt) -> Integer.parseInt(slsAmt.toString()));
-                    fnltt.compute("bsnPrfts", (k, bsnPrfts) -> Integer.parseInt(bsnPrfts.toString()));
-                    fnltt.compute("netIncome", (k, netIncome) -> Integer.parseInt(netIncome.toString()));
+                    fnstm.compute("slsAmt", (k, slsAmt) -> Integer.parseInt(slsAmt.toString()));
+                    fnstm.compute("salsPrf", (k, salsPrf) -> Integer.parseInt(salsPrf.toString()));
+                    fnstm.compute("thtmNetpf", (k, thtmNetpf) -> Integer.parseInt(thtmNetpf.toString()));
 
                     // DB 등록
-                    fnlttResult += fnlttService.fnlttUpsert(fnltt);
+                    fnstmResult += fnstmService.fnstmInsert(fnstm);
                 } catch (Exception e) {
                     e.printStackTrace();
                     return result;
@@ -80,7 +80,7 @@
         // 기업정보 등록
         int entInfoResult = entInfoDAO.entInfoInsert(params);
         result.put("entId", entId);
-        result.put("result", fnlttResult + entInfoResult);
+        result.put("result", fnstmResult + entInfoResult);
 
         return result;
     }
@@ -152,30 +152,14 @@
         String writer = jwtUtil.getWriter();
         params.put("mdfr", writer);
 
-        // 재무제표 등록
-        List<HashMap<String, Object>> fnlttList = (List<HashMap<String, Object>>) params.get("fnlttList");
-        if (fnlttList.size() > 0 && fnlttList.get(0).get("yr") != null) {
-            for (HashMap<String, Object> fnltt : fnlttList) {
-                try {
-                    // 작성자 생성
-                    if (fnltt.get("rgtr") == null) {
-                        fnltt.put("rgtr", writer);
-                    }
-
-                    // 수정자 생성
-                    fnltt.put("mdfr", writer);
-
-                    fnltt.compute("slsAmt", (k, slsAmt) -> Integer.parseInt(slsAmt.toString()));
-                    fnltt.compute("bsnPrfts", (k, bsnPrfts) -> Integer.parseInt(bsnPrfts.toString()));
-                    fnltt.compute("netIncome", (k, netIncome) -> Integer.parseInt(netIncome.toString()));
-
-                    // DB 등록
-                    result += fnlttService.fnlttUpsert(fnltt);
-                } catch (Exception e) {
-                    e.printStackTrace();
-                    return result;
-                }
-            }
+        // 재무제표 수정
+        List<HashMap<String, Object>> fnstmList = (List<HashMap<String, Object>>) params.get("fnstmList");
+        try {
+            // DB 등록
+            result += fnstmService.fnstmUpdate(fnstmList);
+        } catch (Exception e) {
+            e.printStackTrace();
+            return result;
         }
 
         // 기업정보 수정
@@ -200,14 +184,14 @@
         params.put("mdfr", writer);
 
         // 재무제표 삭제
-        List<HashMap<String, Object>> fnlttList = fnlttService.fnlttSelectList(params);
-        if (!fnlttList.isEmpty()) {
-            for (HashMap<String, Object> fnltt : fnlttList) {
+        List<HashMap<String, Object>> fnstmList = fnstmService.fnstmSelectList(params);
+        if (!fnstmList.isEmpty()) {
+            for (HashMap<String, Object> fnstm : fnstmList) {
                 try {
-                    fnltt.put("mdfr", writer);
+                    fnstm.put("mdfr", writer);
 
                     // DB 등록
-                    result += fnlttService.fnlttDelete(fnltt);
+                    result += fnstmService.fnstmDelete(fnstm);
                 } catch (Exception e) {
                     e.printStackTrace();
                     return result;
@@ -221,11 +205,11 @@
             newParams.put("isAllList", "yes");
             newParams.put("searchType", "ent_id");
             newParams.put("searchText", params.get("entId").toString());
-            Map<String, Object> invtDscsnSelectList = invtDscsnService.invtDscsnSelectList(newParams);
-            List<HashMap<String, Object>> invtDscsnList = (List<HashMap<String, Object>>) invtDscsnSelectList.get("list");
-            if (!invtDscsnList.isEmpty()) {
-                for (HashMap<String, Object> invtDscsn : invtDscsnList) {
-                    result += invtDscsnService.invtDscsnDelete(invtDscsn);
+            Map<String, Object> ivstDscsnSelectList = ivstDscsnService.ivstDscsnSelectList(newParams);
+            List<HashMap<String, Object>> ivstDscsnList = (List<HashMap<String, Object>>) ivstDscsnSelectList.get("list");
+            if (!ivstDscsnList.isEmpty()) {
+                for (HashMap<String, Object> ivstDscsn : ivstDscsnList) {
+                    result += ivstDscsnService.ivstDscsnDelete(ivstDscsn);
                 }
             }
         } catch (IOException e) {
 
src/main/java/com/takensoft/portal/entInfo/service/Impl/FnlttServiceImpl.java (deleted)
--- src/main/java/com/takensoft/portal/entInfo/service/Impl/FnlttServiceImpl.java
@@ -1,56 +0,0 @@
-package com.takensoft.portal.entInfo.service.Impl;
-
-import com.takensoft.portal.entInfo.dao.FnlttDAO;
-import com.takensoft.portal.entInfo.service.FnlttService;
-import lombok.RequiredArgsConstructor;
-import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
-import org.springframework.stereotype.Service;
-
-import java.util.*;
-
-/**
- * @author  : 박정하
- * @since   : 2024.03.20
- *
- * 재무제표 관련 구현체
- * EgovAbstractServiceImpl : 전자정부 상속
- * FnlttService : 재무제표 인터페이스 상속
- */
-@Service("FnlttService")
-@RequiredArgsConstructor
-public class FnlttServiceImpl extends EgovAbstractServiceImpl implements FnlttService {
-    private final FnlttDAO fnlttDAO;
-
-    /**
-     * @author 박정하
-     * @since 2024.04.12
-     *
-     * 재무제표 업설트
-     */
-    @Override
-    public int fnlttUpsert(HashMap<String, Object> params) throws Exception {
-        return fnlttDAO.fnlttUpsert(params);
-    }
-
-    /**
-     * @author 박정하
-     * @since 2024.03.21
-     *
-     * 재무제표 목록 조회
-     */
-    @Override
-    public List<HashMap<String, Object>> fnlttSelectList(HashMap<String, Object> params) throws Exception {
-        return fnlttDAO.fnlttSelectList(params);
-    }
-
-    /**
-     * @author 박정하
-     * @since 2024.03.22
-     *
-     * 재무제표 삭제
-     */
-    @Override
-    public int fnlttDelete(HashMap<String, Object> params) throws Exception {
-        return fnlttDAO.fnlttDelete(params);
-    }
-}(파일 끝에 줄바꿈 문자 없음)
 
src/main/java/com/takensoft/portal/entInfo/service/Impl/FnstmServiceImpl.java (added)
+++ src/main/java/com/takensoft/portal/entInfo/service/Impl/FnstmServiceImpl.java
@@ -0,0 +1,86 @@
+package com.takensoft.portal.entInfo.service.Impl;
+
+import com.takensoft.common.util.JWTUtil;
+import com.takensoft.portal.entInfo.dao.FnstmDAO;
+import com.takensoft.portal.entInfo.service.FnstmService;
+import lombok.RequiredArgsConstructor;
+import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
+import org.springframework.stereotype.Service;
+
+import java.util.*;
+
+/**
+ * @author  : 박정하
+ * @since   : 2024.03.20
+ *
+ * 재무제표 관련 구현체
+ * EgovAbstractServiceImpl : 전자정부 상속
+ * FnstmService : 재무제표 인터페이스 상속
+ */
+@Service("fnstmService")
+@RequiredArgsConstructor
+public class FnstmServiceImpl extends EgovAbstractServiceImpl implements FnstmService {
+    private final FnstmDAO fnstmDAO;
+    private final JWTUtil jwtUtil;
+
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 재무제표 등록
+     */
+    public int fnstmInsert(HashMap<String, Object> params) throws Exception {
+        return fnstmDAO.fnstmInsert(params);
+    }
+
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 재무제표 수정
+     */
+    public int fnstmUpdate(List<HashMap<String, Object>> params) throws Exception {
+        int result = 0;
+
+        for (HashMap<String, Object> param : params) {
+            String yr = param.get("yr").toString();
+            if (yr != null) { // 연도가 있을 때만 진행
+                String writer = jwtUtil.getWriter();
+                param.compute("slsAmt", (k, slsAmt) -> Integer.parseInt(slsAmt.toString()));
+                param.compute("salsPrf", (k, salsPrf) -> Integer.parseInt(salsPrf.toString()));
+                param.compute("thtmNetpf", (k, thtmNetpf) -> Integer.parseInt(thtmNetpf.toString()));
+                if (param.get("fnstmId") != null) { // 재무제표 아이디가 있는 경우 (수정)
+                    param.put("mdfr", writer);
+                    result += fnstmDAO.fnstmUpdate(param);
+                }  else { // 재무제표 아이디가 없는 경우 (추가)
+                    param.put("rgtr", writer);
+                    result +=  fnstmDAO.fnstmInsert(param);
+                }
+            }
+        }
+
+        return result;
+    }
+
+    /**
+     * @author 박정하
+     * @since 2024.03.21
+     *
+     * 재무제표 목록 조회
+     */
+    @Override
+    public List<HashMap<String, Object>> fnstmSelectList(HashMap<String, Object> params) throws Exception {
+        return fnstmDAO.fnstmSelectList(params);
+    }
+
+    /**
+     * @author 박정하
+     * @since 2024.03.22
+     *
+     * 재무제표 삭제
+     */
+    @Override
+    public int fnstmDelete(HashMap<String, Object> params) throws Exception {
+        return fnstmDAO.fnstmDelete(params);
+    }
+}(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/entInfo/vo/FnstmVO.java (Renamed from src/main/java/com/takensoft/portal/entInfo/vo/FnlttVO.java)
--- src/main/java/com/takensoft/portal/entInfo/vo/FnlttVO.java
+++ src/main/java/com/takensoft/portal/entInfo/vo/FnstmVO.java
@@ -9,13 +9,13 @@
  * 재무제표 관련 VO
  */
 @Data
-public class FnlttVO {
-    private int fnlttId;    // 재무제표 아이디
+public class FnstmVO {
+    private int fnstmId;    // 재무제표 아이디
     private String entId;   // 기업 아이디
     private String yr;      // 연도
     private int slsAmt;     // 매출액
-    private int bsnPrfts;   // 영업이익
-    private int netIncome;  // 당기순이익
+    private int salsPrf;   // 영업이익
+    private int thtmNetpf;  // 당기순이익
     private String useYn;   // 사용여부
     private String rgtr;    // 등록자
     private String regDt;   // 등록일
src/main/java/com/takensoft/portal/entInfo/web/EntInfoController.java
--- src/main/java/com/takensoft/portal/entInfo/web/EntInfoController.java
+++ src/main/java/com/takensoft/portal/entInfo/web/EntInfoController.java
@@ -1,11 +1,10 @@
 package com.takensoft.portal.entInfo.web;
 
 import com.takensoft.common.excel.ExcelUtils;
-import com.takensoft.common.Pagination;
 import com.takensoft.common.util.ResponseData;
 import com.takensoft.portal.entInfo.service.EntInfoService;
-import com.takensoft.portal.entInfo.service.FnlttService;
-import com.takensoft.portal.invtDscsn.service.InvtDscsnService;
+import com.takensoft.portal.entInfo.service.FnstmService;
+import com.takensoft.portal.ivstDscsn.service.IvstDscsnService;
 import lombok.RequiredArgsConstructor;
 import org.springframework.http.HttpHeaders;
 import org.springframework.http.HttpStatus;
@@ -28,8 +27,8 @@
 @RequiredArgsConstructor
 public class EntInfoController {
     private final EntInfoService entInfoService;
-    private final FnlttService fnlttService;
-    private final InvtDscsnService invtDscsnService;
+    private final FnstmService fnstmService;
+    private final IvstDscsnService ivstDscsnService;
 
     /**
      * @author 박정하
@@ -109,8 +108,8 @@
         // 상세 조회
         HashMap<String, Object> result = new HashMap<>();
         result.put("entInfo", entInfoService.entInfoSelectOne(params));
-        result.put("invtDscsn", invtDscsnService.invtDscsnSelectOneByNew(params));
-        result.put("fnlttList", fnlttService.fnlttSelectList(params));
+        result.put("ivstDscsn", ivstDscsnService.ivstDscsnSelectOneByNew(params));
+        result.put("fnstmList", fnstmService.fnstmSelectList(params));
         
         // 응답 처리
         HttpHeaders headers = new HttpHeaders();
@@ -206,14 +205,14 @@
         entInfoList.add(entInfoService.entInfoSelectOne(params));
 
         // 세부정보
-        List<HashMap<String, Object>> invtDscsnList = new ArrayList<>();
-        invtDscsnList.add(invtDscsnService.invtDscsnSelectOneByNew(params));
+        List<HashMap<String, Object>> ivstDscsnList = new ArrayList<>();
+        ivstDscsnList.add(ivstDscsnService.ivstDscsnSelectOneByNew(params));
 
         // 재무제표
-        List<HashMap<String, Object>> FnlttList = fnlttService.fnlttSelectList(params);
+        List<HashMap<String, Object>> FnstmList = fnstmService.fnstmSelectList(params);
 
         // 엑셀 import
-        excelUtils.entInfoDraw(entInfoList, invtDscsnList, FnlttList, params.get("imageData").toString());
+        excelUtils.entInfoDraw(entInfoList, ivstDscsnList, FnstmList, params.get("imageData").toString());
         
         // 엑셀 다운로드
         excelUtils.download("download");
src/main/java/com/takensoft/portal/ivstDscsn/dao/IvstDscsnDAO.java (Renamed from src/main/java/com/takensoft/portal/invtDscsn/dao/InvtDscsnDAO.java)
--- src/main/java/com/takensoft/portal/invtDscsn/dao/InvtDscsnDAO.java
+++ src/main/java/com/takensoft/portal/ivstDscsn/dao/IvstDscsnDAO.java
@@ -1,4 +1,4 @@
-package com.takensoft.portal.invtDscsn.dao;
+package com.takensoft.portal.ivstDscsn.dao;
 
 import com.takensoft.common.Pagination;
 import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
@@ -11,15 +11,15 @@
  *
  * 투자상담 관련 Mapper
  */
-@Mapper("invtDscsnDAO")
-public interface InvtDscsnDAO {
+@Mapper("ivstDscsnDAO")
+public interface IvstDscsnDAO {
     /**
      * @author 박정하
      * @since 2024.03.26
      *
      * 투자상담 등록
      */
-    public int invtDscsnInsert(HashMap<String, Object> params) throws Exception;
+    public int ivstDscsnInsert(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
@@ -27,7 +27,7 @@
      *
      * 투자상담 목록 조회
      */
-    public List<HashMap<String, Object>> invtDscsnSelectList(Pagination pagination) throws Exception;
+    public List<HashMap<String, Object>> ivstDscsnSelectList(Pagination pagination) throws Exception;
 
     /**
      * @author 박정하
@@ -35,7 +35,7 @@
      *
      * 투자상담 목록 총 개수 조회
      */
-    public int invtDscsnSelectListCount(Pagination pagination) throws Exception;
+    public int ivstDscsnSelectListCount(Pagination pagination) throws Exception;
 
     /**
      * @author 박정하
@@ -43,7 +43,7 @@
      *
      * 투자상담 상세 조회
      */
-    public HashMap<String, Object> invtDscsnSelectOne(HashMap<String, Object> params) throws Exception;
+    public HashMap<String, Object> ivstDscsnSelectOne(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
@@ -51,7 +51,7 @@
      *
      * 투자상담 수정
      */
-    public int invtDscsnUpdate(HashMap<String, Object> params) throws Exception;
+    public int ivstDscsnUpdate(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
@@ -59,7 +59,7 @@
      *
      * 투자상담 삭제
      */
-    public int invtDscsnDelete(HashMap<String, Object> params) throws Exception;
+    public int ivstDscsnDelete(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
@@ -67,5 +67,5 @@
      *
      * 투자상담 최근 1건 조회
      */
-    public HashMap<String, Object> invtDscsnSelectOneByNew(HashMap<String, Object> params) throws Exception;
+    public HashMap<String, Object> ivstDscsnSelectOneByNew(HashMap<String, Object> params) throws Exception;
 }
(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/ivstDscsn/service/Impl/IvstDscsnServiceImpl.java (Renamed from src/main/java/com/takensoft/portal/invtDscsn/service/Impl/invtDscsnServiceImpl.java)
--- src/main/java/com/takensoft/portal/invtDscsn/service/Impl/invtDscsnServiceImpl.java
+++ src/main/java/com/takensoft/portal/ivstDscsn/service/Impl/IvstDscsnServiceImpl.java
@@ -1,12 +1,12 @@
-package com.takensoft.portal.invtDscsn.service.Impl;
+package com.takensoft.portal.ivstDscsn.service.Impl;
 
 import com.takensoft.common.Pagination;
 import com.takensoft.common.file.service.FileMngService;
 import com.takensoft.common.file.vo.FileMngVO;
 import com.takensoft.common.idgen.service.IdgenService;
 import com.takensoft.common.util.JWTUtil;
-import com.takensoft.portal.invtDscsn.dao.InvtDscsnDAO;
-import com.takensoft.portal.invtDscsn.service.InvtDscsnService;
+import com.takensoft.portal.ivstDscsn.dao.IvstDscsnDAO;
+import com.takensoft.portal.ivstDscsn.service.IvstDscsnService;
 import com.takensoft.portal.rvwMttr.service.RvwMttrService;
 import lombok.RequiredArgsConstructor;
 import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
@@ -23,13 +23,13 @@
  *
  * 투자상담 관련 구현체
  * EgovAbstractServiceImpl : 전자정부 상속
- * InvtDscsnService : 투자상담 인터페이스 상속
+ * IvstDscsnService : 투자상담 인터페이스 상속
  */
-@Service("invtDscsnService")
+@Service("ivstDscsnService")
 @RequiredArgsConstructor
-public class invtDscsnServiceImpl extends EgovAbstractServiceImpl implements InvtDscsnService {
-    private final InvtDscsnDAO invtDscsnDAO;
-    private final IdgenService invtDscsnIdgn;
+public class IvstDscsnServiceImpl extends EgovAbstractServiceImpl implements IvstDscsnService {
+    private final IvstDscsnDAO ivstDscsnDAO;
+    private final IdgenService ivstDscsnIdgn;
     private final FileMngService fileMngService;
     private final RvwMttrService rvwMttrService;
     private final JWTUtil jwtUtil;
@@ -42,10 +42,10 @@
      */
     @Override
     @Transactional
-    public HashMap<String, Object> invtDscsnInsert(HashMap<String, Object> params, List<MultipartFile> multipartFileList) throws Exception {
+    public HashMap<String, Object> ivstDscsnInsert(HashMap<String, Object> params, List<MultipartFile> multipartFileList) throws Exception {
         // 투자상담 아이디 생성
-        String invtDscsnId = invtDscsnIdgn.getNextStringId();
-        params.put("invtDscsnId", invtDscsnId);
+        String ivstDscsnId = ivstDscsnIdgn.getNextStringId();
+        params.put("ivstDscsnId", ivstDscsnId);
 
         // 작성자 생성
         String writer = jwtUtil.getWriter();
@@ -71,9 +71,9 @@
         }
 
         // 기본정보 DB 등록
-        int invtDscsnResult = invtDscsnDAO.invtDscsnInsert(params);
-        result.put("invtDscsnId", invtDscsnId);
-        result.put("result", invtDscsnResult);
+        int ivstDscsnResult = ivstDscsnDAO.ivstDscsnInsert(params);
+        result.put("ivstDscsnId", ivstDscsnId);
+        result.put("result", ivstDscsnResult);
 
         return result;
     }
@@ -85,12 +85,12 @@
      * 투자상담 목록 조회
      */
     @Override
-    public Map<String, Object> invtDscsnSelectList(Map<String, String> params) throws Exception {
+    public Map<String, Object> ivstDscsnSelectList(Map<String, String> params) throws Exception {
         Map<String, Object> result = new HashMap<>();
         Pagination search = new Pagination(0, params);
-        int cnt = invtDscsnDAO.invtDscsnSelectListCount(search);
+        int cnt = ivstDscsnDAO.ivstDscsnSelectListCount(search);
         Pagination pagination = new Pagination(cnt, params);
-        List<HashMap<String, Object>> list = invtDscsnDAO.invtDscsnSelectList(pagination);
+        List<HashMap<String, Object>> list = ivstDscsnDAO.ivstDscsnSelectList(pagination);
 
         result.put("list", list);
         result.put("pagination", pagination);
@@ -104,8 +104,8 @@
      * 투자상담 상세 조회
      */
     @Override
-    public HashMap<String, Object> invtDscsnSelectOne(HashMap<String, Object> params) throws Exception {
-        return invtDscsnDAO.invtDscsnSelectOne(params);
+    public HashMap<String, Object> ivstDscsnSelectOne(HashMap<String, Object> params) throws Exception {
+        return ivstDscsnDAO.ivstDscsnSelectOne(params);
     }
 
     /**
@@ -116,7 +116,7 @@
      */
     @Override
     @Transactional
-    public int invtDscsnUpdate(HashMap<String, Object> params, List<HashMap<String, Object>> deleteFileList, List<MultipartFile> multipartFileList) throws Exception {
+    public int ivstDscsnUpdate(HashMap<String, Object> params, List<HashMap<String, Object>> deleteFileList, List<MultipartFile> multipartFileList) throws Exception {
         int result = 0;
 
         // 수정자 생성
@@ -138,6 +138,7 @@
             try {
                 HashMap<String, Object> fileMng = fileMngService.fileMngInsert(fileMngVO, multipartFileList);
                 result += (int)fileMng.get("fileMngResult");
+                params.put("fileMngId", fileMng.get("fileMngId").toString());
             } catch (IOException e) {
                 e.printStackTrace();
                 return result;
@@ -145,7 +146,7 @@
         }
 
         // 투자상담 수정
-        result += invtDscsnDAO.invtDscsnUpdate(params);
+        result += ivstDscsnDAO.ivstDscsnUpdate(params);
 
         return result;
     }
@@ -158,7 +159,7 @@
      */
     @Override
     @Transactional
-    public int invtDscsnDelete(HashMap<String, Object> params) throws Exception {
+    public int ivstDscsnDelete(HashMap<String, Object> params) throws Exception {
         int result = 0;
 
         // 수정자 생성
@@ -177,8 +178,8 @@
         try {
             Map<String, String> newParams = new HashMap<>();
             newParams.put("isAllList", "yes");
-            newParams.put("searchType", "invt_dscsn_id");
-            newParams.put("searchText", params.get("invtDscsnId").toString());
+            newParams.put("searchType", "ivst_dscsn_id");
+            newParams.put("searchText", params.get("ivstDscsnId").toString());
             Map<String, Object> rvwMttrSelectList = rvwMttrService.rvwMttrSelectList(newParams);
             List<HashMap<String, Object>> rvwMttrList = (List<HashMap<String, Object>>) rvwMttrSelectList.get("list");
             if (!rvwMttrList.isEmpty()) {
@@ -192,7 +193,7 @@
         }
 
         // 투자상담 삭제
-        result += invtDscsnDAO.invtDscsnDelete(params);
+        result += ivstDscsnDAO.ivstDscsnDelete(params);
 
         return result;
     }
@@ -203,7 +204,7 @@
      *
      * 투자상담 최근 1건 조회
      */
-    public HashMap<String, Object> invtDscsnSelectOneByNew(HashMap<String, Object> params) throws Exception {
-        return invtDscsnDAO.invtDscsnSelectOneByNew(params);
+    public HashMap<String, Object> ivstDscsnSelectOneByNew(HashMap<String, Object> params) throws Exception {
+        return ivstDscsnDAO.ivstDscsnSelectOneByNew(params);
     }
 }
(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/ivstDscsn/service/IvstDscsnService.java (Renamed from src/main/java/com/takensoft/portal/invtDscsn/service/InvtDscsnService.java)
--- src/main/java/com/takensoft/portal/invtDscsn/service/InvtDscsnService.java
+++ src/main/java/com/takensoft/portal/ivstDscsn/service/IvstDscsnService.java
@@ -1,4 +1,4 @@
-package com.takensoft.portal.invtDscsn.service;
+package com.takensoft.portal.ivstDscsn.service;
 
 import org.springframework.web.multipart.MultipartFile;
 
@@ -10,14 +10,14 @@
  *
  * 투자상담 관련 인터페이스
  */
-public interface InvtDscsnService {
+public interface IvstDscsnService {
     /**
      * @author 박정하
      * @since 2024.03.26
      *
      * 투자상담 등록
      */
-    public HashMap<String, Object> invtDscsnInsert(HashMap<String, Object> params, List<MultipartFile> multipartFileList) throws Exception;
+    public HashMap<String, Object> ivstDscsnInsert(HashMap<String, Object> params, List<MultipartFile> multipartFileList) throws Exception;
 
     /**
      * @author 박정하
@@ -25,7 +25,7 @@
      *
      * 투자상담 목록 조회
      */
-    public Map<String, Object> invtDscsnSelectList(Map<String, String> params) throws Exception;
+    public Map<String, Object> ivstDscsnSelectList(Map<String, String> params) throws Exception;
 
     /**
      * @author 박정하
@@ -33,7 +33,7 @@
      *
      * 투자상담 상세 조회
      */
-    public HashMap<String, Object> invtDscsnSelectOne(HashMap<String, Object> params) throws Exception;
+    public HashMap<String, Object> ivstDscsnSelectOne(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
@@ -41,7 +41,7 @@
      *
      * 투자상담 수정
      */
-    public int invtDscsnUpdate(HashMap<String, Object> params, List<HashMap<String, Object>> deleteFileList, List<MultipartFile> multipartFileList) throws Exception;
+    public int ivstDscsnUpdate(HashMap<String, Object> params, List<HashMap<String, Object>> deleteFileList, List<MultipartFile> multipartFileList) throws Exception;
 
     /**
      * @author 박정하
@@ -49,7 +49,7 @@
      *
      * 투자상담 삭제
      */
-    public int invtDscsnDelete(HashMap<String, Object> params) throws Exception;
+    public int ivstDscsnDelete(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
@@ -57,5 +57,5 @@
      *
      * 투자상담 최근 1건 조회
      */
-    public HashMap<String, Object> invtDscsnSelectOneByNew(HashMap<String, Object> params) throws Exception;
+    public HashMap<String, Object> ivstDscsnSelectOneByNew(HashMap<String, Object> params) throws Exception;
 }
(파일 끝에 줄바꿈 문자 없음)
src/main/java/com/takensoft/portal/ivstDscsn/vo/IvstDscsnVO.java (Renamed from src/main/java/com/takensoft/portal/invtDscsn/vo/InvtDscsnVO.java)
--- src/main/java/com/takensoft/portal/invtDscsn/vo/InvtDscsnVO.java
+++ src/main/java/com/takensoft/portal/ivstDscsn/vo/IvstDscsnVO.java
@@ -1,4 +1,4 @@
-package com.takensoft.portal.invtDscsn.vo;
+package com.takensoft.portal.ivstDscsn.vo;
 
 import lombok.Data;
 
@@ -9,20 +9,20 @@
  * 투자상담 관련 VO
  */
 @Data
-public class InvtDscsnVO {
-    private String invtDscsnId;     // 투자상담 아이디
+public class IvstDscsnVO {
+    private String ivstDscsnId;     // 투자상담 아이디
     private String entId;           // 기업 아이디
     private String ttl;             // 제목
     private String dt;              // 일시
     private String plc;             // 장소
     private String prtpnt;          // 참석자
-    private String dscsnPbsvnt;     // 상담공무원
+    private String dscsnPbofc;     // 상담공무원
     private String mainCn;          // 주요내용
     private String fileMngId;       // 파일관리아이디
     private String mvnInten;        // 입주의향
-    private String invtInten;       // 투자의향
+    private String ivstInten;       // 투자의향
     private String mouInten;        // MOU의향
-    private String invtDscsnInten;  // 투자상담의향
+    private String ivstDscsnInten;  // 투자상담의향
     private String useYn;           // 사용여부
     private String rgtr;            // 등록자
     private String regDt;           // 등록일
src/main/java/com/takensoft/portal/ivstDscsn/web/IvstDscsnController.java (Renamed from src/main/java/com/takensoft/portal/invtDscsn/web/InvtDscsnController.java)
--- src/main/java/com/takensoft/portal/invtDscsn/web/InvtDscsnController.java
+++ src/main/java/com/takensoft/portal/ivstDscsn/web/IvstDscsnController.java
@@ -1,11 +1,10 @@
-package com.takensoft.portal.invtDscsn.web;
+package com.takensoft.portal.ivstDscsn.web;
 
 import com.takensoft.common.excel.ExcelHeader;
 import com.takensoft.common.excel.ExcelUtils;
-import com.takensoft.common.Pagination;
 import com.takensoft.common.file.service.FileService;
 import com.takensoft.common.util.ResponseData;
-import com.takensoft.portal.invtDscsn.service.InvtDscsnService;
+import com.takensoft.portal.ivstDscsn.service.IvstDscsnService;
 import lombok.RequiredArgsConstructor;
 import org.springframework.http.HttpHeaders;
 import org.springframework.http.HttpStatus;
@@ -26,8 +25,8 @@
  */
 @RestController
 @RequiredArgsConstructor
-public class InvtDscsnController {
-    private final InvtDscsnService invtDscsnService;
+public class IvstDscsnController {
+    private final IvstDscsnService ivstDscsnService;
     private final FileService fileService;
 
     /**
@@ -39,9 +38,9 @@
      *
      * 투자상담 등록
      */
-    @PostMapping(path = "/government/invtDscsnInsert.file")
-    public ResponseEntity<?> invtDscsnInsert(@RequestPart HashMap<String, Object> params, List<MultipartFile> multipartFileList) throws Exception {
-        HashMap<String, Object> result = invtDscsnService.invtDscsnInsert(params, multipartFileList);
+    @PostMapping(path = "/government/ivstDscsnInsert.file")
+    public ResponseEntity<?> ivstDscsnInsert(@RequestPart HashMap<String, Object> params, List<MultipartFile> multipartFileList) throws Exception {
+        HashMap<String, Object> result = ivstDscsnService.ivstDscsnInsert(params, multipartFileList);
         int insertResult = (int)result.get("result");
 
         // 응답 처리
@@ -68,10 +67,10 @@
      *
      * 투자상담 목록 조회
      */
-    @PostMapping(path = "/government/invtDscsnSelectList.json")
-    public ResponseEntity<?> invtDscsnSelectList(@RequestBody Map<String, String> params) throws Exception {
+    @PostMapping(path = "/government/ivstDscsnSelectList.json")
+    public ResponseEntity<?> ivstDscsnSelectList(@RequestBody Map<String, String> params) throws Exception {
         // 기업상담신청 목록 관련 정보 조회
-        Map<String, Object> result = invtDscsnService.invtDscsnSelectList(params);
+        Map<String, Object> result = ivstDscsnService.ivstDscsnSelectList(params);
         // 응답 처리
         HttpHeaders headers = new HttpHeaders();
         headers.setContentType(new MediaType("application", "json", Charset.forName("UTF-8")));
@@ -91,13 +90,13 @@
      *
      * 투자상담 상세 조회
      */
-    @PostMapping(path = "/government/invtDscsnSelectOne.json")
-    public ResponseEntity<?> invtDscsnSelectOne(@RequestBody HashMap<String, Object> params) throws Exception {
+    @PostMapping(path = "/government/ivstDscsnSelectOne.json")
+    public ResponseEntity<?> ivstDscsnSelectOne(@RequestBody HashMap<String, Object> params) throws Exception {
         // 상세 조회
         HashMap<String, Object> result = new HashMap<>();
-        HashMap<String, Object> invtDscsn = invtDscsnService.invtDscsnSelectOne(params);
-        result.put("invtDscsn", invtDscsn);
-        result.put("fileList", fileService.fileSelectList(invtDscsn));
+        HashMap<String, Object> ivstDscsn = ivstDscsnService.ivstDscsnSelectOne(params);
+        result.put("ivstDscsn", ivstDscsn);
+        result.put("fileList", fileService.fileSelectList(ivstDscsn));
 
         // 응답 처리
         HttpHeaders headers = new HttpHeaders();
@@ -118,10 +117,10 @@
      *
      * 투자상담 수정
      */
-    @PostMapping(path = "/government/invtDscsnUpdate.file")
-    public ResponseEntity<?> invtDscsnUpdate(@RequestPart HashMap<String, Object> params, @RequestPart List<HashMap<String, Object>> deleteFileList, List<MultipartFile> multipartFileList) throws Exception {
+    @PostMapping(path = "/government/ivstDscsnUpdate.file")
+    public ResponseEntity<?> ivstDscsnUpdate(@RequestPart HashMap<String, Object> params, @RequestPart List<HashMap<String, Object>> deleteFileList, List<MultipartFile> multipartFileList) throws Exception {
         // 투자상담 수정
-        int result = invtDscsnService.invtDscsnUpdate(params, deleteFileList, multipartFileList);
+        int result = ivstDscsnService.ivstDscsnUpdate(params, deleteFileList, multipartFileList);
 
         // 응답 처리
         HttpHeaders headers = new HttpHeaders();
@@ -147,10 +146,10 @@
      *
      * 투자상담 삭제
      */
-    @PostMapping(path = "/government/invtDscsnDelete.json")
-    public ResponseEntity<?> invtDscsnDelete(@RequestBody HashMap<String, Object> params) throws Exception {
+    @PostMapping(path = "/government/ivstDscsnDelete.json")
+    public ResponseEntity<?> ivstDscsnDelete(@RequestBody HashMap<String, Object> params) throws Exception {
         // 투자상담 삭제
-        int result = invtDscsnService.invtDscsnDelete(params);
+        int result = ivstDscsnService.ivstDscsnDelete(params);
 
         // 응답처리
         HttpHeaders headers = new HttpHeaders();
@@ -173,18 +172,18 @@
      *
      * 투자상담 엑셀 다운로드
      */
-    @RequestMapping(path = "/government/invtDscsnExcelDownload.json")
-    public void invtDscsnExcelDownload(@RequestBody HashMap<String, Object> params, HttpServletResponse response) throws Exception {
+    @RequestMapping(path = "/government/ivstDscsnExcelDownload.json")
+    public void ivstDscsnExcelDownload(@RequestBody HashMap<String, Object> params, HttpServletResponse response) throws Exception {
         ExcelUtils excelUtils = new ExcelUtils();
         excelUtils.connect(response);
 
         ExcelHeader excelHeader = new ExcelHeader();
-        LinkedHashMap<String, String> invtDscsnHeader = excelHeader.getInvtDscsnHeader();
+        LinkedHashMap<String, String> ivstDscsnHeader = excelHeader.getIvstDscsnHeader();
 
-        List<HashMap<String, Object>> invtDscsnList = new ArrayList<>();
-        invtDscsnList.add(invtDscsnService.invtDscsnSelectOne(params));
+        List<HashMap<String, Object>> ivstDscsnList = new ArrayList<>();
+        ivstDscsnList.add(ivstDscsnService.ivstDscsnSelectOne(params));
 
-        excelUtils.defaultDraw("vertical", invtDscsnHeader, invtDscsnList);
+        excelUtils.defaultDraw("vertical", ivstDscsnHeader, ivstDscsnList);
 
         // 다운로드
         excelUtils.download("download");
src/main/java/com/takensoft/portal/rvwMttr/dao/RvwMttrPrgrsDAO.java
--- src/main/java/com/takensoft/portal/rvwMttr/dao/RvwMttrPrgrsDAO.java
+++ src/main/java/com/takensoft/portal/rvwMttr/dao/RvwMttrPrgrsDAO.java
@@ -14,11 +14,19 @@
 public interface RvwMttrPrgrsDAO {
     /**
      * @author 박정하
-     * @since 2024.04.01
+     * @since 2024.04.25
      *
      * 검토사항진행 등록
      */
-    public int rvwMttrPrgrsUpsert(HashMap<String, Object> params) throws Exception;
+    public int rvwMttrPrgrsInsert(HashMap<String, Object> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 검토사항진행 수정
+     */
+    public int rvwMttrPrgrsUpdate(HashMap<String, Object> params) throws Exception;
 
     /**
      * @author 박정하
src/main/java/com/takensoft/portal/rvwMttr/service/Impl/RvwMttrPrgrsServiceImpl.java
--- src/main/java/com/takensoft/portal/rvwMttr/service/Impl/RvwMttrPrgrsServiceImpl.java
+++ src/main/java/com/takensoft/portal/rvwMttr/service/Impl/RvwMttrPrgrsServiceImpl.java
@@ -1,5 +1,6 @@
 package com.takensoft.portal.rvwMttr.service.Impl;
 
+import com.takensoft.common.util.JWTUtil;
 import com.takensoft.portal.rvwMttr.dao.RvwMttrPrgrsDAO;
 import com.takensoft.portal.rvwMttr.service.RvwMttrPrgrsService;
 import lombok.RequiredArgsConstructor;
@@ -20,16 +21,41 @@
 @RequiredArgsConstructor
 public class RvwMttrPrgrsServiceImpl extends EgovAbstractServiceImpl implements RvwMttrPrgrsService {
     private final RvwMttrPrgrsDAO rvwMttrPrgrsDAO;
+    private final JWTUtil jwtUtil;
 
     /**
      * @author 박정하
-     * @since 2024.03.29
+     * @since 2024.04.25
      *
-     * 검토사항진행 업설트
+     * 검토사항진행 등록
      */
     @Override
-    public int rvwMttrPrgrsUpsert(HashMap<String, Object> params) throws Exception {
-        return rvwMttrPrgrsDAO.rvwMttrPrgrsUpsert(params);
+    public int rvwMttrPrgrsInsert(HashMap<String, Object> params) throws Exception {
+        return rvwMttrPrgrsDAO.rvwMttrPrgrsInsert(params);
+    }
+
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 검토사항진행 수정
+     */
+    @Override
+    public int rvwMttrPrgrsUpdate(List<HashMap<String, Object>> params) throws Exception {
+        int result = 0;
+
+        for (HashMap<String, Object> param : params) {
+            String writer = jwtUtil.getWriter();
+            if (param.get("rvwMttrPrgrsId") != null) { // 검토사항 진행 아이디가 있는 경우 (수정)
+                param.put("mdfr", writer);
+                result += rvwMttrPrgrsDAO.rvwMttrPrgrsUpdate(param);
+            }  else { // 검토사항진행 아이디가 없는 경우 (추가)
+                param.put("rgtr", writer);
+                result +=  rvwMttrPrgrsDAO.rvwMttrPrgrsInsert(param);
+            }
+        }
+
+        return result;
     }
 
     /**
src/main/java/com/takensoft/portal/rvwMttr/service/Impl/RvwMttrServiceImpl.java
--- src/main/java/com/takensoft/portal/rvwMttr/service/Impl/RvwMttrServiceImpl.java
+++ src/main/java/com/takensoft/portal/rvwMttr/service/Impl/RvwMttrServiceImpl.java
@@ -54,14 +54,9 @@
         if (prgrsList != null && !prgrsList.isEmpty()) {
             for (HashMap<String, Object> prgrs : prgrsList) {
                 try {
-                    // 검토사항 아이디 추가]
                     prgrs.put("rvwMttrId", rvwMttrId);
-
-                    // 작성자 생성
                     prgrs.put("rgtr", writer);
-
-                    // DB 등록
-                    prgrsResult += rvwMttrPrgrsService.rvwMttrPrgrsUpsert(prgrs);
+                    prgrsResult += rvwMttrPrgrsService.rvwMttrPrgrsInsert(prgrs);
                 } catch (Exception e) {
                     e.printStackTrace();
                     return result;
@@ -122,25 +117,14 @@
         String writer = jwtUtil.getWriter();
         params.put("mdfr", writer);
 
-        // 검토사항진행 추가, 수정
+        // 검토사항진행 수정
         List<HashMap<String, Object>> prgrsList = (List<HashMap<String, Object>>) params.get("prgrsList");
         if (!prgrsList.isEmpty()) {
-            for (HashMap<String, Object> prgrs : prgrsList) {
-                try {
-                    // 검토사항 아이디 추가
-                    if (prgrs.get("rgtr") == null) {
-                        prgrs.put("rgtr", writer);
-                    }
-
-                    // 수정자 아이디 추가
-                    prgrs.put("mdfr", writer);
-
-                    // DB 등록
-                    result += rvwMttrPrgrsService.rvwMttrPrgrsUpsert(prgrs);
-                } catch (Exception e) {
-                    e.printStackTrace();
-                    return result;
-                }
+            try {
+                result += rvwMttrPrgrsService.rvwMttrPrgrsUpdate(prgrsList);
+            } catch (Exception e) {
+                e.printStackTrace();
+                return result;
             }
         }
 
src/main/java/com/takensoft/portal/rvwMttr/service/RvwMttrPrgrsService.java
--- src/main/java/com/takensoft/portal/rvwMttr/service/RvwMttrPrgrsService.java
+++ src/main/java/com/takensoft/portal/rvwMttr/service/RvwMttrPrgrsService.java
@@ -11,11 +11,19 @@
 public interface RvwMttrPrgrsService {
     /**
      * @author 박정하
-     * @since 2024.03.29
+     * @since 2024.04.25
      *
      * 검토사항진행 등록
      */
-    public int rvwMttrPrgrsUpsert(HashMap<String, Object> params) throws Exception;
+    public int rvwMttrPrgrsInsert(HashMap<String, Object> params) throws Exception;
+
+    /**
+     * @author 박정하
+     * @since 2024.04.25
+     *
+     * 검토사항진행 수정
+     */
+    public int rvwMttrPrgrsUpdate(List<HashMap<String, Object>> params) throws Exception;
 
     /**
      * @author 박정하
src/main/java/com/takensoft/portal/rvwMttr/vo/RvwMttrVO.java
--- src/main/java/com/takensoft/portal/rvwMttr/vo/RvwMttrVO.java
+++ src/main/java/com/takensoft/portal/rvwMttr/vo/RvwMttrVO.java
@@ -11,8 +11,7 @@
 @Data
 public class RvwMttrVO {
     private String RvwMttrId;   // 검토사항 아이디
-    private String invtDscsnId; // 투자상담 아이디
-    private String ttl;         // 투자상담 명
+    private String ivstDscsnId; // 투자상담 아이디
     private String type;        // 유형
     private String clr;         // 접수자
     private String rcptDt;      // 접수일
src/main/resources/mybatis/mapper/common/file-SQL.xml
--- src/main/resources/mybatis/mapper/common/file-SQL.xml
+++ src/main/resources/mybatis/mapper/common/file-SQL.xml
@@ -9,7 +9,7 @@
         <result property="maskNm" column="mask_nm" />
         <result property="fileType" column="file_type" />
         <result property="absltPath" column="abslt_path" />
-        <result property="prttnPath" column="prttn_path" />
+        <result property="partPath" column="part_path" />
         <result property="extnNm" column="extn_nm" />
         <result property="fileSz" column="file_sz" />
         <result property="rgtr" column="rgtr" />
@@ -23,25 +23,23 @@
     -->
     <insert id="fileInsert" parameterType="HashMap">
         INSERT INTO cmmn_file (
-            file_id
-            , file_mng_id
+            file_mng_id
             , file_nm
             , mask_nm
             , file_type
             , abslt_path
-            , prttn_path
+            , part_path
             , extn_nm
             , file_sz
             , rgtr
             , reg_dt
-        ) VALUE (
-            #{fileId}
-            , #{fileMngId}
+        ) VALUES (
+            #{fileMngId}
             , #{fileNm}
             , #{maskNm}
             , #{fileType}
             , #{absltPath}
-            , #{prttnPath}
+            , #{partPath}
             , #{extnNm}
             , #{fileSz}
             , #{rgtr}
@@ -61,7 +59,7 @@
              , mask_nm
              , file_type
              , abslt_path
-             , prttn_path
+             , part_path
              , extn_nm
              , file_sz
              , rgtr
src/main/resources/mybatis/mapper/common/fileManage-SQL.xml
--- src/main/resources/mybatis/mapper/common/fileManage-SQL.xml
+++ src/main/resources/mybatis/mapper/common/fileManage-SQL.xml
@@ -11,7 +11,7 @@
             file_mng_id
             , rgtr
             , reg_dt
-        ) VALUE (
+        ) VALUES (
             #{fileMngId}
             , #{rgtr}
             , now()
src/main/resources/mybatis/mapper/contsType/contsType-SQL.xml
--- src/main/resources/mybatis/mapper/contsType/contsType-SQL.xml
+++ src/main/resources/mybatis/mapper/contsType/contsType-SQL.xml
@@ -59,9 +59,9 @@
              , expsr_yn
              , use_yn
              , rgtr
-             , DATE_FORMAT(reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
              , mdfr
-             , DATE_FORMAT(mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
+             , to_char(mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
           FROM conts_type_mng
    </sql>
 
@@ -93,7 +93,7 @@
         WHERE use_yn = 'Y'
         <include refid="selectRequirement" />
         ORDER BY conts_id DESC
-        LIMIT #{limitStart}, #{recordSize}
+        OFFSET #{limitStart} LIMIT #{recordSize}
     </select>
 
     <!--
src/main/resources/mybatis/mapper/entDscsnAply/entDscsnAply-SQL.xml
--- src/main/resources/mybatis/mapper/entDscsnAply/entDscsnAply-SQL.xml
+++ src/main/resources/mybatis/mapper/entDscsnAply/entDscsnAply-SQL.xml
@@ -40,7 +40,7 @@
             , use_yn
             , aplcnt_ip
             , reg_dt
-        ) VALUE (
+        ) VALUES (
             #{entDscsnAplyId}
             , #{entNm}
             , #{aplcntNm}
@@ -49,7 +49,7 @@
             , #{aplyCn}
             , #{fileMngId}
             , #{actnPic}
-            , #{actnDt}
+            , #{actnDt}::timestamp
             , #{rmrk}
             , 'N'
             , 'Y'
@@ -79,17 +79,17 @@
              , aply_cn
              , file_mng_id
              , actn_pic
-             , DATE_FORMAT(actn_dt, '%Y-%m-%d') AS actn_dt
+             , to_char(actn_dt, 'YYYY-MM-DD HH24:MI') AS actn_dt
              , rmrk
              , prcs_stts
              , use_yn
              , aplcnt_ip
-             , DATE_FORMAT(reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
         FROM ent_dscsn_aply
         WHERE use_yn = 'Y'
         <include refid="selectRequirement" />
         ORDER BY reg_dt DESC
-        LIMIT #{limitStart}, #{recordSize}
+        OFFSET #{limitStart} LIMIT #{recordSize}
     </select>
 
     <!--
@@ -118,12 +118,12 @@
              , aply_cn
              , file_mng_id
              , actn_pic
-             , DATE_FORMAT(actn_dt, '%Y-%m-%d %H:%i') AS actn_dt
+             , to_char(actn_dt, 'YYYY-MM-DD HH24:MI') AS actn_dt
              , rmrk
              , prcs_stts
              , use_yn
              , aplcnt_ip
-             , DATE_FORMAT(reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
           FROM ent_dscsn_aply
          WHERE use_yn = 'Y'
            AND ent_dscsn_aply_id = #{entDscsnAplyId}
@@ -137,11 +137,10 @@
     <update id="entDscsnAplyUpdate" parameterType="HashMap">
         UPDATE ent_dscsn_aply
         SET actn_pic = #{actnPic},
-            actn_dt = #{actnDt},
+            actn_dt = now(),
             rmrk = #{rmrk},
             prcs_stts = #{prcsStts}
-        WHERE
-            ent_dscsn_aply_id = #{entDscsnAplyId}
+        WHERE ent_dscsn_aply_id = #{entDscsnAplyId}
     </update>
 
     <!--
@@ -149,12 +148,11 @@
     작 성 일 : 2024.04.04
     내   용 : 기업상담신청 1시간 이내 동일 아이피 등록 개수
     -->
-    <select id="entDscsnAplyCountByOneHourWriteSameIp" parameterType="HashMap" resultType="HashMap">
-        SELECT IFNULL(count(0), 0) AS writeCount,
-               IFNULL(MAX(reg_dt), 0) AS lastDatetime
-          FROM ent_dscsn_aply
-         WHERE aplcnt_ip = #{aplcntIp}
-           AND reg_dt > DATE_ADD(now(), INTERVAL - 1 HOUR)
-      ORDER BY reg_dt DESC
+    <select id="entDscsnAplyCountByOneHourWriteSameIp" parameterType="string" resultType="HashMap">
+        SELECT COALESCE(count(0), 0) AS writecount,
+               '1 HOUR'::interval - (now() - MIN(reg_dt)) AS lastdatetime
+        FROM ent_dscsn_aply
+        WHERE aplcnt_ip = #{aplcntIp}
+          AND reg_dt > now() - '1 HOUR'::interval
     </select>
 </mapper>
(파일 끝에 줄바꿈 문자 없음)
src/main/resources/mybatis/mapper/entInfo/entInfo-SQL.xml
--- src/main/resources/mybatis/mapper/entInfo/entInfo-SQL.xml
+++ src/main/resources/mybatis/mapper/entInfo/entInfo-SQL.xml
@@ -36,8 +36,8 @@
             , clsbiz_yn
             , use_yn
             , rgtr
-            ,  reg_dt
-        ) VALUE (
+            , reg_dt
+        ) VALUES (
             #{entId}
             , #{entNm}
             , #{brno}
@@ -48,7 +48,7 @@
             , #{clsbizYn}
             , 'Y'
             , #{rgtr}
-            , now()
+            , now()::timestamp
         )
     </insert>
 
@@ -108,16 +108,16 @@
              , mdfr
              , mdfcn_dt
              , (SELECT mvn_inten
-                  FROM invt_dscsn
+                  FROM ivst_dscsn
                  WHERE use_yn = 'Y'
-                   AND ent_info.ent_id = invt_dscsn.ent_id
+                   AND ent_info.ent_id = ivst_dscsn.ent_id
                  ORDER BY reg_dt DESC
                  LIMIT 1 ) AS mvn_inten
           FROM ent_info
          WHERE use_yn = 'Y'
         <include refid="selectRequirement" />
       ORDER BY ent_id DESC
-        LIMIT #{limitStart}, #{recordSize}
+      OFFSET #{limitStart} LIMIT #{recordSize}
     </select>
 
     <!--
@@ -126,12 +126,9 @@
     내용 : 기업정보 목록 총 개수 조회
     -->
     <select id="entInfoSelectListCount" resultType="int">
-        SELECT
-            count(*)
-        FROM
-            ent_info
-        WHERE
-            use_yn = 'Y'
+        SELECT count(*)
+        FROM ent_info
+        WHERE use_yn = 'Y'
         <include refid="selectRequirement" />
     </select>
 
@@ -151,9 +148,9 @@
              , ei.clsbiz_yn
              , ei.use_yn
              , ei.rgtr
-             , DATE_FORMAT(ei.reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(ei.reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
              , ei.mdfr
-             , DATE_FORMAT(ei.mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
+             , to_char(ei.mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
           FROM ent_info AS ei
          WHERE ei.use_yn = 'Y'
            AND ei.ent_id = #{entId}
src/main/resources/mybatis/mapper/entInfo/fnltt-SQL.xml
--- src/main/resources/mybatis/mapper/entInfo/fnltt-SQL.xml
+++ src/main/resources/mybatis/mapper/entInfo/fnltt-SQL.xml
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.takensoft.portal.entInfo.dao.FnlttDAO">
+<mapper namespace="com.takensoft.portal.entInfo.dao.FnstmDAO">
     <!-- 재무제표 resultMap -->
-    <resultMap id="fnlttMap" type="HashMap">
-        <result property="fnlttId" column="fnltt_id" />
+    <resultMap id="fnstmMap" type="HashMap">
+        <result property="fnstmId" column="fnstm_id" />
         <result property="entId" column="ent_id" />
         <result property="yr" column="yr" />
         <result property="slsAmt" column="sls_amt" />
-        <result property="bsnPrfts" column="bsn_prfts" />
-        <result property="netIncome" column="net_income" />
+        <result property="salsPrf" column="sals_prf" />
+        <result property="thtmNetpf" column="thtm_netpf" />
         <result property="useYn" column="use_yn" />
         <result property="rgtr" column="rgtr" />
         <result property="regDt" column="reg_dt" />
@@ -18,45 +18,46 @@
 
     <!--
     작 성 자 : 박정하
-    작 성 일 : 2024.04.12
-    내   용 : 재무제표 업설트
+    작 성 일 : 2024.04.25
+    내   용 : 재무제표 등록
     -->
-    <update id="fnlttUpsert" parameterType="fnlttVO">
-        INSERT INTO fnltt (
-            fnltt_id
-            , ent_id
+    <insert id="fnstmInsert" parameterType="FnstmVO">
+        INSERT INTO fnstm (
+            ent_id
             , yr
             , sls_amt
-            , bsn_prfts
-            , net_income
+            , sals_prf
+            , thtm_netpf
             , use_yn
             , rgtr
             , reg_dt
-            , mdfr
-            , mdfcn_dt
         ) VALUES (
-            #{fnlttId}
-            , #{entId}
+            #{entId}
             , #{yr}
             , #{slsAmt}
-            , #{bsnPrfts}
-            , #{netIncome}
-            , #{useYn}
+            , #{salsPrf}
+            , #{thtmNetpf}
+            , 'Y'
             , #{rgtr}
             , now()
-            , null
-            , null
-        ) ON DUPLICATE KEY UPDATE
-            ent_id = #{entId}
-            , yr = #{yr}
-            , sls_amt = #{slsAmt}
-            , bsn_prfts = #{bsnPrfts}
-            , net_income = #{netIncome}
-            , use_yn = #{useYn}
-            , rgtr = #{rgtr}
-            , reg_dt = #{regDt}
-            , mdfr = #{mdfr}
-            , mdfcn_dt = now()
+        )
+    </insert>
+
+    <!--
+    작 성 자 : 박정하
+    작 성 일 : 2024.04.25
+    내   용 : 재무제표 수정
+    -->
+    <update id="fnstmUpdate" parameterType="FnstmVO">
+        UPDATE fnstm
+        SET yr = #{yr}
+        , sls_amt = #{slsAmt}
+        , sals_prf = #{salsPrf}
+        , thtm_netpf = #{thtmNetpf}
+        , use_yn = #{useYn}
+        , mdfr = #{mdfr}
+        , mdfcn_dt = now()
+        WHERE fnstm_id = #{fnstmId}
     </update>
 
     <!--
@@ -64,22 +65,22 @@
     작 성 일 : 2024.03.21
     내   용 : 재무제표 목록 조회
     -->
-    <select id="fnlttSelectList" resultMap="fnlttMap">
-        SELECT f.fnltt_id
+    <select id="fnstmSelectList" resultMap="fnstmMap">
+        SELECT f.fnstm_id
              , f.ent_id
              , f.yr
              , f.sls_amt
-             , f.bsn_prfts
-             , f.net_income
+             , f.sals_prf
+             , f.thtm_netpf
              , f.use_yn
              , f.rgtr
              , f.reg_dt
              , f.mdfr
              , f.mdfcn_dt
-          FROM fnltt AS f
+          FROM fnstm AS f
          WHERE f.use_yn = 'Y'
            AND f.ent_id = #{entId}
-      ORDER BY f.yr DESC
+      ORDER BY f.reg_dt DESC
     </select>
 
     <!--
@@ -87,11 +88,11 @@
     작 성 일 : 2024.03.22
     내   용 : 재무제표 삭제
     -->
-    <update id="fnlttDelete" parameterType="fnlttVO">
-        UPDATE fnltt
+    <update id="fnstmDelete" parameterType="fnstmVO">
+        UPDATE fnstm
            SET use_yn = 'N',
                mdfr = #{mdfr},
                mdfcn_dt = now()
-         WHERE fnltt_id = #{fnlttId}
+         WHERE fnstm_id = #{fnstmId}
     </update>
 </mapper>
(파일 끝에 줄바꿈 문자 없음)
src/main/resources/mybatis/mapper/invtDscsn/invtDscsn-SQL.xml
--- src/main/resources/mybatis/mapper/invtDscsn/invtDscsn-SQL.xml
+++ src/main/resources/mybatis/mapper/invtDscsn/invtDscsn-SQL.xml
@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.takensoft.portal.invtDscsn.dao.InvtDscsnDAO">
+<mapper namespace="com.takensoft.portal.ivstDscsn.dao.IvstDscsnDAO">
     <!-- 재무제표 resultMap -->
-    <resultMap id="invtDscsnMap" type="HashMap">
-        <result property="invtDscsnId" column="invt_dscsn_id" />
+    <resultMap id="ivstDscsnMap" type="HashMap">
+        <result property="ivstDscsnId" column="ivst_dscsn_id" />
         <result property="entId" column="ent_id" />
         <result property="entNm" column="ent_nm" />
         <result property="ttl" column="ttl" />
         <result property="dt" column="dt" />
         <result property="plc" column="plc" />
         <result property="prtpnt" column="prtpnt" />
-        <result property="dscsnPbsvnt" column="dscsn_pbsvnt" />
+        <result property="dscsnPbofc" column="dscsn_pbofc" />
         <result property="mainCn" column="main_cn" />
         <result property="fileMngId" column="file_mng_id" />
         <result property="mvnInten" column="mvn_inten" />
-        <result property="invtInten" column="invt_inten" />
+        <result property="ivstInten" column="ivst_inten" />
         <result property="mouInten" column="mou_inten" />
-        <result property="invtDscsnInten" column="invt_dscsn_inten" />
+        <result property="ivstDscsnInten" column="ivst_dscsn_inten" />
         <result property="useYn" column="use_yn" />
         <result property="rgtr" column="rgtr" />
         <result property="regDt" column="reg_dt" />
@@ -29,38 +29,38 @@
     작성일자 : 2024-03-20
     내용 : 재무제표 등록
     -->
-    <insert id="invtDscsnInsert" parameterType="HashMap">
-        INSERT INTO invt_dscsn (
-            invt_dscsn_id
+    <insert id="ivstDscsnInsert" parameterType="HashMap">
+        INSERT INTO ivst_dscsn (
+            ivst_dscsn_id
             , ent_id
             , ttl
             , dt
             , plc
             , prtpnt
-            , dscsn_pbsvnt
+            , dscsn_pbofc
             , main_cn
             , file_mng_id
             , mvn_inten
-            , invt_inten
+            , ivst_inten
             , mou_inten
-            , invt_dscsn_inten
+            , ivst_dscsn_inten
             , use_yn
             , rgtr
             , reg_dt
-        ) VALUE (
-            #{invtDscsnId}
+        ) VALUES (
+            #{ivstDscsnId}
             , #{entId}
             , #{ttl}
-            , #{dt}
+            , #{dt}::timestamp
             , #{plc}
             , #{prtpnt}
-            , #{dscsnPbsvnt}
+            , #{dscsnPbofc}
             , #{mainCn}
             , #{fileMngId}
             , #{mvnInten}
-            , #{invtInten}
+            , #{ivstInten}
             , #{mouInten}
-            , #{invtDscsnInten}
+            , #{ivstDscsnInten}
             , 'Y'
             , #{rgtr}
             , now()
@@ -72,6 +72,9 @@
         <if test="searchText != null and searchText != ''">
             <choose>
                 <when test="searchType != null and searchType != ''">
+                    <if test="searchType == 'entId'">
+                        AND ei.ent_id = #{searchText}
+                    </if>
                     <if test="searchType == 'ent_id'">
                         AND ei.ent_id = #{searchText}
                     </if>
@@ -98,34 +101,34 @@
     작성일자 : 2024-03-26
     내용 : 투자상담 조회
     -->
-    <select id="invtDscsnSelectList" resultMap="invtDscsnMap">
-        SELECT id.invt_dscsn_id
+    <select id="ivstDscsnSelectList" resultMap="ivstDscsnMap">
+        SELECT id.ivst_dscsn_id
              , ei.ent_nm
              , id.ent_id
              , id.ttl
              , id.dt
              , id.plc
              , id.prtpnt
-             , id.dscsn_pbsvnt
+             , id.dscsn_pbofc
              , id.main_cn
              , id.file_mng_id
              , id.mvn_inten
-             , id.invt_inten
+             , id.ivst_inten
              , id.mou_inten
-             , id.invt_dscsn_inten
+             , id.ivst_dscsn_inten
              , id.use_yn
              , id.rgtr
-             , DATE_FORMAT(id.reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(id.reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
              , id.mdfr
-             , DATE_FORMAT(id.mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
-          FROM invt_dscsn AS id
+             , to_char(id.mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
+          FROM ivst_dscsn AS id
      LEFT JOIN ent_info AS ei
             ON id.ent_id = ei.ent_id
          WHERE id.use_yn = 'Y'
         <include refid="selectRequirement" />
      ORDER BY id.reg_dt DESC
         <if test="searchType != 'ent_id'">
-            LIMIT #{limitStart}, #{recordSize}
+        OFFSET #{limitStart} LIMIT #{recordSize}
         </if>
     </select>
 
@@ -134,9 +137,9 @@
     작성일자 : 2024-03-26
     내용 : 투자상담 목록 총 개수 조회
     -->
-    <select id="invtDscsnSelectListCount" resultType="int">
+    <select id="ivstDscsnSelectListCount" resultType="int">
         SELECT count(*)
-        FROM invt_dscsn AS id
+        FROM ivst_dscsn AS id
         LEFT JOIN ent_info AS ei
         ON id.ent_id = ei.ent_id
         WHERE id.use_yn = 'Y'
@@ -148,31 +151,31 @@
     작 성 일 : 2024.03.26
     내   용 : 투자상담 상세 조회
     -->
-    <select id="invtDscsnSelectOne" parameterType="HashMap" resultMap="invtDscsnMap">
-        SELECT id.invt_dscsn_id
+    <select id="ivstDscsnSelectOne" parameterType="HashMap" resultMap="ivstDscsnMap">
+        SELECT id.ivst_dscsn_id
              , id.ent_id
              , ei.ent_nm
              , id.ttl
-             , DATE_FORMAT(id.dt, '%Y-%m-%d') AS dt
+             , to_char(id.dt, 'YYYY-MM-DD HH24:MI') AS dt
              , id.plc
              , id.prtpnt
-             , id.dscsn_pbsvnt
+             , id.dscsn_pbofc
              , id.main_cn
              , id.file_mng_id
              , id.mvn_inten
-             , id.invt_inten
+             , id.ivst_inten
              , id.mou_inten
-             , id.invt_dscsn_inten
+             , id.ivst_dscsn_inten
              , id.use_yn
              , id.rgtr
-             , DATE_FORMAT(id.reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(id.reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
              , id.mdfr
-             , DATE_FORMAT(id.mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
-          FROM invt_dscsn AS id
+             , to_char(id.mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
+          FROM ivst_dscsn AS id
      LEFT JOIN ent_info AS ei
             ON id.ent_id = ei.ent_id
          WHERE id.use_yn = 'Y'
-           AND id.invt_dscsn_id = #{invtDscsnId}
+           AND id.ivst_dscsn_id = #{ivstDscsnId}
     </select>
 
     <!--
@@ -180,26 +183,23 @@
     작성일자 : 2024-03-27
     내용 : 투자상담 수정
     -->
-    <update id="invtDscsnUpdate" parameterType="HashMap">
-        UPDATE invt_dscsn
-        SET ent_id = #{entId}
-            , ttl = #{ttl}
-            , dt = #{dt}
+    <update id="ivstDscsnUpdate" parameterType="HashMap">
+        UPDATE ivst_dscsn
+        SET ttl = #{ttl}
+            , dt = #{dt}::timestamp
             , plc = #{plc}
             , prtpnt = #{prtpnt}
-            , dscsn_pbsvnt = #{dscsnPbsvnt}
+            , dscsn_pbofc = #{dscsnPbofc}
             , main_cn = #{mainCn}
             , file_mng_id = #{fileMngId}
             , mvn_inten = #{mvnInten}
-            , invt_inten = #{invtInten}
+            , ivst_inten = #{ivstInten}
             , mou_inten = #{mouInten}
-            , invt_dscsn_inten = #{invtDscsnInten}
+            , ivst_dscsn_inten = #{ivstDscsnInten}
             , use_yn = #{useYn}
-            , rgtr = #{rgtr}
-            , reg_dt = #{regDt}
             , mdfr = #{mdfr}
             , mdfcn_dt = now()
-        WHERE invt_dscsn_id = #{invtDscsnId}
+        WHERE ivst_dscsn_id = #{ivstDscsnId}
     </update>
 
     <!--
@@ -207,11 +207,11 @@
     작성일자 : 2024-03-27
     내용 : 투자상담 삭제
     -->
-    <update id="invtDscsnDelete" parameterType="HashMap">
-        UPDATE invt_dscsn
+    <update id="ivstDscsnDelete" parameterType="HashMap">
+        UPDATE ivst_dscsn
         SET use_yn = 'N'
             , file_mng_id = null
-        WHERE invt_dscsn_id = #{invtDscsnId}
+        WHERE ivst_dscsn_id = #{ivstDscsnId}
     </update>
 
     <!--
@@ -219,26 +219,26 @@
     작성일자 : 2024-03-28
     내용 : 투자상담 최근 1건 조회
     -->
-    <select id="invtDscsnSelectOneByNew" parameterType="HashMap" resultMap="invtDscsnMap">
-        SELECT id.invt_dscsn_id
+    <select id="ivstDscsnSelectOneByNew" parameterType="HashMap" resultMap="ivstDscsnMap">
+        SELECT id.ivst_dscsn_id
              , id.ent_id
              , id.ttl
              , id.dt
              , id.plc
              , id.prtpnt
-             , id.dscsn_pbsvnt
+             , id.dscsn_pbofc
              , id.main_cn
              , id.file_mng_id
              , id.mvn_inten
-             , id.invt_inten
+             , id.ivst_inten
              , id.mou_inten
-             , id.invt_dscsn_inten
+             , id.ivst_dscsn_inten
              , id.use_yn
              , id.rgtr
              , id.reg_dt
              , id.mdfr
              , id.mdfcn_dt
-         from invt_dscsn AS id
+         from ivst_dscsn AS id
         where id.use_yn = 'Y'
           AND id.ent_id = #{entId}
      order by id.reg_dt DESC
src/main/resources/mybatis/mapper/mber/mber-SQL.xml
--- src/main/resources/mybatis/mapper/mber/mber-SQL.xml
+++ src/main/resources/mybatis/mapper/mber/mber-SQL.xml
@@ -183,8 +183,6 @@
         AND mi.use_yn = 'Y'
     </select>
 
-
-
     <!--
         작성자 : takensoft
         작성일 : 2024.04.03
@@ -210,12 +208,8 @@
          WHERE mbr_id = #{mbrId}
     </update>
 
-    <!--
-        작성자 : 박정하
-        작성일 : 2024.04.23
-        내 용 : 회원정보 목록 조회 (관리자)
-    -->
-    <select id="findByMng" resultMap="mberMap">
+    <!-- 목록 조회 -->
+    <sql id="findAll">
         SELECT mi.mbr_id
              , mi.lgn_id
              , mi.mbr_nm
@@ -246,12 +240,7 @@
         FROM mbr_info AS mi
         LEFT JOIN mbr_authrt_info AS mai
         ON mi.mbr_id = mai.mbr_id
-        WHERE mi.use_yn = 'Y'
-        AND mai.authrt_cd = 'ROLE_ADMIN'
-        <include refid="selectRequirement" />
-        ORDER BY mi.reg_dt DESC
-        LIMIT #{limitStart}, #{recordSize}
-    </select>
+    </sql>
 
     <!-- 검색 조건 -->
     <sql id="selectRequirement">
@@ -267,9 +256,9 @@
                 </when>
                 <otherwise>
                     AND (
-                        mi.lgn_id LIKE CONCAT('%', #{searchText}, '%')
+                    mi.lgn_id LIKE CONCAT('%', #{searchText}, '%')
                     OR
-                        mi.mbr_nm LIKE CONCAT('%', #{searchText}, '%')
+                    mi.mbr_nm LIKE CONCAT('%', #{searchText}, '%')
                     )
                 </otherwise>
             </choose>
@@ -279,9 +268,37 @@
     <!--
         작성자 : 박정하
         작성일 : 2024.04.23
+        내 용 : 회원정보 목록 조회 (관리자)
+    -->
+    <select id="findAllMng" resultMap="mberMap">
+        <include refid="findAll"></include>
+        WHERE mi.use_yn = 'Y'
+        AND mai.authrt_cd = 'ROLE_ADMIN'
+        <include refid="selectRequirement" />
+        ORDER BY mi.reg_dt DESC
+        LIMIT #{limitStart}, #{recordSize}
+    </select>
+
+    <!--
+        작성자 : 박정하
+        작성일 : 2024.04.23
+        내 용 : 회원정보 목록 조회 (사용자)
+    -->
+    <select id="findAllMbr" resultMap="mberMap">
+        <include refid="findAll"></include>
+        WHERE mi.use_yn = 'Y'
+        AND mai.authrt_cd = 'ROLE_USER'
+        <include refid="selectRequirement" />
+        ORDER BY mi.reg_dt DESC
+        LIMIT #{limitStart}, #{recordSize}
+    </select>
+
+    <!--
+        작성자 : 박정하
+        작성일 : 2024.04.23
         내 용 : 회원정보 목록 조회 (관리자) 개수
     -->
-    <select id="findByMngCnt" resultType="int">
+    <select id="findAllMngCnt" resultType="int">
         SELECT count(mi.mbr_id)
         FROM mbr_info AS mi
         LEFT JOIN mbr_authrt_info AS mai
@@ -293,6 +310,21 @@
 
     <!--
         작성자 : 박정하
+        작성일 : 2024.04.23
+        내 용 : 회원정보 목록 조회 (사용자) 개수
+    -->
+    <select id="findAllMbrCnt" resultType="int">
+        SELECT count(mi.mbr_id)
+        FROM mbr_info AS mi
+        LEFT JOIN mbr_authrt_info AS mai
+        ON mi.mbr_id = mai.mbr_id
+        WHERE mi.use_yn = 'Y'
+        AND mai.authrt_cd = 'ROLE_USER'
+        <include refid="selectRequirement" />
+    </select>
+
+    <!--
+        작성자 : 박정하
         작성일 : 2024.04.24
         내 용 : 회원정보 수정
     -->
src/main/resources/mybatis/mapper/rvwMttr/rvwMttr-SQL.xml
--- src/main/resources/mybatis/mapper/rvwMttr/rvwMttr-SQL.xml
+++ src/main/resources/mybatis/mapper/rvwMttr/rvwMttr-SQL.xml
@@ -4,7 +4,7 @@
     <!-- 검토사항 resultMap -->
     <resultMap id="rvwMttrMap" type="HashMap">
         <result property="rvwMttrId" column="rvw_mttr_id" />
-        <result property="invtDscsnId" column="invt_dscsn_id" />
+        <result property="ivstDscsnId" column="ivst_dscsn_id" />
         <result property="ttl" column="ttl" />
         <result property="type" column="type" />
         <result property="clr" column="clr" />
@@ -27,7 +27,7 @@
     <insert id="rvwMttrInsert" parameterType="HashMap" useGeneratedKeys="true" keyProperty="rvwMttrId">
         INSERT INTO rvw_mttr (
             rvw_mttr_id
-            , invt_dscsn_id
+            , ivst_dscsn_id
             , type
             , clr
             , rcpt_dt
@@ -37,12 +37,12 @@
             , reg_dt
             , mdfr
             , mdfcn_dt
-        ) VALUE (
+        ) VALUES (
             #{rvwMttrId}
-            , #{invtDscsnId}
+            , #{ivstDscsnId}
             , #{type}
             , #{clr}
-            , #{rcptDt}
+            , #{rcptDt}::timestamp
             , #{rcptCn}
             , 'Y'
             , #{rgtr}
@@ -57,8 +57,11 @@
         <if test="searchText != null and searchText != ''">
             <choose>
                 <when test="searchType != null and searchType != ''">
-                    <if test="searchType == 'invt_dscsn_id'">
-                        AND rm.invt_dscsn_id = #{searchText}
+                    <if test="searchType == 'ivstDscsnId'">
+                        AND rm.ivst_dscsn_id = #{searchText}
+                    </if>
+                    <if test="searchType == 'ivst_dscsn_id'">
+                        AND rm.ivst_dscsn_id = #{searchText}
                     </if>
                     <if test="searchType == 'ent_nm'">
                         AND ei.ent_nm LIKE CONCAT('%', #{searchText}, '%')
@@ -85,16 +88,16 @@
     -->
     <select id="rvwMttrSelectList" resultMap="rvwMttrMap">
         SELECT rm.rvw_mttr_id
-             , rm.invt_dscsn_id
+             , rm.ivst_dscsn_id
              , rm.type
              , rm.clr
-             , DATE_FORMAT(rm.rcpt_dt, '%Y-%m-%d') AS mdfcn_dt
+             , to_char(rm.rcpt_dt, 'YYYY-MM-DD HH24:MI') AS rcpt_dt
              , rm.rcpt_cn
              , rm.use_yn
              , rm.rgtr
-             , DATE_FORMAT(rm.reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(rm.reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
              , rm.mdfr
-             , DATE_FORMAT(rm.mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
+             , to_char(rm.mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
              , id.ttl
              , ei.ent_nm
              , (select prgrs_crs
@@ -103,15 +106,15 @@
              order by rmp.reg_dt DESC
              limit 1 ) AS prgrs_crs
         FROM rvw_mttr AS rm
-        LEFT JOIN invt_dscsn AS id
-        ON rm.invt_dscsn_id = id.invt_dscsn_id
+        LEFT JOIN ivst_dscsn AS id
+        ON rm.ivst_dscsn_id = id.ivst_dscsn_id
         LEFT JOIN ent_info AS ei
         ON id.ent_id = ei.ent_id
         WHERE rm.use_yn = 'Y'
         <include refid="selectRequirement" />
         ORDER BY rm.rvw_mttr_id DESC
-        <if test="searchType != 'invt_dscsn_id'">
-            LIMIT #{limitStart}, #{recordSize}
+        <if test="searchType != 'ivst_dscsn_id'">
+        OFFSET #{limitStart} LIMIT #{recordSize}
         </if>
     </select>
 
@@ -123,8 +126,8 @@
     <select id="rvwMttrSelectListCount" resultType="int">
         SELECT count(*)
           FROM rvw_mttr AS rm
-     LEFT JOIN invt_dscsn AS id
-            ON rm.invt_dscsn_id = id.invt_dscsn_id
+     LEFT JOIN ivst_dscsn AS id
+            ON rm.ivst_dscsn_id = id.ivst_dscsn_id
      LEFT JOIN ent_info AS ei
             ON id.ent_id = ei.ent_id
          WHERE rm.use_yn = 'Y'
@@ -138,20 +141,20 @@
     -->
     <select id="rvwMttrSelectOne" parameterType="HashMap" resultMap="rvwMttrMap">
         SELECT  rm.rvw_mttr_id
-              , rm.invt_dscsn_id
+              , rm.ivst_dscsn_id
               , id.ttl
               , rm.type
               , rm.clr
-              , DATE_FORMAT(rm.rcpt_dt, '%Y-%m-%d') AS rcpt_dt
+              , to_char(rm.rcpt_dt, 'YYYY-MM-DD') AS rcpt_dt
               , rm.rcpt_cn
               , rm.use_yn
               , rm.rgtr
-              , DATE_FORMAT(rm.reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+              , to_char(rm.reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
               , rm.mdfr
-              , DATE_FORMAT(rm.mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
+              , to_char(rm.mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
         FROM rvw_mttr AS rm
-        LEFT JOIN invt_dscsn AS id
-        ON rm.invt_dscsn_id = id.invt_dscsn_id
+        LEFT JOIN ivst_dscsn AS id
+        ON rm.ivst_dscsn_id = id.ivst_dscsn_id
         LEFT JOIN ent_info AS ei
         ON id.ent_id = ei.ent_id
         WHERE rm.use_yn = 'Y'
@@ -165,14 +168,12 @@
     -->
     <update id="rvwMttrUpdate" parameterType="HashMap">
         UPDATE rvw_mttr
-        SET invt_dscsn_id = #{invtDscsnId}
+        SET ivst_dscsn_id = #{ivstDscsnId}
             , type = #{type}
             , clr = #{clr}
-            , rcpt_dt = #{rcptDt}
+            , rcpt_dt = #{rcptDt}::timestamp
             , rcpt_cn = #{rcptCn}
             , use_yn = #{useYn}
-            , rgtr = #{rgtr}
-            , reg_dt = #{regDt}
             , mdfr = #{mdfr}
             , mdfcn_dt = now()
         WHERE rvw_mttr_id = #{rvwMttrId}
src/main/resources/mybatis/mapper/rvwMttr/rvwMttrPrgrs-SQL.xml
--- src/main/resources/mybatis/mapper/rvwMttr/rvwMttrPrgrs-SQL.xml
+++ src/main/resources/mybatis/mapper/rvwMttr/rvwMttrPrgrs-SQL.xml
@@ -17,42 +17,43 @@
 
     <!--
     작 성 자 : 박정하
-    작 성 일 : 2024.04.01
-    내   용 : 검토사항진행 업설트
+    작 성 일 : 2024.04.25
+    내   용 : 검토사항진행 등록
     -->
-    <update id="rvwMttrPrgrsUpsert" parameterType="RvwMttrPrgrsVO">
+    <insert id="rvwMttrPrgrsInsert" parameterType="RvwMttrPrgrsVO">
         INSERT INTO rvw_mttr_prgrs (
-            rvw_mttr_prgrs_id
-            , rvw_mttr_id
+            rvw_mttr_id
             , pic_id
             , prgrs_crs
             , prgrs_dt
             , sprt_mthd
             , rgtr
             , reg_dt
-            , mdfr
-            , mdfcn_dt
-        ) VALUE (
-            #{rvwMttrPrgrsId}
-            , #{rvwMttrId}
+        ) VALUES (
+            #{rvwMttrId}
             , #{picId}
             , #{prgrsCrs}
-            , #{prgrsDt}
+            , #{prgrsDt}::timestamp
             , #{sprtMthd}
             , #{rgtr}
             , now()
-            , null
-            , null
-        ) ON DUPLICATE KEY UPDATE
-            rvw_mttr_id = #{rvwMttrId}
-            , pic_id = #{picId}
+        )
+    </insert>
+
+    <!--
+    작 성 자 : 박정하
+    작 성 일 : 2024.04.25
+    내   용 : 검토사항진행 수정
+    -->
+    <update id="rvwMttrPrgrsUpdate" parameterType="RvwMttrPrgrsVO">
+        UPDATE rvw_mttr_prgrs
+        SET pic_id = #{picId}
             , prgrs_crs = #{prgrsCrs}
-            , prgrs_dt = #{prgrsDt}
+            , prgrs_dt = #{prgrsDt}::timestamp
             , sprt_mthd = #{sprtMthd}
-            , rgtr = #{rgtr}
-            , reg_dt = #{regDt}
             , mdfr = #{mdfr}
             , mdfcn_dt = now()
+        WHERE rvw_mttr_prgrs_id = #{rvwMttrPrgrsId}
     </update>
 
     <!--
@@ -65,12 +66,12 @@
              , rvw_mttr_id
              , pic_id
              , prgrs_crs
-             , DATE_FORMAT(prgrs_dt, '%Y-%m-%d') AS prgrs_dt
+             , to_char(prgrs_dt, 'YYYY-MM-DD') AS prgrs_dt
              , sprt_mthd
              , rgtr
-             , DATE_FORMAT(reg_dt, '%Y-%m-%d %H:%i') AS reg_dt
+             , to_char(reg_dt, 'YYYY-MM-DD HH24:MI') AS reg_dt
              , mdfr
-             , DATE_FORMAT(mdfcn_dt, '%Y-%m-%d %H:%i') AS mdfcn_dt
+             , to_char(mdfcn_dt, 'YYYY-MM-DD HH24:MI') AS mdfcn_dt
         FROM rvw_mttr_prgrs
         WHERE rvw_mttr_id = #{rvwMttrId}
         ORDER BY rvw_mttr_prgrs_id DESC
Add a comment
List