From c31b9a70e3787b47bccc15e40abf0710478fbb3a Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@Admin> Date: 星期三, 19 十二月 2018 17:09:51 +0800 Subject: [PATCH] 动态分享添加返回返利金额 --- fanli/src/main/java/com/yeshi/fanli/service/impl/hongbao/AccountDetailsHongBaoMapServiceImpl.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/hongbao/AccountDetailsHongBaoMapServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/hongbao/AccountDetailsHongBaoMapServiceImpl.java index 613314c..91d03fb 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/hongbao/AccountDetailsHongBaoMapServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/hongbao/AccountDetailsHongBaoMapServiceImpl.java @@ -1,6 +1,7 @@ package com.yeshi.fanli.service.impl.hongbao; import java.util.Date; +import java.util.List; import javax.annotation.Resource; @@ -38,4 +39,12 @@ } + @Transactional + @Override + public void saveAccountDetailsHongBaoMap(List<Long> hongBaoIdList, Long accountDetailsId) { + if (hongBaoIdList != null) + for (Long hongBaoId : hongBaoIdList) + saveAccountDetailsHongBaoMap(hongBaoId, accountDetailsId); + } + } -- Gitblit v1.8.0