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/redpack/RedPackBalanceMapper.java | 128 +++++++++++++++++++++--------------------- 1 files changed, 64 insertions(+), 64 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackBalanceMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackBalanceMapper.java index 16559f7..b448b3b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackBalanceMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackBalanceMapper.java @@ -1,65 +1,65 @@ -package com.yeshi.fanli.dao.mybatis.redpack; - -import java.math.BigDecimal; -import java.util.List; - -import org.apache.ibatis.annotations.Param; - -import com.yeshi.fanli.dao.BaseMapper; -import com.yeshi.fanli.entity.redpack.RedPackBalance; -import com.yeshi.fanli.vo.redpack.RedPackBalanceVO; - -public interface RedPackBalanceMapper extends BaseMapper<RedPackBalance> { - - /** - * 鍑忔帀鐢ㄦ埛绾㈠寘閲戦 - * @param id - * @param money - */ - void subRedPack(@Param("id") long id, @Param("money") BigDecimal money); - - - /** - * 澧炲姞鐢ㄦ埛绾㈠寘閲戦 - * @param id - * @param money - */ - void addRedPack(@Param("id") long id, @Param("money") BigDecimal money); - - - /** - * 鏌ヨ鐢ㄤ簬鏇存柊浣欓-閿佸畾 - * @param id - * @return - */ - RedPackBalance selectForUpdate(long id); - - /** - * 鍟嗗搧鍒楄〃鏌ヨ - * - * @param key - * @param state - * @param start - * @param count - * @return - */ - List<RedPackBalanceVO> query(@Param("start") long start,@Param("count") int count, @Param("key") String key, - @Param("state") Integer state, @Param("order") Integer order); - - /** - * 鍟嗗搧璁℃暟 - * - * @param key - * @param state - * @return - */ - long count(@Param("key") String key, @Param("state") Integer state); - - - /** - * 閲嶇疆绾㈠寘 - * @param id - * @return - */ - void resetRedPack(long id); +package com.yeshi.fanli.dao.mybatis.redpack; + +import java.math.BigDecimal; +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +import com.yeshi.fanli.dao.BaseMapper; +import com.yeshi.fanli.entity.redpack.RedPackBalance; +import com.yeshi.fanli.vo.redpack.RedPackBalanceVO; + +public interface RedPackBalanceMapper extends BaseMapper<RedPackBalance> { + + /** + * 鍑忔帀鐢ㄦ埛绾㈠寘閲戦 + * @param id + * @param money + */ + void subRedPack(@Param("id") long id, @Param("money") BigDecimal money); + + + /** + * 澧炲姞鐢ㄦ埛绾㈠寘閲戦 + * @param id + * @param money + */ + void addRedPack(@Param("id") long id, @Param("money") BigDecimal money); + + + /** + * 鏌ヨ鐢ㄤ簬鏇存柊浣欓-閿佸畾 + * @param id + * @return + */ + RedPackBalance selectForUpdate(long id); + + /** + * 鍟嗗搧鍒楄〃鏌ヨ + * + * @param key + * @param state + * @param start + * @param count + * @return + */ + List<RedPackBalanceVO> query(@Param("start") long start,@Param("count") int count, @Param("key") String key, + @Param("state") Integer state, @Param("order") Integer order); + + /** + * 鍟嗗搧璁℃暟 + * + * @param key + * @param state + * @return + */ + long count(@Param("key") String key, @Param("state") Integer state); + + + /** + * 閲嶇疆绾㈠寘 + * @param id + * @return + */ + void resetRedPack(long id); } \ No newline at end of file -- Gitblit v1.8.0