洪城义警-正式版后台
zengh
2023-01-02 c957a8c67d593966e4882f8bef73c7d58012f19d
src/main/java/org/springblade/modules/taskqd/controller/TaskqdController.java
@@ -106,6 +106,14 @@
   @ApiOperationSupport(order = 5)
   @ApiOperation(value = "修改", notes = "传入task")
   public R update(@Valid @RequestBody Taskqd taskqd) {
      if (taskqd.getStime() == null || taskqd.getStime().equals("")){
         taskqd.setStime(null);
      }
      if (taskqd.getSendtime() == null || taskqd.getSendtime().equals("")){
         taskqd.setSendtime(null);
      }
      return R.status(taskqdService.updateById(taskqd));
   }