package com.skyline.electricity.service; import java.util.*; import com.skyline.electricity.pojo.*; import com.skyline.electricity.entity.*; public interface InfoSynchService { PgPos selectPosInfoById(final String id); int insertPosInfo(final PgPos pos); int updatePosInfo(final PgPos pos); SysUser selectUserInfoById(final String id); int insertUserInfo(final SysUser user); int updateUserInfo(final SysUser user); 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 selectUserPosInfoById(final String id); int insertUserPosInfo(final UserPos userPos); int updateUserPosInfo(final UserPos userPos); void deleteUserPoss(final String id); SysOrg selectOrgInfoById(final int id); int insertOrgInfo(final SysOrg sysOrg); int updateOrgInfo(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 getMobileById(final String user_id); String getOrgNameById(final String user_id); }