Commit 9e19f051 by zhangxingmin

push

parent d81a9680
......@@ -78,7 +78,7 @@ public class ApiExcelImportAppointmentDto {
/**
* 保险公司名称(冗余字段)(产品计划信息表)
*/
@ExcelField(name = "隨行人員聯絡電話", titleRow = 19, titleCol = 0, valueRow = 19, valueCol = 1)
@ExcelField(name = "保險公司", titleRow = 19, titleCol = 0, valueRow = 19, valueCol = 1)
private String planCompanyName;
/**
......@@ -509,22 +509,27 @@ public class ApiExcelImportAppointmentDto {
List<GetDictItemListByDictTypeResponse> dictTypeResponses) {
//到港时间
infoDto.setArrivalTime(DateUtil.getLocalDateTime(dto.getHkArrivalTime()));
//业务编号->介绍人编号 TODO
//业务编号->介绍人编号 TODO 转介人内部编号
// infoDto.setBusinessNo(dto.getMainReferrerId());
//签单日->预约日期 (西元 年/月/日) + 預約時間
infoDto.setSignDate(DateUtil.getLocalDateTime(dto.getMainIntentionAppointmentDate() + " " + dto.getMainIntentionAppointmentTime()));
//离港时间->离港(澳)日期及时间(离港时间)(预约信息主表)
//抵港(澳)日期及时间(年/月/日 时:分) -> 到港时间
infoDto.setArrivalTime(DateUtil.getLocalDateTime(dto.getHkArrivalTime()));
//离港(澳)日期及时间(离港时间 (年/月/日 时:分)) -> 离港时间
infoDto.setDepartureTime(DateUtil.getLocalDateTime(dto.getHkDepartureTime()));
//会面地点
infoDto.setMeetingPoint(dto.getHkMeetingPoint());
//客户在港期间联络电话->客户在港期间联络电话(预约信息主表)区号+号码
infoDto.setHkMobileCode(StringUtil.getSplitStr(dto.getHkHkMobile(),"-",0));
infoDto.setHkMobile(StringUtil.getSplitStr(dto.getHkHkMobile(),"-",1));
//是否体检
infoDto.setIsTj(Integer.getInteger(GetDictItemListByDictTypeResponse.getItemValue(dictTypeResponses,
DictTypeEnum.SYS_NO_YES.getItemValue(),dto.getMainIsTj())));
//会面地点
infoDto.setMeetingPoint(dto.getHkMeetingPoint());
//转保声明选项 TODO
// infoDto.setPolicyTransfer();
//随行人员 TODO 转介人
return infoDto;
}
......@@ -539,8 +544,14 @@ public class ApiExcelImportAppointmentDto {
List<GetDictItemListByDictTypeResponse> dictTypeResponses) {
//保险公司名称
infoDto.setCompanyName(dto.getPlanCompanyName());
//货币(字典)
//保险公司ID TODO
// infoDto.setCompanyId();
//基本計劃名稱 -> 产品上架信息表名称(标题)
infoDto.setProductLaunchMainName(dto.getPlanProductName());
//保单币别 -> 保单币种
infoDto.setPolicyCurrency(dto.getPlanCurrency());
//供款频率 -> 付款频率(字典)
infoDto.setPaymentFrequency(dto.getPlanPaymentFrequency());
//预付额 TODO
// infoDto.setDeductibles();
//红利分配方式(字典)
......@@ -557,12 +568,10 @@ public class ApiExcelImportAppointmentDto {
//是否预缴保费->是否預繳保費 (如是,請填寫首期保費以外的剩餘保費)(是否预缴保费: 0-否, 1-是(字典)(产品计划信息表))
infoDto.setIsPrepay(Integer.parseInt(GetDictItemListByDictTypeResponse.getItemValue(dictTypeResponses,
DictTypeEnum.SYS_NO_YES.getItemValue(),dto.getPlanIsPrepay())));
//付款频率
infoDto.setPaymentFrequency(dto.getPlanPaymentFrequency());
//供款年期
infoDto.setIssueNumber(dto.getPlanPaymentTerm());
//保险产品名称->基本計劃名稱
infoDto.setProductLaunchMainName(dto.getPlanProductName());
//续期付款方式
infoDto.setRenewalPaymentMethod(GetDictItemListByDictTypeResponse.getItemValue(dictTypeResponses,
DictTypeEnum.CSF_AP_FIRST_ISSUE.getItemValue(),dto.getPlanRenewalPaymentMethod()));
......
......@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yd.csf.service.dto.*;
import com.yd.csf.service.enums.PolicyFollowStatusEnum;
import com.yd.csf.service.model.Policy;
import com.yd.csf.service.model.PolicyFollow;
import com.yd.csf.service.vo.PolicyFollowDetailVO;
import com.yd.csf.service.vo.PolicyFollowVO;
......@@ -83,4 +84,6 @@ public interface PolicyFollowService extends IService<PolicyFollow> {
* @return 保单号列表
*/
Page<PolicyNumberResponseVO> queryPolicyNumbers(PolicyNosQueryRequest policyNosQueryRequest);
List<PolicyFollow> queryList(List<String> policyNoList);
}
......@@ -845,6 +845,14 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
return resultPage;
}
@Override
public List<PolicyFollow> queryList(List<String> policyNoList) {
List<PolicyFollow> list = baseMapper.selectList(new LambdaQueryWrapper<PolicyFollow>()
.in(!CollectionUtils.isEmpty(policyNoList), PolicyFollow::getPolicyNo, policyNoList)
);
return list;
}
/**
* 转换为保单号查询响应视图
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment