From 5aeec2b48b5c3f1ed9d9ecf8b95a8ddc2031d43d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 06 三月 2019 14:15:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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