UsersService.java 915 Bytes
package com.cnlive.shenhe.service;

import com.cnlive.shenhe.dto.UsersDTO;
import com.cnlive.shenhe.entity.ShyUsers;
import com.github.pagehelper.PageInfo;

/**
 * @Author: yan-zhao-wang
 * @DateTime: 2022-11-08 9:15
 */
public interface UsersService {
    /**
     * 用户分页列表
     *
     * @param usersDTO
     * @return
     */
    PageInfo<ShyUsers> getPage(UsersDTO usersDTO);

    /**
     * 根据spid查询名字
     *
     * @param shenAuditorId
     * @return
     */

    String findSpIdByName(String shenAuditorId);

    /**
     * 根据主键id查询用户对象
     *
     * @param id
     * @return
     */
    ShyUsers get(Integer id);

    /**
     * 根据对象查询
     *
     * @param shyUsers
     * @return
     */
    ShyUsers select(ShyUsers shyUsers);

    /**
     * 修改用户
     *
     * @param shyUsers
     * @return
     */
    boolean update(ShyUsers shyUsers);
}