Pārlūkot izejas kodu

行程周期已用时

guoyong 4 gadi atpakaļ
vecāks
revīzija
b361113395

+ 1 - 1
src/main/java/com/aoyang/tms/controller/WorkCycleController.java

@@ -60,7 +60,7 @@ public class WorkCycleController {
         if (workCycle.getStatus() == 2) {
             workCycleVo.setTime(DateUtils.betweenTime(workCycle.getStartTime(), workCycle.getEndTime()));
         }
-        return new Result<>(workCycle);
+        return new Result<>(workCycleVo);
     }
 
     @ApiOperation(value = "更新前行程周期天气", notes = "必传参数:id和天气信息")