合同签约类型
This commit is contained in:
parent
4a7db2e278
commit
2fbe75be36
@ -117,7 +117,7 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
|
||||
bo.setIsOldCus((byte) 0);
|
||||
}else if ("2".equals(bo.getIsDue())){
|
||||
bo.setIsOldCus((byte) 1);
|
||||
bo.setIsDue("0");
|
||||
// bo.setIsDue("0");
|
||||
}
|
||||
|
||||
if (bo.getFirstPartyType() == PsContractInfoBo.FIRSTPARTYTYPE.INDIVIDUALS.getType()){
|
||||
@ -233,7 +233,7 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
|
||||
bo.setIsOldCus((byte) 0);
|
||||
}else if ("2".equals(bo.getIsDue())){
|
||||
bo.setIsOldCus((byte) 1);
|
||||
bo.setIsDue("0");
|
||||
// bo.setIsDue("0");
|
||||
}
|
||||
|
||||
//3.如果已存在合同,则进行修改,否则新增
|
||||
@ -273,7 +273,7 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
|
||||
|
||||
BigDecimal sum = list.stream().map(PsContractBusinessBo::getBusinessAmount).filter(Objects::nonNull).reduce(BigDecimal.ZERO, BigDecimal::add);
|
||||
add.setContractAmount(sum);//合同总金额
|
||||
return makePdf(add,bo,false);
|
||||
return makePdf(add, bo,false);
|
||||
}
|
||||
|
||||
|
||||
@ -966,7 +966,7 @@ public class PsContractInfoServiceImpl implements IPsContractInfoService {
|
||||
}
|
||||
}
|
||||
}else{//托管服务
|
||||
if (info.getIsDue().equals("0")){//新签
|
||||
if (info.getIsDue().equals("0") || info.getIsDue().equals("2")){//新签
|
||||
//不论合同金额大小,必须回传合同
|
||||
rollbackFlag = false;
|
||||
} else{//续费
|
||||
|
Loading…
Reference in New Issue
Block a user