| | |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.dto.WorkTypeQueryDTO; |
| | | import com.doumee.dao.business.model.Worktype; |
| | | import com.doumee.service.business.WorktypeService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("根据保险方案查询工种信息") |
| | | @GetMapping("/getBySolutionsId") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "solutionId", value = "方案主键", required = true), |
| | | }) |
| | | public ApiResponse<List<Worktype>> getBySolutionsId (@RequestParam Integer solutionId) { |
| | | return ApiResponse.success(worktypeService.getBySolutionsId(solutionId)); |
| | | @ApiOperation("根据条件工种列表") |
| | | @PostMapping("/findListByDTO") |
| | | public ApiResponse<List<Worktype>> findListByDTO (@RequestBody WorkTypeQueryDTO workTypeQueryDTO) { |
| | | return ApiResponse.success(worktypeService.findListByDTO(workTypeQueryDTO)); |
| | | } |
| | | |
| | | |