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.
60 lines
1.5 KiB
Java
60 lines
1.5 KiB
Java
package com.glxp.api.service.auth;
|
|
|
|
|
|
import com.glxp.api.entity.auth.AuthAdmin;
|
|
import com.glxp.api.entity.auth.SysUserRole;
|
|
import com.glxp.api.req.auth.FilterAuthUserRequest;
|
|
import com.glxp.api.req.auth.FilterNoSelectUserRequest;
|
|
import com.glxp.api.req.auth.UpdateUserRequset;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
public interface AuthAdminService {
|
|
|
|
List<AuthAdmin> listAdminPage(FilterAuthUserRequest filterAuthUserRequest);
|
|
|
|
List<AuthAdmin> findByCustomerld(String customerld);
|
|
|
|
AuthAdmin findByUserName(String userName);
|
|
|
|
|
|
AuthAdmin findById(Long id);
|
|
|
|
|
|
AuthAdmin findPwdById(Long id);
|
|
|
|
boolean insertAuthAdmin(AuthAdmin authAdmin);
|
|
|
|
boolean updateAuthAdmin(AuthAdmin authAdmin);
|
|
|
|
boolean deleteById(Long id);
|
|
|
|
int deleteByCustomerId(String customerId);
|
|
boolean updateUser(UpdateUserRequset updateUserRequset);
|
|
/**
|
|
* 获取医院用户列表
|
|
*
|
|
* @return
|
|
*/
|
|
List<AuthAdmin> getHospitalUserList();
|
|
|
|
List<AuthAdmin> selectNotSelectUser(FilterNoSelectUserRequest filterNoSelectUserRequest);
|
|
|
|
List<AuthAdmin> selectAllocatedList(FilterAuthUserRequest filterAuthUserRequest);
|
|
|
|
|
|
List<AuthAdmin> selectUnallocatedList(FilterAuthUserRequest filterAuthUserRequest);
|
|
|
|
|
|
void insertUserAuth(Long userId, List<Long> roleIds);
|
|
|
|
void insertUserAuth1(SysUserRole sysUserRole);
|
|
|
|
List<AuthAdmin> findByCustomerId(String customerId);
|
|
|
|
SysUserRole selectByAuthId(Long id);
|
|
|
|
|
|
}
|