Helius
2021-06-28 3cdddd8bb0a0b2cef27d44629647666579655877
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
35
36
37
38
39
package com.xzx.gc.order.mapper;
 
import com.xzx.gc.entity.AccountInfo;
import com.xzx.gc.entity.OrderInfo;
import com.xzx.gc.entity.PayLog;
import com.xzx.gc.model.admin.UserAccountModel;
import com.xzx.gc.model.user.AccountVo;
import com.xzx.gc.util.GcMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
@Repository
public interface AccountMapper extends GcMapper<AccountInfo> {
    int updateMyMoneyByOrder(Map map);
 
    int updateMyScoreByOrder(Map map);
 
 
    List<AccountVo> queryMyMoney(Map map);
 
    int updateLimitByOrder(Map map);
 
    int updateMoneyAndLimit(Map map);
 
 
    int updateAccountMoneyDouble(PayLog payLog);
 
 
    int addCuserAccountRole(@Param("id") String id, @Param("phone") String phone, @Param("userId") String userId, @Param("money") String money);
 
    UserAccountModel getAccountByUserId(String userId);
 
    void updateUserAccount(@Param("accountId") String accountId, @Param("money") String money, @Param("overdraftLimit") String overdraftLimit);
 
    AccountInfo selectAccountInfoByUserId(@Param("userId") String userId);
}