lyhzzz 2 tahun lalu
induk
melakukan
fbcfea5cfc

+ 1 - 1
src/main/java/com/fdkankan/manage_jp/service/impl/CameraServiceImpl.java

@@ -60,7 +60,7 @@ public class CameraServiceImpl extends MPJBaseServiceImpl<ICameraMapper, Camera>
     public Object pageList(CameraListParam param) {
         Page<ResponseCamera> page = this.getBaseMapper().pageList(new Page<>(param.getPage(),param.getLimit()),param);
         for (ResponseCamera record : page.getRecords()) {
-            record.setCameraType(record.getType().toString());
+            record.setCameraType(record.getType());
         }
         return PageInfo.PageInfo(page);
     }

+ 1 - 1
src/main/java/com/fdkankan/manage_jp/vo/response/ResponseCamera.java

@@ -55,7 +55,7 @@ public class ResponseCamera implements Serializable {
     private String wifiName;
 
 
-    private String cameraType;
+    private Integer cameraType;
 
 
     private String spaceEndTime;