lyhzzz 1 개월 전
부모
커밋
e4c474beaf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/java/com/fdkankan/fusion/controller/CaseOverviewController.java

+ 1 - 0
src/main/java/com/fdkankan/fusion/controller/CaseOverviewController.java

@@ -60,6 +60,7 @@ public class CaseOverviewController {
     public ResultData addOrUpdate (@RequestBody CaseOverview caseOverview){
         caseOverviewService.saveOrUpdate(caseOverview);
         caseOverview.getCaseTabulation().setOverviewId(caseOverview.getId());
+        caseOverview.getCaseTabulation().setCaseId(caseOverview.getCaseId());
         caseTabulationService.addOrUpdate(caseOverview.getCaseTabulation());
         return ResultData.ok(caseOverview);
     }