| | |
| | | saveOrUpdateBatch( |
| | | Lists.newArrayList(wishDescription, wishShareTitle, wishShareImgUrl)); |
| | | } |
| | | |
| | | /** |
| | | * 保存保证金退还 |
| | | */ |
| | | @Transactional |
| | | public void saveRefundOfDeposit(String refundOfDeposit) { |
| | | CustomConfig wishDescription = getCustomConfigByKey( |
| | | ConfigEnum.WISH_DESCRIPTION.getKey()).orElseGet(() -> { |
| | | CustomConfig customConfig = new CustomConfig(); |
| | | customConfig.setConfigKey(ConfigEnum.REFUND_OF_DEPOSIT.getKey()); |
| | | customConfig.setConfigName(ConfigEnum.REFUND_OF_DEPOSIT.getKeyName()); |
| | | customConfig.setConfigType(ConfigEnum.REFUND_OF_DEPOSIT.getKeyType()); |
| | | return customConfig; |
| | | }); |
| | | wishDescription.setConfigValue(refundOfDeposit); |
| | | saveOrUpdate(wishDescription); |
| | | } |
| | | } |