|
@@ -23,12 +23,14 @@ import com.jzg.commons.entity.po.EsmInsCompany;
|
|
|
import com.jzg.commons.entity.po.InsFeeOrders;
|
|
import com.jzg.commons.entity.po.InsFeeOrders;
|
|
|
import com.jzg.commons.entity.po.PtlAgreement;
|
|
import com.jzg.commons.entity.po.PtlAgreement;
|
|
|
import com.jzg.commons.entity.po.SysUploadFiles;
|
|
import com.jzg.commons.entity.po.SysUploadFiles;
|
|
|
|
|
+import com.jzg.commons.entity.quote.vo.orders.InsOrdersVo;
|
|
|
import com.jzg.commons.exception.ServiceException;
|
|
import com.jzg.commons.exception.ServiceException;
|
|
|
import com.jzg.commons.exception.SystemException;
|
|
import com.jzg.commons.exception.SystemException;
|
|
|
import com.jzg.commons.util.*;
|
|
import com.jzg.commons.util.*;
|
|
|
import com.jzg.commons.util.idgen.IdGenerate;
|
|
import com.jzg.commons.util.idgen.IdGenerate;
|
|
|
import com.jzg.organization.client.EsmInsCompanyClient;
|
|
import com.jzg.organization.client.EsmInsCompanyClient;
|
|
|
import com.jzg.organization.client.InsFeeOrdersClient;
|
|
import com.jzg.organization.client.InsFeeOrdersClient;
|
|
|
|
|
+import com.jzg.organization.client.InsOrdersClient;
|
|
|
import com.jzg.organization.excel.listener.*;
|
|
import com.jzg.organization.excel.listener.*;
|
|
|
import com.jzg.organization.mapper.*;
|
|
import com.jzg.organization.mapper.*;
|
|
|
import com.jzg.organization.service.ReceivableService;
|
|
import com.jzg.organization.service.ReceivableService;
|
|
@@ -107,6 +109,8 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private InsFeeOrdersClient insFeeOrdersClient;
|
|
private InsFeeOrdersClient insFeeOrdersClient;
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private InsOrdersClient insOrdersClient;
|
|
|
|
|
|
|
|
@Value("${upload.file.path}")
|
|
@Value("${upload.file.path}")
|
|
|
private String uploadPath;
|
|
private String uploadPath;
|
|
@@ -1067,6 +1071,28 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 查询订单
|
|
|
|
|
+ HttpResult<InsOrdersVo> insOrdersVoHttpResult = insOrdersClient.selectById(vo.getOrderNo());
|
|
|
|
|
+ InsOrdersVo data = insOrdersVoHttpResult.getData();
|
|
|
|
|
+ if (null == data){
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("订单号不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 查询数据库中是否已存在该协议
|
|
|
|
|
+ PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
|
|
|
+ .eq(PtlAgreement::getId, data.getAgreementId()));
|
|
|
|
|
+
|
|
|
|
|
+ // 数据库不存在 → 直接失败
|
|
|
|
|
+ if (Objects.isNull(ptlAgreement) || !ptlAgreement.getAgreementType().toString().equals(vo.getAgreementType())) {
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("协议编码在协议中不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 封装修改数据
|
|
// 封装修改数据
|
|
|
InsPlyIncome insPlyIncome = new InsPlyIncome();
|
|
InsPlyIncome insPlyIncome = new InsPlyIncome();
|
|
|
insPlyIncome.setId(existIncome.getId());
|
|
insPlyIncome.setId(existIncome.getId());
|
|
@@ -1082,6 +1108,11 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
insPlyIncome.setJyOtherCostsProportion(vo.getJyOtherCostsProportion());
|
|
insPlyIncome.setJyOtherCostsProportion(vo.getJyOtherCostsProportion());
|
|
|
insPlyIncome.setContactPerson(vo.getDockingPerson());
|
|
insPlyIncome.setContactPerson(vo.getDockingPerson());
|
|
|
insPlyIncome.setContactPersonPhone(vo.getDockingPersonPhone());
|
|
insPlyIncome.setContactPersonPhone(vo.getDockingPersonPhone());
|
|
|
|
|
+ // 协议编号
|
|
|
|
|
+ insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
+ insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
|
|
|
+ insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
|
|
|
+ insPlyIncome.setSystemCode(ptlAgreement.getSystemCode());
|
|
|
|
|
|
|
|
// 加入修改列表
|
|
// 加入修改列表
|
|
|
updateExcel.add(insPlyIncome);
|
|
updateExcel.add(insPlyIncome);
|
|
@@ -1188,13 +1219,22 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 查询订单
|
|
|
|
|
+ HttpResult<InsOrdersVo> insOrdersVoHttpResult = insOrdersClient.selectById(vo.getOrderNo());
|
|
|
|
|
+ InsOrdersVo data = insOrdersVoHttpResult.getData();
|
|
|
|
|
+ if (null == data){
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("订单号不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 查询数据库中是否已存在该协议
|
|
// 查询数据库中是否已存在该协议
|
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
|
- .eq(PtlAgreement::getAgreementCode, vo.getAgreementCode())
|
|
|
|
|
- .eq(PtlAgreement::getAgreementType, vo.getAgreementType()));
|
|
|
|
|
|
|
+ .eq(PtlAgreement::getId, data.getAgreementId()));
|
|
|
|
|
|
|
|
// 数据库不存在 → 直接失败
|
|
// 数据库不存在 → 直接失败
|
|
|
- if (Objects.isNull(ptlAgreement)) {
|
|
|
|
|
|
|
+ if (Objects.isNull(ptlAgreement) || !ptlAgreement.getAgreementType().toString().equals(vo.getAgreementType())) {
|
|
|
failedNumber++;
|
|
failedNumber++;
|
|
|
vo.setErrorMessage("协议编码在协议中不存在");
|
|
vo.setErrorMessage("协议编码在协议中不存在");
|
|
|
failedExcel.add(vo);
|
|
failedExcel.add(vo);
|
|
@@ -1225,6 +1265,7 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
|
insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
|
|
|
+ insPlyIncome.setSystemCode(ptlAgreement.getSystemCode());
|
|
|
// 险种编号
|
|
// 险种编号
|
|
|
insPlyIncome.setProductId(vo.getProductId());
|
|
insPlyIncome.setProductId(vo.getProductId());
|
|
|
// 险种名称
|
|
// 险种名称
|
|
@@ -1294,6 +1335,12 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
return importExcelResultVo;
|
|
return importExcelResultVo;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public boolean deleteSettlementById(String id) {
|
|
|
|
|
+ log.info("私有协议-结算记录-删除: id=[{}]",id);
|
|
|
|
|
+ return insPlyIncomeInvoiceSettlementMapper.deleteById(id) > 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@@ -1462,10 +1509,21 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //匹配协议号
|
|
|
|
|
|
|
+ // 查询订单
|
|
|
|
|
+ HttpResult<InsOrdersVo> insOrdersVoHttpResult = insOrdersClient.selectById(vo.getOrderNo());
|
|
|
|
|
+ InsOrdersVo data = insOrdersVoHttpResult.getData();
|
|
|
|
|
+ if (null == data){
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("订单号不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 查询数据库中是否已存在该协议
|
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
|
- .eq(PtlAgreement::getAgreementCode, vo.getAgreementCode()));
|
|
|
|
|
- if (Objects.isNull(ptlAgreement)) {
|
|
|
|
|
|
|
+ .eq(PtlAgreement::getId, data.getAgreementId()));
|
|
|
|
|
+
|
|
|
|
|
+ if (Objects.isNull(ptlAgreement) || !ptlAgreement.getAgreementType().toString().equals(vo.getAgreementType())) {
|
|
|
failedNumber++;
|
|
failedNumber++;
|
|
|
vo.setErrorMessage("匹配协议编号失败");
|
|
vo.setErrorMessage("匹配协议编号失败");
|
|
|
failedExcel.add(vo);
|
|
failedExcel.add(vo);
|
|
@@ -1512,13 +1570,17 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
insPlyIncome.setCompanyId(matchCompany.getId());
|
|
insPlyIncome.setCompanyId(matchCompany.getId());
|
|
|
insPlyIncome.setCompanyName(matchCompany.getName());
|
|
insPlyIncome.setCompanyName(matchCompany.getName());
|
|
|
// insPlyIncome.setSigningTime(signDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
|
|
// insPlyIncome.setSigningTime(signDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
|
|
|
- insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
insPlyIncome.setLicenseNo(vo.getLicenseNo());
|
|
insPlyIncome.setLicenseNo(vo.getLicenseNo());
|
|
|
insPlyIncome.setJqPolicyNo(vo.getJqPolicyNo());
|
|
insPlyIncome.setJqPolicyNo(vo.getJqPolicyNo());
|
|
|
insPlyIncome.setJqPremium(vo.getJqPremium().toString());
|
|
insPlyIncome.setJqPremium(vo.getJqPremium().toString());
|
|
|
insPlyIncome.setJqSuperviseCostsProportion(vo.getJqSuperviseRatio().toString());
|
|
insPlyIncome.setJqSuperviseCostsProportion(vo.getJqSuperviseRatio().toString());
|
|
|
insPlyIncome.setContactPerson(vo.getContactPerson());
|
|
insPlyIncome.setContactPerson(vo.getContactPerson());
|
|
|
insPlyIncome.setContactPersonPhone(vo.getContactPersonPhone());
|
|
insPlyIncome.setContactPersonPhone(vo.getContactPersonPhone());
|
|
|
|
|
+ // 协议编号
|
|
|
|
|
+ insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
+ insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
|
|
|
+ insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
|
|
|
+ insPlyIncome.setSystemCode(ptlAgreement.getSystemCode());
|
|
|
successExcel.add(insPlyIncome);
|
|
successExcel.add(insPlyIncome);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1558,10 +1620,20 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //匹配协议号
|
|
|
|
|
|
|
+ // 查询订单
|
|
|
|
|
+ HttpResult<InsOrdersVo> insOrdersVoHttpResult = insOrdersClient.selectById(vo.getOrderNo());
|
|
|
|
|
+ InsOrdersVo data = insOrdersVoHttpResult.getData();
|
|
|
|
|
+ if (null == data){
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("订单号不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 查询数据库中是否已存在该协议
|
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
|
- .eq(PtlAgreement::getAgreementCode, vo.getAgreementCode()));
|
|
|
|
|
- if (Objects.isNull(ptlAgreement)) {
|
|
|
|
|
|
|
+ .eq(PtlAgreement::getId, data.getAgreementId()));
|
|
|
|
|
+ if (Objects.isNull(ptlAgreement) || !ptlAgreement.getAgreementType().toString().equals(vo.getAgreementType())) {
|
|
|
failedNumber++;
|
|
failedNumber++;
|
|
|
vo.setErrorMessage("匹配协议编号失败");
|
|
vo.setErrorMessage("匹配协议编号失败");
|
|
|
failedExcel.add(vo);
|
|
failedExcel.add(vo);
|
|
@@ -1607,13 +1679,17 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
insPlyIncome.setId(IdGenerate.nextId());
|
|
insPlyIncome.setId(IdGenerate.nextId());
|
|
|
insPlyIncome.setCompanyId(matchCompany.getId());
|
|
insPlyIncome.setCompanyId(matchCompany.getId());
|
|
|
// insPlyIncome.setSigningTime(signDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
|
|
// insPlyIncome.setSigningTime(signDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
|
|
|
- insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
insPlyIncome.setLicenseNo(vo.getLicenseNo());
|
|
insPlyIncome.setLicenseNo(vo.getLicenseNo());
|
|
|
insPlyIncome.setJqPolicyNo(vo.getJqPolicyNo());
|
|
insPlyIncome.setJqPolicyNo(vo.getJqPolicyNo());
|
|
|
insPlyIncome.setJqPremium(vo.getJqPremium().toString());
|
|
insPlyIncome.setJqPremium(vo.getJqPremium().toString());
|
|
|
insPlyIncome.setJqOtherCostsProportion(vo.getJqOtherRatio().toString());
|
|
insPlyIncome.setJqOtherCostsProportion(vo.getJqOtherRatio().toString());
|
|
|
insPlyIncome.setContactPerson(vo.getContactPerson());
|
|
insPlyIncome.setContactPerson(vo.getContactPerson());
|
|
|
insPlyIncome.setContactPersonPhone(vo.getContactPersonPhone());
|
|
insPlyIncome.setContactPersonPhone(vo.getContactPersonPhone());
|
|
|
|
|
+ // 协议编号
|
|
|
|
|
+ insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
+ insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
|
|
|
+ insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
|
|
|
+ insPlyIncome.setSystemCode(ptlAgreement.getSystemCode());
|
|
|
successExcel.add(insPlyIncome);
|
|
successExcel.add(insPlyIncome);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1678,6 +1754,28 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 查询订单
|
|
|
|
|
+ HttpResult<InsOrdersVo> insOrdersVoHttpResult = insOrdersClient.selectById(vo.getOrderNo());
|
|
|
|
|
+ InsOrdersVo data = insOrdersVoHttpResult.getData();
|
|
|
|
|
+ if (null == data){
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("订单号不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 查询数据库中是否已存在该协议
|
|
|
|
|
+ PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
|
|
|
+ .eq(PtlAgreement::getId, data.getAgreementId()));
|
|
|
|
|
+
|
|
|
|
|
+ // 数据库不存在 → 直接失败
|
|
|
|
|
+ if (Objects.isNull(ptlAgreement) || !ptlAgreement.getAgreementType().toString().equals(vo.getAgreementType())) {
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("协议编码在协议中不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 3. 查询数据库中是否已存在该保单号
|
|
// 3. 查询数据库中是否已存在该保单号
|
|
|
InsPlyIncome existIncome = baseMapper.selectOne(new LambdaQueryWrapper<InsPlyIncome>()
|
|
InsPlyIncome existIncome = baseMapper.selectOne(new LambdaQueryWrapper<InsPlyIncome>()
|
|
|
.eq(InsPlyIncome::getJqPolicyNo, vo.getJqPolicyNo()));
|
|
.eq(InsPlyIncome::getJqPolicyNo, vo.getJqPolicyNo()));
|
|
@@ -1717,6 +1815,11 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
insPlyIncome.setJyOtherCostsProportion(vo.getJyOtherCostsProportion());
|
|
insPlyIncome.setJyOtherCostsProportion(vo.getJyOtherCostsProportion());
|
|
|
insPlyIncome.setContactPerson(vo.getDockingPerson());
|
|
insPlyIncome.setContactPerson(vo.getDockingPerson());
|
|
|
insPlyIncome.setContactPersonPhone(vo.getDockingPersonPhone());
|
|
insPlyIncome.setContactPersonPhone(vo.getDockingPersonPhone());
|
|
|
|
|
+ // 协议编号
|
|
|
|
|
+ insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
+ insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
|
|
|
+ insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
|
|
|
+ insPlyIncome.setSystemCode(ptlAgreement.getSystemCode());
|
|
|
|
|
|
|
|
// 加入修改列表
|
|
// 加入修改列表
|
|
|
updateExcel.add(insPlyIncome);
|
|
updateExcel.add(insPlyIncome);
|
|
@@ -1772,10 +1875,20 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //匹配协议号
|
|
|
|
|
|
|
+ // 查询订单
|
|
|
|
|
+ HttpResult<InsOrdersVo> insOrdersVoHttpResult = insOrdersClient.selectById(vo.getOrderNo());
|
|
|
|
|
+ InsOrdersVo data = insOrdersVoHttpResult.getData();
|
|
|
|
|
+ if (null == data){
|
|
|
|
|
+ failedNumber++;
|
|
|
|
|
+ vo.setErrorMessage("订单号不存在");
|
|
|
|
|
+ failedExcel.add(vo);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 查询数据库中是否已存在该协议
|
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
PtlAgreement ptlAgreement = ptlAgreementMapper.selectOne(new LambdaQueryWrapper<PtlAgreement>()
|
|
|
- .eq(PtlAgreement::getAgreementCode, vo.getAgreementCode()));
|
|
|
|
|
- if (Objects.isNull(ptlAgreement)) {
|
|
|
|
|
|
|
+ .eq(PtlAgreement::getId, data.getAgreementId()));
|
|
|
|
|
+ if (Objects.isNull(ptlAgreement) || !ptlAgreement.getAgreementType().toString().equals(vo.getAgreementType())) {
|
|
|
failedNumber++;
|
|
failedNumber++;
|
|
|
vo.setErrorMessage("匹配协议编号失败");
|
|
vo.setErrorMessage("匹配协议编号失败");
|
|
|
failedExcel.add(vo);
|
|
failedExcel.add(vo);
|
|
@@ -1829,6 +1942,11 @@ public class ReceivableServiceImpl extends ServiceImpl<ReceivableMapper, InsPlyI
|
|
|
insPlyIncome.setJyOtherCostsProportion(vo.getJyOtherRatio().toString());
|
|
insPlyIncome.setJyOtherCostsProportion(vo.getJyOtherRatio().toString());
|
|
|
insPlyIncome.setContactPerson(vo.getContactPerson());
|
|
insPlyIncome.setContactPerson(vo.getContactPerson());
|
|
|
insPlyIncome.setContactPersonPhone(vo.getContactPersonPhone());
|
|
insPlyIncome.setContactPersonPhone(vo.getContactPersonPhone());
|
|
|
|
|
+ // 协议编号
|
|
|
|
|
+ insPlyIncome.setAgreementId(ptlAgreement.getId());
|
|
|
|
|
+ insPlyIncome.setAgreementName(ptlAgreement.getAgreementName());
|
|
|
|
|
+ insPlyIncome.setAgreementType(ptlAgreement.getAgreementType().toString());
|
|
|
|
|
+ insPlyIncome.setSystemCode(ptlAgreement.getSystemCode());
|
|
|
successExcel.add(insPlyIncome);
|
|
successExcel.add(insPlyIncome);
|
|
|
}
|
|
}
|
|
|
|
|
|