lyhzzz 7 달 전
부모
커밋
bf18e0d482

+ 3 - 0
src/main/java/com/fdkankan/fusion/entity/CaseEntity.java

@@ -68,6 +68,9 @@ public class CaseEntity implements Serializable {
     @TableField("lat_and_long")
     private String latAndLong;
 
+    @TableField("map_show")
+    private Boolean mapShow;
+
     @TableField(exist = false)
     private String deptName;
 }

+ 1 - 0
src/main/java/com/fdkankan/fusion/request/CaseParam.java

@@ -19,4 +19,5 @@ public class CaseParam extends RequestBase {
     private String mapUrl;
 
     private String latAndLong;
+    private Boolean mapShow;
 }

+ 1 - 0
src/main/java/com/fdkankan/fusion/service/impl/CaseServiceImpl.java

@@ -232,6 +232,7 @@ public class CaseServiceImpl extends ServiceImpl<ICaseMapper, CaseEntity> implem
             caseEntity = this.getById(param.getCaseId());
         }
         caseEntity.setCaseTitle(param.getCaseTitle());
+        caseEntity.setMapShow(param.getMapShow());
         caseEntity.setLatAndLong(param.getLatAndLong());
         caseEntity.setMapUrl(param.getMapUrl());
         caseEntity.setUpdateTime(null);