Documentation
¶
Index ¶
- func AddGoout(upd Goouts) error
- func AddGooutsApprover(upd GooutsApprover) error
- func ChangeGooutResult(id int64, result int) error
- func ChangeGooutStatus(id int64, status int) error
- func CheckGooutApprover(id, userId int64) (int64, int)
- func CountGoout(condArr map[string]string) int64
- func CountGooutApproval(condArr map[string]string) int64
- func DeleteGoout(id int64) error
- func ListGooutApproverProcessHtml(gooutid int64) string
- func UpdateGoout(id int64, upd Goouts) error
- func UpdateGooutsApprover(id int64, upd GooutsApprover) error
- type GooutApproverProcess
- type Goouts
- type GooutsApprover
- type TmpGooutCount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGooutsApprover ¶
func AddGooutsApprover(upd GooutsApprover) error
func ChangeGooutResult ¶
func ChangeGooutStatus ¶
func CountGoout ¶
func CountGooutApproval ¶
func DeleteGoout ¶
func UpdateGoout ¶
func UpdateGooutsApprover ¶
func UpdateGooutsApprover(id int64, upd GooutsApprover) error
Types ¶
type GooutApproverProcess ¶
type GooutApproverProcess struct {
Userid int64
Realname string
Avatar string
Position string
Status int
Summary string
Changed int64
}
func ListGooutApproverProcess ¶
func ListGooutApproverProcess(gooutid int64) (num int64, err error, user []GooutApproverProcess)
type Goouts ¶
type Goouts struct {
Id int64 `orm:"pk;column(gooutid);"`
Userid int64
Started int64
Ended int64
Hours float64
Reason string
Picture string
Result int
Status int
Approverids string
Created int64
Changed int64
}
type GooutsApprover ¶
type GooutsApprover struct {
Id int64 `orm:"pk;column(approverid);"`
Gooutid int64
Userid int64
Summary string
Status int
Created int64
Changed int64
}
func (*GooutsApprover) TableName ¶
func (this *GooutsApprover) TableName() string
type TmpGooutCount ¶
type TmpGooutCount struct {
Num int64
}
Click to show internal directories.
Click to hide internal directories.