package com.aiotagro.cattletrade.business.service;

import com.aiotagro.cattletrade.business.dto.SysUserDto;
import com.aiotagro.cattletrade.business.entity.SysUser;
import com.aiotagro.common.core.web.domain.AjaxResult;
import com.aiotagro.common.core.web.domain.PageResultResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 员工管理表 服务类
 * </p>
 *
 * @author admin
 * @since 2024-12-26
 */
public interface ISysUserService extends IService<SysUser> {

    /**
     * 查询分页列表
     *
     * @param dto
     * @return
     */
    PageResultResponse queryList(SysUserDto dto);

    /**
     * 新增、编辑
     *
     * @param user
     * @return
     */
    AjaxResult saveUser(SysUser user);

    /**
     * 删除
     *
     * @param id
     * @return
     */
    AjaxResult delete(Integer id);

}
