| | |
| | | /** |
| | | * 保存保证金退还 |
| | | */ |
| | | @Override |
| | | @Transactional |
| | | public void saveRefundOfDeposit(String refundOfDeposit) { |
| | | CustomConfig wishDescription = getCustomConfigByKey( |
| | | ConfigEnum.WISH_DESCRIPTION.getKey()).orElseGet(() -> { |
| | | ConfigEnum.REFUND_OF_DEPOSIT.getKey()).orElseGet(() -> { |
| | | CustomConfig customConfig = new CustomConfig(); |
| | | customConfig.setConfigKey(ConfigEnum.REFUND_OF_DEPOSIT.getKey()); |
| | | customConfig.setConfigName(ConfigEnum.REFUND_OF_DEPOSIT.getKeyName()); |
| | |
| | | public String getRefundOfDeposit() { |
| | | AtomicReference<String> refundOfDeposit = new AtomicReference<>(""); |
| | | getCustomConfigByKey( |
| | | ConfigEnum.WISH_DESCRIPTION.getKey()).ifPresent( |
| | | ConfigEnum.REFUND_OF_DEPOSIT.getKey()).ifPresent( |
| | | customConfig -> |
| | | refundOfDeposit.set(customConfig.getConfigValue()) |
| | | ); |