|
@@ -452,14 +452,14 @@ public class CustomerApiController {
|
|
|
Integer num = triple.getMiddle().getValue();
|
|
Integer num = triple.getMiddle().getValue();
|
|
|
if (num > 0) {
|
|
if (num > 0) {
|
|
|
if ("d".equals(type)) {
|
|
if ("d".equals(type)) {
|
|
|
- labelDescs.add(desc.concat("(").concat(num.toString()).concat("次)"));
|
|
|
|
|
|
|
+ labelDescs.add(desc.concat("(").concat(num.toString()).concat("次)"));
|
|
|
} else {
|
|
} else {
|
|
|
labelDescs.add(desc);
|
|
labelDescs.add(desc);
|
|
|
triple = triples.getLast();
|
|
triple = triples.getLast();
|
|
|
desc = triple.getLeft().getValue();
|
|
desc = triple.getLeft().getValue();
|
|
|
num = triple.getMiddle().getValue();
|
|
num = triple.getMiddle().getValue();
|
|
|
if (num > 0) {
|
|
if (num > 0) {
|
|
|
- labelDescs.add(desc.concat("(").concat(num.toString()).concat("次)"));
|
|
|
|
|
|
|
+ labelDescs.add(desc.concat("(").concat(num.toString()).concat("次)"));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -468,12 +468,12 @@ public class CustomerApiController {
|
|
|
Optional.of(stopFeeNum)
|
|
Optional.of(stopFeeNum)
|
|
|
.map(MutableInt::getValue)
|
|
.map(MutableInt::getValue)
|
|
|
.filter(num -> num > 0)
|
|
.filter(num -> num > 0)
|
|
|
- .ifPresent(num -> labelDescs.add("有暂停扣费".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
+ .ifPresent(num -> labelDescs.add("有暂停扣费".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
|
Optional.of(refundFeeNum)
|
|
Optional.of(refundFeeNum)
|
|
|
.map(MutableInt::getValue)
|
|
.map(MutableInt::getValue)
|
|
|
.filter(num -> num > 0)
|
|
.filter(num -> num > 0)
|
|
|
- .ifPresent(num -> labelDescs.add("有续期收费回退".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
+ .ifPresent(num -> labelDescs.add("有续期收费回退".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
|
if (failedContacted.isTrue()) {
|
|
if (failedContacted.isTrue()) {
|
|
|
labelDescs.add("多次联系不上");
|
|
labelDescs.add("多次联系不上");
|
|
@@ -481,18 +481,18 @@ public class CustomerApiController {
|
|
|
|
|
|
|
|
Optional.of(withinPayPeriodNum)
|
|
Optional.of(withinPayPeriodNum)
|
|
|
.map(MutableInt::getValue)
|
|
.map(MutableInt::getValue)
|
|
|
- .filter(num -> num > 0)
|
|
|
|
|
- .ifPresent(num -> labelDescs.add("多单交费".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
+ .filter(num -> num >= 2)
|
|
|
|
|
+ .ifPresent(num -> labelDescs.add("多单交费".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
|
Optional.of(bqHangupNum)
|
|
Optional.of(bqHangupNum)
|
|
|
.map(MutableInt::getValue)
|
|
.map(MutableInt::getValue)
|
|
|
.filter(num -> num > 0)
|
|
.filter(num -> num > 0)
|
|
|
- .ifPresent(num -> labelDescs.add("保全挂起中".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
+ .ifPresent(num -> labelDescs.add("保全挂起中".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
|
Optional.of(lpHangupNum)
|
|
Optional.of(lpHangupNum)
|
|
|
.map(MutableInt::getValue)
|
|
.map(MutableInt::getValue)
|
|
|
.filter(num -> num > 0)
|
|
.filter(num -> num > 0)
|
|
|
- .ifPresent(num -> labelDescs.add("理赔挂起中".concat("(").concat(num.toString()).concat("单)")));
|
|
|
|
|
|
|
+ .ifPresent(num -> labelDescs.add("理赔挂起中".concat("(").concat(num.toString()).concat("单)")));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//2.保单信息 过滤只展示投保人数据
|
|
//2.保单信息 过滤只展示投保人数据
|