|
|
@@ -21,6 +21,7 @@ import com.jzg.commons.entity.quote.vo.orders.InsOrdersVo;
|
|
|
import com.jzg.commons.entity.rights.vo.InsOrderRightsInfoVo;
|
|
|
import com.jzg.commons.entity.scheme.vo.PtlAgreementInsCompanyVo;
|
|
|
import com.jzg.commons.entity.vo.InsFeeOrdersVo;
|
|
|
+import com.jzg.commons.entity.vo.InsOrdersOtherInfoVo;
|
|
|
import com.jzg.commons.entity.vo.PtlAgreementCostRatioVo;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
@@ -198,14 +199,22 @@ public class QuoteEchoVo extends QuoteVo {
|
|
|
|
|
|
//评分信息
|
|
|
this.scoreVo = new QuoteResultsVo.ScoreVo();
|
|
|
-// this.scoreVo.setScore(insOrdersVo.getInsOrdersOtherInfo().getScore());
|
|
|
-// this.scoreVo.setJqScore(insOrdersVo.getInsOrdersOtherInfo().getJqScore());
|
|
|
-// this.scoreVo.setSyScore(insOrdersVo.getInsOrdersOtherInfo().getSyScore());
|
|
|
-// this.scoreVo.setTpColorScore(Objects.isNull(insOrdersVo.getInsOrdersOtherInfo().getTpColorScore()) ? null : insOrdersVo.getInsOrdersOtherInfo().getTpColorScore().toString());
|
|
|
- this.scoreVo.setLossRation(Objects.isNull(insOrdersVo.getInsOrdersOtherInfo().getLossRation()) ? null : insOrdersVo.getInsOrdersOtherInfo().getLossRation().toString());
|
|
|
- this.scoreVo.setJqLossRation(Objects.isNull(insOrdersVo.getInsOrdersOtherInfo().getJqLossRation()) ? null : insOrdersVo.getInsOrdersOtherInfo().getJqLossRation().toString());
|
|
|
- this.scoreVo.setSyLossRation(Objects.isNull(insOrdersVo.getInsOrdersOtherInfo().getSyLossRation()) ? null : insOrdersVo.getInsOrdersOtherInfo().getSyLossRation().toString());
|
|
|
- this.scoreVo.setScoreJson(insOrdersVo.getInsOrdersOtherInfo().getScoreJson());
|
|
|
+ if (Objects.nonNull(insOrdersVo.getInsOrdersOtherInfo())) {
|
|
|
+ InsOrdersOtherInfoVo otherInfo = insOrdersVo.getInsOrdersOtherInfo();
|
|
|
+ this.scoreVo.setScore(otherInfo.getScore() == null ? null : otherInfo.getScore());
|
|
|
+ this.scoreVo.setLossRation(otherInfo.getLossRation() == null ? null : otherInfo.getLossRation().toString());
|
|
|
+ this.scoreVo.setJqLossRation(otherInfo.getJqLossRation() == null ? null : otherInfo.getJqLossRation().toString());
|
|
|
+ this.scoreVo.setSyLossRation(otherInfo.getSyLossRation() == null ? null : otherInfo.getSyLossRation().toString());
|
|
|
+ this.scoreVo.setCiClaims(Byte.toString(otherInfo.getJqClaims()));
|
|
|
+ this.scoreVo.setBiClaims(Byte.toString(otherInfo.getSyClaims()));
|
|
|
+ this.scoreVo.setJqRenewal(otherInfo.getJqRenewal());
|
|
|
+ this.scoreVo.setSyRenewal(otherInfo.getSyRenewal());
|
|
|
+ this.scoreVo.setIsDjq(Byte.toString(otherInfo.getIsDjq()));
|
|
|
+ this.scoreVo.setTotalAdjustRate(otherInfo.getTotalAdjustRate() == null ? null : otherInfo.getTotalAdjustRate().toString());
|
|
|
+ this.scoreVo.setJqAdjustRate(otherInfo.getJqAdjustRate() == null ? null : otherInfo.getJqAdjustRate().toString());
|
|
|
+ this.scoreVo.setSyAdjustRate(otherInfo.getSyAdjustRate() == null ? null : otherInfo.getSyAdjustRate().toString());
|
|
|
+ this.scoreVo.setScoreJson(otherInfo.getScoreJson());
|
|
|
+ }
|
|
|
|
|
|
// 未匹配费用原因
|
|
|
if(Objects.nonNull(insOrdersVo.getInsOrdersOtherInfo())) {
|