| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.system.dto.CleanerDTO; |
| | | import com.ruoyi.system.dto.ProjectDeptDTO; |
| | | import com.ruoyi.system.model.TCleaner; |
| | | import com.ruoyi.system.model.TProjectDept; |
| | | import com.ruoyi.system.query.CleanerListQuery; |
| | | import com.ruoyi.system.query.ProjectDeptListQuery; |
| | | import com.ruoyi.system.service.TCleanerService; |
| | | import com.ruoyi.system.service.TProjectDeptService; |
| | | import com.ruoyi.system.vo.system.CleanerListVO; |
| | | import com.ruoyi.system.vo.system.ProjectDeptListVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | return R.ok(); |
| | | } |
| | | @ApiOperation(value = "详情保洁员") |
| | | @PostMapping(value = "/detail") |
| | | @GetMapping(value = "/detail") |
| | | public R<TCleaner> detail(@RequestParam String id) { |
| | | return R.ok(cleanerService.getById(id)); |
| | | } |