qa-prevention-gwj/src/main/java/com/zcloud/service/system/UsersService.java

386 lines
8.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.zcloud.service.system;
import java.util.List;
import java.util.Map;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import com.zcloud.entity.system.Role;
import com.zcloud.entity.system.User;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;
/**
* 说明:用户服务接口
* 作者luoxiaobao
* 官网www.qdkjchina.com
*/
public interface UsersService {
PageData findLevelByUserId(PageData pd);
/**通过角色ID数组获取角色列表
* @param arryROLE_ID
* @throws Exception
*/
public List<Role> getRoleByArryROLE_ID(String[] arryROLE_ID)throws Exception;
/**通过用户名获取用户信息
* @param pd
* @return
* @throws Exception
*/
public PageData findByUsername(PageData pd)throws Exception;
/**
* 获取全部用户信息列表
* @return
* @throws Exception
*/
Object getAllUserList()throws Exception;
/**通过组ID获取组下级角色列表
* @param pd
* @return
* @throws Exception
*/
public List<Role> listAllRolesByPId(PageData pd) throws Exception;
/**通过用户ID获取用户信息1
* @param pd
* @return
* @throws Exception
*/
public PageData findById(PageData pd)throws Exception;
/**通过用户ID获取用户信息1
* @param pd
* @return
* @throws Exception
*/
public PageData findPolice(PageData pd)throws Exception;
/** 获取获取部门账号
* @param pd
* @return
* @throws Exception
*/
public List<PageData> listUserbyDep(PageData pd)throws Exception;
public List<PageData> listUserAndDept(PageData pd) throws Exception;
/**通过用户名称获取用户信息
* @param pd
* @return
* @throws Exception
*/
public PageData findByName(PageData pd)throws Exception;
/**用户列表
* @param page
* @return
* @throws Exception
*/
public List<PageData> userlistPage(Page page)throws Exception;
/**查询本部门下除审核人、审批人之外的所有人
* @param page
* @return
* @throws Exception
*/
public List<PageData> userConfirmPage(Page page)throws Exception;
/**查询本部门下除确认人、审批人之外的所有人
* @param page
* @return
* @throws Exception
*/
public List<PageData> userExaminePage(Page page)throws Exception;
/**查询本部门下除审核人、确认人之外的所有人
* @param page
* @return
* @throws Exception
*/
public List<PageData> userApprovePage(Page page)throws Exception;
/**用户列表
* @param page
* @return
* @throws Exception
*/
public List<PageData> userSelectlistPage(Page page)throws Exception;
/**通过企业ID获取用户信息
* @param DEPARTMENT_ID
* @return
* @throws Exception
*/
public List<PageData> getDepartmentId(String DEPARTMENT_ID) throws Exception;
/**通过企业ID获取用户信息
* @param CORPINFO_ID
* @return
* @throws Exception
*/
public User getCorpInfoId(String CORPINFO_ID) throws Exception;
/**通过用户ID获取用户信息和角色信息
* @param USER_ID
* @return
* @throws Exception
*/
public User getUserAndRoleById(String USER_ID) throws Exception;
/**保存用户IP
* @param pd
* @throws Exception
*/
public void saveIP(PageData pd)throws Exception;
/**通过邮箱获取数据
* @param pd
* @return
* @throws Exception
*/
public PageData findByEmail(PageData pd)throws Exception;
/**通过编码获取数据
* @param pd
* @return
* @throws Exception
*/
public PageData findByNumbe(PageData pd) throws Exception;
/**列出某角色下的所有用户
* @param pd
* @return
* @throws Exception
*/
public List<PageData> listAllUserByRoldId(PageData pd) throws Exception;
/**用户列表(全部)
* @param pd
* @return
* @throws Exception
*/
public List<PageData> listAllUser(PageData pd)throws Exception;
public List<PageData> listAllForHotWork(PageData pd)throws Exception;
/**用户列表(弹窗选择用)
* @param page
* @return
* @throws Exception
*/
public List<PageData> listUsersBystaff(Page page)throws Exception;
/**保存用户
* @param pd
* @throws Exception
*/
public void saveUser(PageData pd)throws Exception;
/**保存用户系统皮肤
* @param pd
* @throws Exception
*/
public void saveSkin(PageData pd)throws Exception;
/**修改用户
* @param pd
* @throws Exception
*/
public void editUser(PageData pd)throws Exception;
public void editPassword(PageData pd)throws Exception;
/**删除用户
* @param pd
* @throws Exception
*/
public void deleteUser(PageData pd)throws Exception;
/**批量删除用户
* @param pd
* @throws Exception
*/
public void deleteAllUser(String[] USER_IDS)throws Exception;
public List<PageData> listUserBYids(String[] USER_IDS)throws Exception;
/**修改用户小程序权限
* @param pd
* @throws Exception
*/
public void editUserFuns(PageData pd);
/**查询小程序用户
* @param pd
* @return
* @throws Exception
*/
public PageData findAppUserById(PageData pd) throws Exception;
/**用户同意协议
* @param pd
* @throws Exception
*/
public void agreeProtocol(PageData pd) throws Exception;
/**
* 获取该企业下所有用户,用户判断是否重复
* @param pd
* @return
* @throws Exception
*/
public List<PageData> findUserNameAll (PageData pd)throws Exception;
/**获取人员Cascader数据(人员ID姓名部门ID部门级别)
* @param pd
* @return
* @throws Exception
*/
public List<PageData> listCascader(PageData pd)throws Exception;
/**清除在线学习人员分类
* @param pd
* @return
* @throws Exception
*/
void clearLearnerCategory(PageData pd)throws Exception;
/**
* 获取用户
* @param pd
* @return
* @throws Exception
*/
public List<PageData> findAllUser (PageData pd)throws Exception;
/**获取账号及部门岗位
* @param pd
* @return
* @throws Exception
*/
public List<PageData> listUserDepPos(PageData pd) throws Exception;
/**
* 查询公司员工总数
* @param pd
* @return
*/
public int getUserCount(PageData pd) throws Exception;
/**
* 查询公司检查过清单的员工总数
* @param pd
* @return
*/
public int getWorkedUserCount(PageData pd) throws Exception;
/**
* 修改用户排班信息
* @param pd
* @return
*/
void editUserScheduling(PageData pd) throws Exception;
/**
* 首页隐患排查数据 企业人数(总数、已参加排查人数)
* @param pd
* @return
*/
List<PageData> statisticsByCorp(PageData pd) throws Exception;
/**通过USERID查部门名称
* @param USER_ID
* @throws Exception
*/
public PageData findByDeptName(String USER_ID) throws Exception;
/**通过USERID查监管端用户
* @param pd
* @throws Exception
*/
PageData findByRegulatoryId(PageData pd) throws Exception;
/**通过企业ID查询数据
* @param pd
* @throws Exception
*/
List<PageData> userlistAll(PageData pd) throws Exception;
/**
* 用户列表(监管端用户+企业端用户)
* @param pd
* @return
* @throws Exception
*/
List<PageData> listAllManageAndCorp(PageData pd)throws Exception;
void lockUser(PageData pd);
public List<PageData> findByPostId(PageData pd)throws Exception;
/**通过用户ID获取用户信息1
* @param pd
* @return
* @throws Exception
*/
public PageData findByIdForEmis(PageData pd)throws Exception;
/**
* 获取用户信息
* @param pd
* @return
* @throws Exception
*/
public Map<String,String> getUserMapFroExcel (PageData pd) throws Exception;
/**
*更新用户pushcid
* @param pd
* @throws Exception
*/
public void updatePushCid(PageData pd)throws Exception;
/**导出Excel
* @param page
* @return
* @throws Exception
*/
public List<PageData> userlistAllToExcel(PageData pd)throws Exception;
PageData findByCorpInfoId(PageData pd);
List<PageData> selectUserListByUserIds(PageData selectPageData);
void resetCardNo(PageData pd);
PageData getUserInfo(PageData pd);
Object getCurrentLocation(PageData pd);
Object getCurrentPersonnelData(PageData pd) throws Exception;
Object getPersonPositioningStatistics(PageData pd) throws Exception;
Object getCurrentLocationCount(PageData pd);
List<PageData> getRegUserInfo(PageData pd);
PageData countAllByArea(PageData pd) throws Exception;
PageData getPersonByCardNo(PageData pd) throws Exception;
PageData findByCardNo(PageData pd) throws Exception;
List<PageData> findEightsByUserId(PageData pd);
void updateCardNoByPhone(String phone, String cardId);
/**用户列表(全部)
* @param pd
* @return
* @throws Exception
*/
public List<PageData> listAllUserNew(PageData pd)throws Exception;
}