You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
696 B
Java
30 lines
696 B
Java
2 years ago
|
package com.glxp.api.service.auth;
|
||
|
|
||
|
import com.glxp.api.entity.auth.DeptUserEntity;
|
||
|
import com.glxp.api.req.auth.FilterDeptUserReqeust;
|
||
|
import com.glxp.api.res.auth.DeptUserResponse;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface DeptUserService {
|
||
|
|
||
|
|
||
|
List<DeptUserEntity> selectDeptUser(FilterDeptUserReqeust filterDeptUserReqeust);
|
||
|
|
||
|
List<DeptUserResponse> selectByUserId(Long userId);
|
||
|
|
||
|
List<DeptUserResponse> selectJoinDeptUser(FilterDeptUserReqeust filterDeptUserReqeust);
|
||
|
|
||
|
boolean delete(Long deptId, Long userId);
|
||
|
|
||
|
boolean deleteByUser(Long userId);
|
||
|
|
||
|
int deleteById(Integer id);
|
||
|
|
||
|
int deleteByList(List<Integer> ids);
|
||
|
|
||
|
int insertBatch(List<DeptUserEntity> list);
|
||
|
|
||
|
|
||
|
}
|