Documentation ¶
Index ¶
- func AdvancedSearchUserIdByClient(clientId string, req org.UserSearchReq, isLeave bool, single bool) (userIds []uint64)
- func FindDictByCode(code string) *org.OrgDictionaryItem
- func FindDictByTypeCode(code string) *[]org.OrgDictionaryItem
- func FindDictByTypeCodeAndClientId(clientId, code string) (items []org.OrgDictionaryItem, err error)
- func FindDictTypeByCode(code string) *org.OrgDictionaryItem
- func FindNodeByID(id uint64) (node org.Node)
- func FindNodeByIDAndClientId(id uint64, clientID string) (node org.Node)
- func FindNodeByIDsAndClientId(ids []uint64, clientID string) (nodes []org.Node)
- func FindNodeByIdIn(ids string) (res []org.Node)
- func FindNodeByLeader(ids string) (res map[uint][]uint)
- func FindNodePath(ids string) (res map[uint][]uint)
- func FindUserByID(userID uint64) (user org.OrgUser, err error)
- func FindUserByIDAndClientID(userID uint64, clientID string) (user org.OrgUser, err error)
- func FindUserByIDS(userIDs []uint64) (users []org.OrgUser, err error)
- func FindUserByIDSAndClientID(userIDs []uint64, clientID string) (users []org.OrgUser, err error)
- func FindUserByNodeIDS(nodeIDs []uint64) (users []org.OrgUser, err error)
- func FindUserByNodeIDSAndClientID(nodeIDs []uint64, clientID string) (users []org.OrgUser, err error)
- func FindUserByNodeId(nodeId uint) (users []org.OrgUser, err error)
- func FindUserByNodeIdAndName(nodeId uint, name string) (users []org.OrgUser, err error)
- func FindUserByRole(clientID string, roleID uint64) (users []org.OrgUser, err error)
- func FindUserIDAndNameByNodeIDS(nodeIDs []uint64) (users []org.OrgUser, err error)
- func FindUserIDByEntryDate(start time.Time, end time.Time) (IDList []uint64)
- func FindUserPageByFilter(filter org.UserFilter, userList *[]org.OrgUser) (totalElements int64, totalPages int64, err error)
- func GetDictionMapByCode(code string) map[string]org.OrgDictionaryItem
- func GetDictionMapByCodeWithClientId(clientId string, code string) map[string]org.OrgDictionaryItem
- func GetDictionValueMapByCode(code string) map[string]org.OrgDictionaryItem
- func GetNodeMapByIds(ids []uint64) map[uint64]org.Node
- func GetNodeMapByIdsWithClientId(ids []uint64, clientId string) map[uint64]org.Node
- func GetUsersMapByIds(ids []uint64) map[uint64]org.OrgUser
- func GetUsersMapByIdsWithClientId(ids []uint64, clientId string) map[uint64]org.OrgUser
- type WorkLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDictByCode ¶
func FindDictByCode(code string) *org.OrgDictionaryItem
func FindDictByTypeCode ¶
func FindDictByTypeCode(code string) *[]org.OrgDictionaryItem
func FindDictByTypeCodeAndClientId ¶
func FindDictByTypeCodeAndClientId(clientId, code string) (items []org.OrgDictionaryItem, err error)
func FindDictTypeByCode ¶
func FindDictTypeByCode(code string) *org.OrgDictionaryItem
func FindNodeByID ¶
func FindNodeByIDAndClientId ¶
func FindNodeByIdIn ¶
func FindNodeByLeader ¶
func FindNodePath ¶
func FindUserByIDAndClientID ¶
func FindUserByNodeIdAndName ¶
func FindUserByRole ¶
func FindUserIDByEntryDate ¶
func FindUserPageByFilter ¶
func GetDictionMapByCode ¶
func GetDictionMapByCode(code string) map[string]org.OrgDictionaryItem
根据code获取字段map 返回值是code dic
func GetDictionMapByCodeWithClientId ¶
func GetDictionMapByCodeWithClientId(clientId string, code string) map[string]org.OrgDictionaryItem
手动切库根据code获取字段map 返回值是code dic
func GetDictionValueMapByCode ¶
func GetDictionValueMapByCode(code string) map[string]org.OrgDictionaryItem
根据code获取字段map 返回值是value dic
Types ¶
type WorkLocation ¶
type WorkLocation struct { ID int `json:"id"` //id Name string `json:"name"` //id Country string `json:"country"` //id City string `json:"city"` //id Address string `json:"address"` //id Longitude float64 `json:"longitude"` //id Latitude float64 `json:"latitude"` //id Description string `json:"description"` //id }
func FindWorkLocationByID ¶
func FindWorkLocationByID(id int) WorkLocation
func FindWorkLocationByIDAndClientID ¶
func FindWorkLocationByIDAndClientID(id int, clientID string) WorkLocation
Click to show internal directories.
Click to hide internal directories.