All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zznote.basecommon.service.TUserService Maven / Gradle / Ivy

The newest version!
package com.zznote.basecommon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zznote.basecommon.common.page.PageInfo;
import com.zznote.basecommon.common.page.PageQuery;
import com.zznote.basecommon.dto.LoginUser;
import com.zznote.basecommon.entity.system.TUser;

import java.util.List;

/**
 * 用户信息表
 *
 * @author zhangzhen
 * @email [email protected]
 * @date 2022-04-12 17:04:17
 */
public interface TUserService extends IService {

    String login(String username, String password);

    LoginUser getUserInfo(String username);

    PageInfo selectAllocatedList(TUser user, PageQuery pageQuery);

    PageInfo selectUnallocatedList(TUser user, PageQuery pageQuery);

    PageInfo selectPageUserList(TUser user, PageQuery pageQuery);

    List selectUserList(TUser user);

    TUser selectUserByUserName(String userName);

    TUser selectUserById(Long userId);

    void checkUserDataScope(Long userId);

    String checkUserNameUnique(String userName);

    String checkPhoneUnique(TUser user);

    String checkEmailUnique(TUser user);

    int insertUser(TUser user);

    void checkUserAllowed(TUser user);

    boolean updateUser(TUser user);

    boolean deleteUserByIds(Long[] userIds);

    void insertUserAuth(Long userId, Long[] roleIds);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy