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/dao/mybatis/money/TeamEincomeRecordMapper.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/TeamEincomeRecordMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/TeamEincomeRecordMapper.java index a13abf0..12db4ee 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/TeamEincomeRecordMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/TeamEincomeRecordMapper.java @@ -1,5 +1,6 @@ package com.yeshi.fanli.dao.mybatis.money; +import java.math.BigDecimal; import java.util.Date; import java.util.List; @@ -12,6 +13,13 @@ TeamEincomeRecord selectByUidAndPreRecieveTimeAndType(@Param("uid") Long uid, @Param("preRecieveTime") Date preRecieveTime, @Param("type") int type); + + + TeamEincomeRecord selectByUidAndPreRecieveTimeAndTypeAndSourceType(@Param("uid") Long uid, + @Param("preRecieveTime") Date preRecieveTime, @Param("type") int type, @Param("sourceType") Integer sourceType); + + + TeamEincomeRecord selectByPrimaryKeyForUpdate(Long id); @@ -25,4 +33,12 @@ public long countCanRecieveUid(@Param("preRecieveTime") Date preRecieveTime, @Param("typeList") List<Integer> typeList); + + /** + * 缁熻绫诲瀷宸查鍙栭噾棰� + * @param uid + * @param type + * @return + */ + BigDecimal sumRecieveByType(@Param("uid") Long uid,@Param("type") int type); } \ No newline at end of file -- Gitblit v1.8.0