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.
udi-spms-java/src/main/java/com/glxp/api/service/auth/DeptUserService.java

34 lines
804 B
Java

2 years ago
package com.glxp.api.service.auth;
2 years ago
import com.glxp.api.entity.auth.DeptEntity;
2 years ago
import com.glxp.api.entity.auth.DeptUserEntity;
import com.glxp.api.req.auth.FilterDeptUserReqeust;
import com.glxp.api.res.auth.DeptUserResponse;
2 years ago
import org.apache.ibatis.annotations.Param;
2 years ago
import java.util.List;
public interface DeptUserService {
List<DeptUserEntity> selectDeptUser(FilterDeptUserReqeust filterDeptUserReqeust);
List<DeptUserResponse> selectByUserId(Long userId);
List<DeptUserResponse> selectByUserIdKey(Long userId);
2 years ago
2 years ago
List<DeptUserResponse> selectJoinDeptUser(FilterDeptUserReqeust filterDeptUserReqeust);
boolean delete(Long deptId, Long userId);
boolean deleteByUser(Long userId);
int deleteById(Integer id);
int insertBatch(List<DeptUserEntity> list);
}