UserRecord2

package
v5.1.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//OpenSub 是否启动订阅
	OpenSub = false
)

Functions

func Init

func Init()

func Run

func Run()

Types

type ArgsGetList

type ArgsGetList struct {
	//分页
	Pages CoreSQLPages.ArgsDataList `json:"pages"`
	//组织ID
	OrgID int64 `json:"orgID" check:"id" empty:"true"`
	//成员ID
	OrgBindID int64 `json:"orgBindID" check:"id" empty:"true"`
	//用户ID
	UserID int64 `json:"userID" check:"id" empty:"true"`
	//系统来源
	System string `json:"system" check:"mark" empty:"true"`
	//影响ID
	ModID int64 `json:"modID" check:"id" empty:"true"`
	//操作内容标识码
	Mark string `json:"mark" check:"mark" empty:"true"`
	//是否为历史数据
	IsHistory bool `json:"isHistory" check:"bool"`
	//搜索
	Search string `json:"search" check:"search" empty:"true"`
}

ArgsGetList 查询列表参数

type FieldsRecord

type FieldsRecord struct {
	//ID
	ID int64 `db:"id" json:"id"`
	//创建时间
	CreateAt time.Time `db:"create_at" json:"createAt"`
	//组织ID
	// 留空则表明为平台的用户留下的内容
	OrgID int64 `db:"org_id" json:"orgID"`
	//成员ID
	OrgBindID int64 `db:"org_bind_id" json:"orgBindID"`
	//用户ID
	UserID int64 `db:"user_id" json:"userID"`
	//系统来源
	System string `db:"system" json:"system"`
	//影响ID
	ModID int64 `db:"mod_id" json:"modID"`
	//操作内容标识码
	Mark string `db:"mark" json:"mark"`
	//操作内容概述
	Des string `db:"des" json:"des"`
}

func GetList

func GetList(args *ArgsGetList) (dataList []FieldsRecord, dataCount int64, err error)

GetList 查询列表

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL