|
@@ -175,7 +175,7 @@ public final class ZmCrawlerQuoteResultVoBuild {
|
|
|
.orElse(List.of())
|
|
.orElse(List.of())
|
|
|
.stream()
|
|
.stream()
|
|
|
.filter(c -> c != null && c.getContractMain() != null
|
|
.filter(c -> c != null && c.getContractMain() != null
|
|
|
- && "0365".equals(c.getContractMain().getRiskCode()))
|
|
|
|
|
|
|
+ && "0361".equals(c.getContractMain().getRiskCode()))
|
|
|
.findFirst()
|
|
.findFirst()
|
|
|
.orElse(null);
|
|
.orElse(null);
|
|
|
JSONArray scoreJson = new JSONArray();
|
|
JSONArray scoreJson = new JSONArray();
|
|
@@ -194,6 +194,11 @@ public final class ZmCrawlerQuoteResultVoBuild {
|
|
|
.fluentPut("scoreName", "商业不浮动原因")
|
|
.fluentPut("scoreName", "商业不浮动原因")
|
|
|
.fluentPut("scoreKey","SyRateFloatFlag")
|
|
.fluentPut("scoreKey","SyRateFloatFlag")
|
|
|
.fluentPut("score", ZmCrawlerFloatFlag.getNoAdjustReasonDesc(noAjustReasonCode)));
|
|
.fluentPut("score", ZmCrawlerFloatFlag.getNoAdjustReasonDesc(noAjustReasonCode)));
|
|
|
|
|
+ } else {
|
|
|
|
|
+ scoreJson.add(new JSONObject()
|
|
|
|
|
+ .fluentPut("scoreName", "商业不浮动原因")
|
|
|
|
|
+ .fluentPut("scoreKey","SyRateFloatFlag")
|
|
|
|
|
+ .fluentPut("score", ""));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -228,6 +233,11 @@ public final class ZmCrawlerQuoteResultVoBuild {
|
|
|
.fluentPut("scoreKey","JqRateFloatFlag")
|
|
.fluentPut("scoreKey","JqRateFloatFlag")
|
|
|
.fluentPut("score", ZmCrawlerFloatFlag.getJqRateFloatDesc(contractMainJq.getRateFloatFlag())));
|
|
.fluentPut("score", ZmCrawlerFloatFlag.getJqRateFloatDesc(contractMainJq.getRateFloatFlag())));
|
|
|
|
|
|
|
|
|
|
+ } else {
|
|
|
|
|
+ scoreJson.add(new JSONObject()
|
|
|
|
|
+ .fluentPut("scoreName", "交强不浮动原因")
|
|
|
|
|
+ .fluentPut("scoreKey","JqRateFloatFlag")
|
|
|
|
|
+ .fluentPut("score", ""));
|
|
|
}
|
|
}
|
|
|
if (contractMainSy != null) {
|
|
if (contractMainSy != null) {
|
|
|
scoreJson.add(new JSONObject()
|
|
scoreJson.add(new JSONObject()
|