xiaoyong931011
2021-07-14 cf148cae4937f807347e56d94b2dc96c9f258c59
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.xzx.gc.user.mapper;
 
import com.xzx.gc.entity.AccountInfo;
import com.xzx.gc.entity.OrderInfo;
import com.xzx.gc.entity.ScoreDetails;
import com.xzx.gc.entity.UserInfo;
import com.xzx.gc.model.admin.AccountMoneyModel;
import com.xzx.gc.model.admin.UserAccountModel;
import com.xzx.gc.model.user.AccountReq;
import com.xzx.gc.model.user.AccountVo;
import com.xzx.gc.model.user.UserInfoVo;
import com.xzx.gc.model.user.UserReq;
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 updateAccountWarehousingPrice(@Param("newOverdrawPrice") String newOverdrawPrice, @Param("oldOverdrawPrice") String oldOverdrawPrice, @Param("orderIds") List<String> orderIds, @Param("oldFixPrice") String oldFixPrice);
 
    int updateAccountOverdrawPrice(@Param("newOverdrawPrice") String newOverdrawPrice, @Param("oldOverdrawPrice") String oldOverdrawPrice, @Param("orderIds") List<String> orderIds, @Param("oldFixPrice") String oldFixPrice);
 
    int updateCuserAccount(@Param("phone") String phone, @Param("userId") String userId);
 
    int addCuserAccountRole(@Param("id") String id, @Param("phone") String phone, @Param("userId") String userId, @Param("money") String money);
 
 
    int updateAccountLimit(AccountInfo model);
 
    List<AccountMoneyModel> queryAccountByUserIds(AccountMoneyModel model);
 
    int updateAccountType(AccountMoneyModel model);
 
    void updateAccountPartner(UserAccountModel accountModel);
 
    UserAccountModel getAccountByUserId(String userId);
 
    void updateUserAccount(UserAccountModel userAccountModel);
 
    void deleteAccount(String accountId);
 
    AccountMoneyModel queryAccountByAccountId(AccountMoneyModel model);
 
    List<OrderInfo> findArea();
 
    void insertScoreDetailsRet(ScoreDetails scoreDetailsRet);
 
    AccountInfo selectOneByUserId(@Param("userId")String userId);
}