db

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ApiLog = "ApiLog" //外部调用API LOG
View Source
const DeleteLog = "DeleteLog" //删除操作 LOG
View Source
const EventLog = "EventLog" //系统事件执行LOG
View Source
const ExWfLog = "ExWfLog" //外部工作流LOG
View Source
const PayLog = "PayLog" //付款相关LOG
View Source
const SaveLog = "SaveLog" //保存日志 LOG
View Source
const VoucherLog = "VoucherLog" //凭证相关LOG

Variables

This section is empty.

Functions

func DelHistoryLog

func DelHistoryLog()

删除历史LOG数据

func InsertLog

func InsertLog(entity *DBLogEntity)

Types

type DBLogEntity

type DBLogEntity struct {
	Pid        int    //单据类型
	PrimaryKey string //主健
	IsSuccess  bool   //是否操作成功
	LogMsg     string //消息
	OpUserId   string //操作人
	LogTime    string //日志时间
	LogType    string //消息类型
	Action     string //操作类型 save,allpass,appreturn,apppass,delete,submit
}

DB LOG 对象

Directories

Path Synopsis
createdbstruct

Jump to

Keyboard shortcuts

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