UserService.java
992 Bytes
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
package com.uccc.admin.service;
import com.uccc.pretty.common.Store;
import com.uccc.pretty.common.StoreEntity;
import com.uccc.pretty.common.User;
import com.uccc.pretty.common.UserEntity;
import java.util.List;
/**
* Created by bert on 2021-09-11 10:25
*/
public interface UserService {
void sendSystemLogToRabbitMq(String toString);
User getUserByCondition(User user);
boolean updateUser(User user);
List<UserEntity> getUserListByCondition(User user);
int checkAccountRepeat(String account);
boolean createUser(User user, int[] roles);
boolean deleteUser(User user);
int getUserListCountByCondition(User user);
Store checkStoreByMid(Long mid);
int createStore(Store store);
int checkStoreNameRepeat(String name);
Store findStoreByName(String name);
int updateStore(Store store);
List<StoreEntity> getStoreByCondition(Store store, Integer limit, Integer offset);
int getStoreCountByCondition(Store store);
}