qa-prevention-gwj/src/main/java/com/zcloud/mapper/datasource/system/UsersMapper.java

294 lines
5.5 KiB
Java
Raw Normal View History

2023-11-07 09:32:12 +08:00
package com.zcloud.mapper.datasource.system;
import java.util.List;
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.ibatis.annotations.Update;
/**
* Mapper
* luoxiaobao
* www.qdkjchina.com
*/
public interface UsersMapper {
//通过用户ID获取角色等级
PageData findLevelByUserId(PageData pd);
/**ID
* @param arryROLE_ID
* @throws Exception
*/
List<Role> listAllRolesByArryROLE_ID(String[] arryROLE_ID);
/**ID
* @param pd
* @return
*/
List<Role> listAllRolesByPId(PageData pd);
/**
* @param pd
* @return
*/
PageData findByUsername(PageData pd);
PageData findBySelect(PageData pd);
PageData findByName(PageData pd);
/**
* @param page
* @return
*/
List<PageData> userlistPage(Page page);
/**
* @param page
* @return
*/
List<PageData> userSelectlistPage(Page page);
/**ID
* @param USER_ID
* @return
*/
User getUserAndRoleById(String USER_ID);
/**
* @param pd
* @return
* @throws Exception
*/
PageData findByEmail(PageData pd);
/**
* @param pd
* @return
* @throws Exception
*/
PageData findByNumbe(PageData pd);
/**
* @param pd
* @return
* @throws Exception
*/
List<PageData> listAllUserByRoldId(PageData pd);
/**()
* @param pd
* @return
* @throws Exception
*/
List<PageData> listAllUser(PageData pd);
/**
* @param pd
* @return
* @throws Exception
*/
List<PageData> listUserbyDep(PageData pd);
/**()
* @param page
* @return
* @throws Exception
*/
List<PageData> userBystafflistPage(Page page);
/**ID
* @param pd
* @return
* @throws Exception
*/
PageData findById(PageData pd);
/**ID
* @param pd
* @return
* @throws Exception
*/
PageData findPolice(PageData pd);
/**IP
* @param pd
*/
void saveIP(PageData pd);
/**
* @param pd
* @throws Exception
*/
void saveUser(PageData pd);
void editPassword(PageData pd);
/**
* @param pd
* @throws Exception
*/
void saveSkin(PageData pd);
/**
* @param pd
* @throws Exception
*/
void editUser(PageData pd);
/**
* @param pd
* @throws Exception
*/
void deleteUser(PageData pd);
/**
* @param pd
* @throws Exception
*/
void deleteAllUser(String[] USER_IDS);
List<PageData> listUserBYids(String[] USER_IDS);
/**
* @param pd
* @throws Exception
*/
void editUserFuns(PageData pd);
/**
* @param pd
* @return
* @throws Exception
*/
PageData findAppUserById(PageData pd);
/**
* @param pd
* @throws Exception
*/
void agreeProtocol(PageData pd);
/**
*
* @param pd
* @return
*/
List<PageData> findUserNameAll(PageData pd);
/**Cascader(IDID)
* @param pd
* @return
* @throws Exception
*/
List<PageData> listCascader(PageData pd);
/**
*
* @param pd
* @return
*/
List<PageData> findAllUser(PageData pd);
/**
*
* @param pd
* @return
* @throws Exception
*/
PageData findCorpMain (PageData pd);
/**
* @param page
* @return
* @throws Exception
*/
List<PageData> listUserDepPos(PageData pd);
/**
*
* @param pd
* @return
*/
int getUserCount(PageData pd);
/**
*
* @param pd
* @return
*/
int getWorkedUserCount(PageData pd);
/**
* ID
* @param corpinfo_id
* @return
*/
User getCorpInfoId(String corpinfo_id);
/**
* ID
* @param department_id
* @return
*/
List<PageData> getDepartmentId(String department_id);
/**线
* @param pd
* @return
* @throws Exception
*/
void clearLearnerCategory(PageData pd);
/**
* @param pd
* @return
* @throws Exception
*/
void editUserScheduling(PageData pd);
List<PageData> userConfirmPage(Page page);
List<PageData> userExaminePage(Page page);
List<PageData> userApprovePage(Page page);
/**
*
* @param pd
* @return
*/
List<PageData> statisticsByCorp(PageData pd);
PageData findByDeptName(String user_id);
List<PageData> listUserAndDept(PageData pd);
PageData findByRegulatoryId(PageData pd);
List<PageData> userlistAll(PageData pd);
/**
* (+)
* @return
*/
List<PageData> listAllManageAndCorp(PageData pd);
void lockUser(PageData pd);
List<PageData> findByPostId(PageData pd);
PageData findByIdForEmis(PageData pd);
/**pushcid
* @param pd
* @throws Exception
*/
void updatePushCid(PageData pd);
void unlockUser (PageData pd)throws Exception;
List<PageData> userlistAllToExcel(PageData pd);
PageData findByCorpInfoId(PageData pd);
List<PageData> selectUserListByUserIds(PageData pd);
}