| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Api(tags = "资质说明") |
| | | @AllArgsConstructor |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "查询资质明细列表") |
| | | @PostMapping("/getCertificationDetail") |
| | | @GetMapping("/getCertificationDetail") |
| | | public Result getCertificationDetail(Page page,Certification certification) { |
| | | return Result.success(certificationService.getCertificationDetail(page, certification)); |
| | | } |
| | |
| | | return Result.success(certificationService.addCertificationDetail(certification)); |
| | | } |
| | | @ApiOperation(value = "删除资质明细列表") |
| | | @PostMapping("/delCertificationDetail") |
| | | @DeleteMapping("/delCertificationDetail") |
| | | public Result<?> delCertificationDetail( String ids) { |
| | | return Result.success(certificationService.delCertificationDetail(ids)); |
| | | } |