From fc1c1be21885285924e4875ff1892a95eda441cd Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Fri, 26 Mar 2021 14:42:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=90=8E=E7=AE=A1=E7=90=86=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../guarantee/controller/AlInsuranceListController.java | 5 +++-- .../financial/guarantee/mapper/AlInsuranceListMapper.java | 2 +- .../guarantee/service/IAlInsuranceListService.java | 2 +- .../guarantee/service/impl/AlInsuranceListServiceImpl.java | 4 ++-- .../resources/mapper/guarantee/AlInsuranceListMapper.xml | 6 ++++-- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlInsuranceListController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlInsuranceListController.java index 8ff947d1..5d17b671 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlInsuranceListController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlInsuranceListController.java @@ -42,9 +42,10 @@ public class AlInsuranceListController { @GetMapping("/insuranceList") @ApiOperation(value = "保后管理列表") public ResponseResult insuranceList(@RequestParam(value="page",required=false) Integer page, @RequestParam(value="size",required=false) Integer size, - @RequestParam(value = "CustomerNumberOrName", required = false) String CustomerNumberOrName){ + @RequestParam(value = "CustomerNumberOrName", required = false) String CustomerNumberOrName, + @RequestParam(value = "paymentStatus", required = false) Integer paymentStatus){ - PageUtils data = alInsuranceListService.queryPage(page, size, CustomerNumberOrName); + PageUtils data = alInsuranceListService.queryPage(page, size, CustomerNumberOrName, paymentStatus); return new ResponseResult().SUCCESS(data); } diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/AlInsuranceListMapper.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/AlInsuranceListMapper.java index 2ca25cd2..08f0d47f 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/AlInsuranceListMapper.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/AlInsuranceListMapper.java @@ -20,7 +20,7 @@ import java.util.List; @Mapper public interface AlInsuranceListMapper extends BaseMapper { - IPage pageByCondition(Page page, String customerNumberOrName); + IPage pageByCondition(Page page, String customerNumberOrName,Integer paymentStatus); List selectListByIds(List ids); } diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IAlInsuranceListService.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IAlInsuranceListService.java index e2fb3459..3cabd4a4 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IAlInsuranceListService.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IAlInsuranceListService.java @@ -19,7 +19,7 @@ import java.util.List; */ public interface IAlInsuranceListService extends IService { - PageUtils queryPage(Integer page, Integer size, String customerNumberOrName); + PageUtils queryPage(Integer page, Integer size, String customerNumberOrName,Integer paymentStatus); AlInsuranceListRes insuranceDetail(Integer id); diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/AlInsuranceListServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/AlInsuranceListServiceImpl.java index 3dda32bf..d8ab91d9 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/AlInsuranceListServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/AlInsuranceListServiceImpl.java @@ -40,7 +40,7 @@ public class AlInsuranceListServiceImpl extends ServiceImpl positionVO = this.getBaseMapper().pageByCondition(new Page(page, size),customerNumberOrName); + IPage positionVO = this.getBaseMapper().pageByCondition(new Page(page, size),customerNumberOrName,paymentStatus); return new PageUtils(positionVO); } diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/AlInsuranceListMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/AlInsuranceListMapper.xml index fa3bb2e7..b52084d2 100644 --- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/AlInsuranceListMapper.xml +++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/AlInsuranceListMapper.xml @@ -26,9 +26,11 @@