UserService.java 689 Bytes
package com.laowu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.laowu.dto.user.UsersDTO;
import com.laowu.model.UserDO;
import com.laowu.vo.user.UsersVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2023-02-16
 */
public interface UserService extends IService<UserDO> {

    IPage users(UsersDTO usersDTO);

    String deleteUser(UserDO userDO);

    String addUser(UserDO userDO);

    String updateUser(UserDO userDO);

    void importUsers(Long userType,MultipartFile file);

    UsersVO oneUser(UserDO userDO);

}