Przeglądaj źródła

managew 推广产品修复

master
chenchaod 4 tygodni temu
rodzic
commit
6349033717

+ 4
- 4
zhywpt-app-managew/src/main/java/cn/com/taiji/managew/manager/product/PromotionManagerImpl.java Wyświetl plik

CommonFee passFee = copyProperties(m, new CommonFee()); CommonFee passFee = copyProperties(m, new CommonFee());
responseDTO.setPassFee(passFee); responseDTO.setPassFee(passFee);
}); });
//===================================注销违约金==========================================
//===================================通行费违约金==========================================
//注销违约金只有一种,不分收费类型,所以key建是null //注销违约金只有一种,不分收费类型,所以key建是null
Optional.ofNullable(allPay.get(FeeCategory.PASS_DEFAULT)).map(m -> m.get(null)).ifPresent(m -> { Optional.ofNullable(allPay.get(FeeCategory.PASS_DEFAULT)).map(m -> m.get(null)).ifPresent(m -> {
CommonFee cancelDefault = copyProperties(m, new CommonFee()); CommonFee cancelDefault = copyProperties(m, new CommonFee());
responseDTO.setCancelDefault(cancelDefault);
responseDTO.setPassDefault(cancelDefault);
}); });


//===================================通行费违约金=========================================
//===================================注销违约金=========================================
//通行费违约金只有一种,不分收费类型,所以key建是null //通行费违约金只有一种,不分收费类型,所以key建是null
Optional.ofNullable(allPay.get(FeeCategory.ZX_DEFAULT)).map(m -> m.get(null)).ifPresent(m -> { Optional.ofNullable(allPay.get(FeeCategory.ZX_DEFAULT)).map(m -> m.get(null)).ifPresent(m -> {
CommonFee passDefault = copyProperties(m, new CommonFee()); CommonFee passDefault = copyProperties(m, new CommonFee());
responseDTO.setPassDefault(passDefault);
responseDTO.setCancelDefault(passDefault);
}); });
//将推广产品的信息复制 //将推广产品的信息复制
copyProperties(promotion, responseDTO); copyProperties(promotion, responseDTO);

Ładowanie…
Anuluj
Zapisz