From 6d5a775e7fbd2caf610e411f51b0705bc7fca113 Mon Sep 17 00:00:00 2001 From: Kurisu Date: Mon, 26 Oct 2020 21:21:38 +0800 Subject: [PATCH] :construction: 新增 --- fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/ACTodoListVO.java | 4 ---- fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/FollowTodoListVO.java | 4 ++++ fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/FMFollowStrategy.java | 1 + fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java | 1 + fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/RMFollowStrategy.java | 1 + 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/ACTodoListVO.java b/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/ACTodoListVO.java index c4ef7c7..e43c2ee 100644 --- a/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/ACTodoListVO.java +++ b/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/ACTodoListVO.java @@ -19,10 +19,6 @@ public class ACTodoListVO extends FollowTodoListVO { * 保险公司名称 */ private String insComName; - /** - * 车牌号 - */ - private String plateNo; public Integer getType() { return FollowTypeEnum.AC.getValue(); diff --git a/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/FollowTodoListVO.java b/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/FollowTodoListVO.java index ae08a47..21b7156 100644 --- a/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/FollowTodoListVO.java +++ b/fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/follow/FollowTodoListVO.java @@ -22,6 +22,10 @@ public class FollowTodoListVO { */ private Long taskId; /** + * 车牌号 + */ + private String plateNo; + /** * 档案id */ private Long customerId; diff --git a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/FMFollowStrategy.java b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/FMFollowStrategy.java index da1546a..01e908e 100644 --- a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/FMFollowStrategy.java +++ b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/FMFollowStrategy.java @@ -58,6 +58,7 @@ public class FMFollowStrategy extends AbstractFollowStrategy { vo.setDeadline(followRecord.getDeadline()); CustomerDetailDto customerDetailDto = queryCustomerInfo(followRecord.getCustomerId()); vo.setName(customerDetailDto.getName()); + vo.setPlateNo(customerDetailDto.getPlateNo()); vo.setCarImage(customerDetailDto.getCarImage()); vo.setBuyDate(customerDetailDto.getBuyDate()); Optional followTask = Optional.ofNullable(followTaskService.getById(followRecord.getTaskId())); diff --git a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java index 0c0f302..d3131b0 100644 --- a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java +++ b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java @@ -63,6 +63,7 @@ public class IRFollowStrategy extends AbstractFollowStrategy { CustomerDetailDto customerDetailDto = queryCustomerInfo(followRecord.getCustomerId()); vo.setName(customerDetailDto.getName()); vo.setCarImage(customerDetailDto.getCarImage()); + vo.setPlateNo(customerDetailDto.getPlateNo()); Optional insuranceDTO = queryInsuInfo(followRecord.getCustomerId()); insuranceDTO.ifPresent(ins -> { vo.setInsComName(ins.getInsurerName()); diff --git a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/RMFollowStrategy.java b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/RMFollowStrategy.java index ef055d0..28edb1d 100644 --- a/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/RMFollowStrategy.java +++ b/fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/RMFollowStrategy.java @@ -71,6 +71,7 @@ public class RMFollowStrategy extends AbstractFollowStrategy { CustomerDetailDto customerDetailDto = queryCustomerInfo(followRecord.getCustomerId()); vo.setName(customerDetailDto.getName()); vo.setCarImage(customerDetailDto.getCarImage()); + vo.setPlateNo(customerDetailDto.getPlateNo()); vo.setLastMileage(customerDetailDto.getCurrentMileage()); OriginalData originalData = originalDataService.getOne(Wrappers.lambdaQuery() -- libgit2 0.22.2