| | |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.task.dto.TaskHotelReportingDTO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.task.entity.TaskHotelReportingEntity; |
| | |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入taskHotelReporting") |
| | | public R save(@Valid @RequestBody TaskHotelReportingEntity taskHotelReporting) { |
| | | public R save(@Valid @RequestBody TaskHotelReportingDTO taskHotelReporting) { |
| | | return R.status(taskHotelReportingService.saveHotelReporting(taskHotelReporting)); |
| | | } |
| | | |