From ebc8f61f49b58b850747bd2e36c9a72877157d11 Mon Sep 17 00:00:00 2001 From: jhc <9316338+wangyitao309@user.noreply.gitee.com> Date: Mon, 15 May 2023 09:20:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/model/approval_oa.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/model/approval_oa.go b/pkg/model/approval_oa.go index 0254e09..5ab1597 100644 --- a/pkg/model/approval_oa.go +++ b/pkg/model/approval_oa.go @@ -19,12 +19,12 @@ type ApprovalOA struct { CreatedAt time.Time `gorm:"column:created_at" json:"createdAt"` // 创建时间 UpdatedAt time.Time `gorm:"column:updated_at" json:"updatedAt"` // 更新时间 ApprovalID uint64 `gorm:"column:approval_id" json:"approvalID"` // 申请的id - LeaveApply LeaveApply `json:"leaveApply" gorm:"column:leave_apply;type:json;comment:假期余额申请"` - OutWork OutWorkApply `json:"outWork" gorm:"column:out_work;type:json;comment:外勤"` - MakeUp MakeUpApply `json:"makeUp" gorm:"column:make_up;type:json;comment:加班"` - Turnover TurnoverApply `json:"turnover" gorm:"column:turnover;type:json;comment:离职"` - OverTime OverTimeApply `json:"overTime" gorm:"column:over_time;type:json;comment:加班"` - Leave Leave `json:"leave" gorm:"column:leave;type:json;comment:请假"` + LeaveApply *LeaveApply `json:"leaveApply" gorm:"column:leave_apply;type:json;comment:假期余额申请"` + OutWork *OutWorkApply `json:"outWork" gorm:"column:out_work;type:json;comment:外勤"` + MakeUp *MakeUpApply `json:"makeUp" gorm:"column:make_up;type:json;comment:加班"` + Turnover *TurnoverApply `json:"turnover" gorm:"column:turnover;type:json;comment:离职"` + OverTime *OverTimeApply `json:"overTime" gorm:"column:over_time;type:json;comment:加班"` + Leave *Leave `json:"leave" gorm:"column:leave;type:json;comment:请假"` } // LeaveApply