From 88b54772dbcf5ecab1e2316e4e4626ac901b8908 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期二, 22 一月 2019 15:58:24 +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