xiaoyong931011
2021-07-02 b02c10cc0f53a3dac95045bea33eb9aa3c13e3e3
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
package com.xzx.gc.pay.mapper;
 
import com.xzx.gc.entity.AccountInfo;
import com.xzx.gc.entity.PayLog;
import com.xzx.gc.model.admin.UserAccountModel;
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 updateLimitByOrder(Map map);
 
    int updateMoneyAndLimit(Map map);
 
    int updateAccountOverdrawPrice(@Param("newOverdrawPrice") String newOverdrawPrice, @Param("oldOverdrawPrice") String oldOverdrawPrice, @Param("orderIds") List<String> orderIds, @Param("oldFixPrice") String oldFixPrice);
 
 
    UserAccountModel queryAccountInfo(@Param("userId")String userId, @Param("phone")String phone);
 
    int updateOverdrawPriceByUserId(@Param("accountId") String accountId, @Param("money") String money);
 
    int updateAccountMoneyDouble(PayLog payLog);
 
 
    int updateLimitByUserId(@Param("accountId") String accountId, @Param("money") String money);
 
    UserAccountModel getAccountByUserId(String userId);
 
    void updateUserAccount(UserAccountModel userAccountModel);
}