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

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