|
|
@@ -1046,14 +1046,15 @@ public class TKSimpleService {
|
|
|
.forEach(commonBiKindInfoVo -> {
|
|
|
TKCiKindsVo tkCiKindVo = tkCiKindsVoMap.get(commonBiKindInfoVo.getKindCode());
|
|
|
tkCiKindVo.setIsSelect("1");
|
|
|
- String quantity = commonBiKindInfoVo.getQuantity();
|
|
|
- if (StringUtils.isNotBlank(quantity)) {
|
|
|
- tkCiKindVo.setQuantity(Integer.parseInt(quantity));
|
|
|
- }
|
|
|
// 机动车损失险(101)的金额由保司系统返回,前端传的值不准确,使用保司已有的金额,无需覆盖
|
|
|
if (KIND_CODE_VEHICLE_DAMAGE.equals(commonBiKindInfoVo.getKindCode())) {
|
|
|
+ tkCiKindVo.setQuoteAmountCN(ConvertUtil.simpleConvert(tkCiKindVo.getQuoteAmount().toString()));
|
|
|
return;
|
|
|
}
|
|
|
+ String quantity = commonBiKindInfoVo.getQuantity();
|
|
|
+ if (StringUtils.isNotBlank(quantity)) {
|
|
|
+ tkCiKindVo.setQuantity(Integer.parseInt(quantity));
|
|
|
+ }
|
|
|
String amount = commonBiKindInfoVo.getAmount();
|
|
|
if (StringUtils.isBlank(amount)) {
|
|
|
log.warn("商业险险种[{}]金额为空,跳过金额设置", commonBiKindInfoVo.getKindCode());
|