Documentation ¶
Index ¶
- func AddCheckwork(upd Checkworks) error
- func CountCheck(table string, date string, userId int64) (num int64, err error)
- func CountCheckwork(date string, userId int64) (num float64, err error)
- func CountClock(id int64) int64
- type Checkworks
- type CheckworksAll
- type CountCheckworkCommon
- type TmpClockCount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountCheck ¶
统计 请假 外出
func CountClock ¶
Types ¶
type Checkworks ¶
type Checkworks struct { Id int64 `orm:"pk;column(checkid);"` Userid int64 Clock string Type int Ip string Created int64 }
func ListCheckwork ¶
func ListCheckwork(condArr map[string]string) (num int64, err error, checkwork []Checkworks)
个人用户考勤列表30/31条
func (*Checkworks) TableName ¶
func (this *Checkworks) TableName() string
type CheckworksAll ¶
func ListCheckworkAll ¶
func ListCheckworkAll(condArr map[string]string) (num int64, err error, checkwork []CheckworksAll)
type CountCheckworkCommon ¶
统计1正常2迟到3早退4加班
func CountCheckworkType ¶
func CountCheckworkType(date string, userId int64) (num int64, err error, need []CountCheckworkCommon)
Click to show internal directories.
Click to hide internal directories.