|
@@ -67,6 +67,12 @@ public class PtlAgreementController extends BaseController {
|
|
|
return HttpResult.ok(buildPageResponse(pageResultHttpResult));
|
|
return HttpResult.ok(buildPageResponse(pageResultHttpResult));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @GetMapping("getAllAgreement")
|
|
|
|
|
+ @ApiOperation("获取所有协议")
|
|
|
|
|
+ public HttpResult<List<PtlAgreement>> getAllAgreement(){
|
|
|
|
|
+ return HttpResult.ok(ptlAgreementService.getAllAgreement());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@PostMapping("/list")
|
|
@PostMapping("/list")
|
|
|
@ApiOperation("根据保险公司查询协议列表")
|
|
@ApiOperation("根据保险公司查询协议列表")
|
|
|
public HttpResult<List<PtlAgreement>> list(@RequestBody PtlAgreementPageVo ptlAgreementPageVo) {
|
|
public HttpResult<List<PtlAgreement>> list(@RequestBody PtlAgreementPageVo ptlAgreementPageVo) {
|