| | |
| | | import org.springblade.common.constant.DictConstant; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.modules.task.dto.TaskHotelReportingDTO; |
| | | import org.springblade.modules.task.entity.TaskHotelReportingEntity; |
| | | import org.springblade.modules.task.mapper.TaskHotelReportingMapper; |
| | | import org.springblade.modules.task.service.ITaskHotelReportingService; |
| | |
| | | |
| | | |
| | | @Override |
| | | public boolean saveHotelReporting(TaskHotelReportingEntity taskHotelReporting) { |
| | | Long aLong = taskService.saveTask(1, DictConstant.HOTEL_SECURITY, 2, "", AuthUtil.getUserId()); |
| | | public boolean saveHotelReporting(TaskHotelReportingDTO taskHotelReporting) { |
| | | Long aLong = taskService.saveTask(1, DictConstant.HOTEL_SECURITY, 2, "", AuthUtil.getUserId(),taskHotelReporting.getHouseCode()); |
| | | if (aLong > 0) { |
| | | taskHotelReporting.setTaskId(aLong); |
| | | taskHotelReporting.setCheckUserId(AuthUtil.getUserId()); |