linwei
2024-01-02 31b6aefacbee9dde61be6afcb7c6dbbf7c6baa7d
src/main/java/org/springblade/modules/task/service/impl/TaskHotelReportingServiceImpl.java
@@ -29,6 +29,7 @@
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
/**
 * 旅馆安全自查任务 服务实现类
@@ -64,6 +65,9 @@
   public Boolean updateHotelReporting(TaskHotelReportingEntity taskHotelReporting) {
      Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), taskHotelReporting.getTaskId(), taskHotelReporting.getStatus());
      if (aLong > 0) {
         taskHotelReporting.setConfirmFlag(taskHotelReporting.getStatus().toString());
         taskHotelReporting.setConfirmUserId(AuthUtil.getUserId());
         taskHotelReporting.setConfirmTime(new Date());
         return baseMapper.updateById(taskHotelReporting) > 0 ? true : false;
      }
      return false;