admin
2022-10-28 0e9b6603d4ae9d11c1fbc90257ce816c5807b8ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.yeshi.makemoney.app.dao.money;
 
import org.springframework.stereotype.Repository;
 
import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
 
import org.apache.ibatis.annotations.Param;
 
import org.yeshi.utils.mybatis.BaseMapper;
import com.yeshi.makemoney.app.entity.money.UserMoneyBalance;
 
@Repository
public interface UserMoneyBalanceMapper extends BaseMapper<UserMoneyBalance> {
 
    UserMoneyBalance selectByPrimaryKeyForUpdate(@Param("id") java.lang.Long id);
 
    List<UserMoneyBalance> list(@Param("query") DaoQuery query);
 
    long count(@Param("query") DaoQuery query);
 
    int addMoney(@Param("uid") Long uid, @Param("money") BigDecimal money);
 
    int subMoney(@Param("uid") Long uid, @Param("money") BigDecimal money);
 
 
    public static class DaoQuery {
        public long start;
        public int count;
        public List<String> sortList;
    }
 
}