From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/hongbao/AccountDetailsHongBaoMapServiceImpl.java |  100 +++++++++++++++++++++++++-------------------------
 1 files changed, 50 insertions(+), 50 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 e142e64..9e1d048 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,50 +1,50 @@
-package com.yeshi.fanli.service.impl.hongbao;
-
-import java.util.Date;
-import java.util.List;
-
-import javax.annotation.Resource;
-
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import com.yeshi.fanli.dao.mybatis.money.AccountDetailHongBaoMapMapper;
-import com.yeshi.fanli.dto.HongBao;
-import com.yeshi.fanli.entity.money.AccountDetailHongBaoMap;
-import com.yeshi.fanli.entity.money.UserMoneyDetail;
-import com.yeshi.fanli.service.inter.hongbao.AccountDetailsHongBaoMapService;
-
-@Service
-public class AccountDetailsHongBaoMapServiceImpl implements AccountDetailsHongBaoMapService {
-
-	@Resource
-	private AccountDetailHongBaoMapMapper accountDetailHongBaoMapMapper;
-
-	@Transactional
-	@Override
-	public void saveAccountDetailsHongBaoMap(Long hongBaoId, Long accountDetailsId) {
-		if (hongBaoId == null || accountDetailsId == null)
-			return;
-
-		// 淇濆瓨璐︽埛鏄庣粏涓庣孩鍖呯殑鍏崇郴
-		AccountDetailHongBaoMap map = new AccountDetailHongBaoMap();
-		map.setUserMoneyDetail(new UserMoneyDetail(accountDetailsId));
-		map.setCreateTime(new Date());
-		map.setHongBao(new HongBao(hongBaoId));
-		map.setUpdateTime(new Date());
-		AccountDetailHongBaoMap oldMap = accountDetailHongBaoMapMapper.selectByHongBaoId(hongBaoId);
-		if (oldMap == null) {
-			accountDetailHongBaoMapMapper.insertSelective(map);
-		}
-
-	}
-
-	@Transactional
-	@Override
-	public void saveAccountDetailsHongBaoMap(List<Long> hongBaoIdList, Long accountDetailsId) {
-		if (hongBaoIdList != null)
-			for (Long hongBaoId : hongBaoIdList)
-				saveAccountDetailsHongBaoMap(hongBaoId, accountDetailsId);
-	}
-
-}
+package com.yeshi.fanli.service.impl.hongbao;
+
+import java.util.Date;
+import java.util.List;
+
+import javax.annotation.Resource;
+
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import com.yeshi.fanli.dao.mybatis.money.AccountDetailHongBaoMapMapper;
+import com.yeshi.fanli.dto.HongBao;
+import com.yeshi.fanli.entity.money.AccountDetailHongBaoMap;
+import com.yeshi.fanli.entity.money.UserMoneyDetail;
+import com.yeshi.fanli.service.inter.hongbao.AccountDetailsHongBaoMapService;
+
+@Service
+public class AccountDetailsHongBaoMapServiceImpl implements AccountDetailsHongBaoMapService {
+
+	@Resource
+	private AccountDetailHongBaoMapMapper accountDetailHongBaoMapMapper;
+
+	@Transactional
+	@Override
+	public void saveAccountDetailsHongBaoMap(Long hongBaoId, Long accountDetailsId) {
+		if (hongBaoId == null || accountDetailsId == null)
+			return;
+
+		// 淇濆瓨璐︽埛鏄庣粏涓庣孩鍖呯殑鍏崇郴
+		AccountDetailHongBaoMap map = new AccountDetailHongBaoMap();
+		map.setUserMoneyDetail(new UserMoneyDetail(accountDetailsId));
+		map.setCreateTime(new Date());
+		map.setHongBao(new HongBao(hongBaoId));
+		map.setUpdateTime(new Date());
+		AccountDetailHongBaoMap oldMap = accountDetailHongBaoMapMapper.selectByHongBaoId(hongBaoId);
+		if (oldMap == null) {
+			accountDetailHongBaoMapMapper.insertSelective(map);
+		}
+
+	}
+
+	@Transactional
+	@Override
+	public void saveAccountDetailsHongBaoMap(List<Long> hongBaoIdList, Long accountDetailsId) {
+		if (hongBaoIdList != null)
+			for (Long hongBaoId : hongBaoIdList)
+				saveAccountDetailsHongBaoMap(hongBaoId, accountDetailsId);
+	}
+
+}

--
Gitblit v1.8.0