package com.skyline.electricity.mapper; import java.util.*; import com.skyline.electricity.pojo.*; import com.skyline.electricity.entity.*; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; @Mapper @Repository public interface InfoSynchMapper { PgPos selectPosInfoById(final String id); int insertPosInfo(final PgPos pgPos); int updatePosInfo(final PgPos pgPos); SysUser selectUserInfoById(final String id); int insertUserInfo(final SysUser sysUser); int updateUserInfo(final SysUser sysUser); int deletePoss(final String id); PgSpec selectSpecInfoById(final Integer id); int insertSpecInfo(final PgSpec pgSpec); int updateSpecInfo(final PgSpec pgSpec); void deleteSpec(final int id); void deleteUser(final String id); SysDicts selectDictInfoById(final String id); int insertDictInfo(final SysDicts sysDicts); int updateDictInfo(final SysDicts sysDicts); void deleteDicts(final String id); UserPos selectUserPosInfo(final String id); int insertUserPosInfo(final UserPos userPos); int updateUserPosInfo(final UserPos userPos); void deleteUserPoss(final String id); SysOrg selectOrgInfoById(final int id); int updateOrgInfo(final SysOrg sysOrg); int insertOrgInfo(final SysOrg sysOrg); void deleteOrgs(final int id); String selectIdByName(final String username); String selectNameById(final String userId); void insertFenceUser(final Fence_User fu); void deleteFenceUser(final String username, final String workId); List selectUserInFence(final String workId); SysUser getUserInfoById(final String userId); Fence_User selectUser(final String username, final String workId); void insertWhiteList(final Fence_User user); List selectWhiteList(); Fence_User selectUniqueInfo(final Fence_User user); Integer selectWhiteListCount(); List selectAllowList(final String workId); List selectAllowPerson(); List getAllUserName(); List selectAllUserIds(); void setRecipients(final Recipients recipients); List selectRecipients(); List getRecipients(); List getRecipientsIds(); List selectAllRecipientsId(); List getRecipientsDTO(); void deleteRecipients(final String username); Integer selectRecipientsCount(); List selectPermissions(); List getPermissions(); void setPermissions(final Permissions permission); List selectAllPermissionsId(); List getPermissionsDTO(); Integer selectPermissionsCount(); void deletePermissions(final String username); List selectPositionInfoById(final String id); String getOrgNameById(final String user_id); String getMobileById(final String user_id); }