ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java
@@ -123,6 +123,7 @@ public Result importData(MultipartFile file, Integer unitId, String startTime, Boolean needUpdateUnit, String endTime) throws IOException, ParseException { Date start = null; Date end = null; @@ -137,7 +138,7 @@ SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); end = format.parse(endTime); } return ywPointService.importData(file, unitId, start, end); return ywPointService.importData(file, unitId, start, end, needUpdateUnit); } }