javacodeadmin/ruoyi-system/src/main/java/com/ruoyi/system/service/IUsersService.java

126 lines
3.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.ruoyi.system.service;
import java.util.List;
import java.util.Map;
import com.ruoyi.system.domain.Users;
/**
* 【请填写功能名称】Service接口
*
* @author ruoyi
* @date 2025-05-14
*/
public interface IUsersService
{
/**
* 查询【请填写功能名称】
*
* @param id 【请填写功能名称】主键
* @return 【请填写功能名称】
*/
public Users selectUsersById(Long id);
/**
* 查询【请填写功能名称】
*
* @param rememberToken 【请填写rememberToken】
* @return 【请填写功能名称】
*/
public Users selectUsersByRememberToken(String rememberToken);
public Users selectUsersIsMaxNumber();
/**
* 查询【请填写功能名称】
*
* @param openid 【请填写rememberToken】
* @return 【请填写功能名称】
*/
public Users selectUsersByOpenid(String openid);
/**
* 查询根据电弧号码查询用户基本数据
*
* @param phone 【请填写功能名称】主键
* @return 【请填写功能名称】
*/
public Users selectUsersByPhone(String phone);
/**
* 查询【请填写功能名称】列表
*
* @param users 【请填写功能名称】
* @return 【请填写功能名称】集合
*/
public List<Users> selectUsersList(Users users);
/**
* 新增【请填写功能名称】
*
* @param users 【请填写功能名称】
* @return 结果
*/
public int insertUsers(Users users);
/**
* 修改【请填写功能名称】
*
* @param users 【请填写功能名称】
* @return 结果
*/
public int updateUsers(Users users);
/**
* 批量删除【请填写功能名称】
*
* @param ids 需要删除的【请填写功能名称】主键集合
* @return 结果
*/
public int deleteUsersByIds(Long[] ids);
/**
* 删除【请填写功能名称】信息
*
* @param id 【请填写功能名称】主键
* @return 结果
*/
public int deleteUsersById(Long id);
/**
* 批量根据ID查询用户
* @param ids 用户ID列表
* @return 用户对象列表
*/
public List<Users> selectUsersByIds(List<Long> ids);
/**
* 派单专用查询 - 基础条件type=2, status=1, is_stop=0, worker_time为当天
* @param params 查询参数,包含分页信息
* @return 符合条件的师傅列表
*/
public List<Users> selectDispatchWorkers(Map<String, Object> params);
/**
* 派单备用查询 - 不限制地区,获取更多师傅
* @param params 查询参数,包含数量限制
* @return 符合条件的师傅列表
*/
public List<Users> selectBackupDispatchWorkers(Map<String, Object> params);
/**
* 测试用派单查询 - 用于验证基础条件
* @return 符合条件的师傅列表限制10条
*/
public List<Users> selectTestDispatchWorkers();
/**
* 查询暂停状态的师傅列表
* 用于定时任务自动恢复过期的师傅暂停状态
* @return 暂停状态的师傅列表type=2且is_stop=1
*/
public List<Users> selectPausedWorkers();
}