Skip to content

Commit f914f96

Browse files
author
pixel
committed
消除初始化时间0值报错
1 parent 35a21d4 commit f914f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/sys_workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ type WorkflowNode struct {
110110
Cycle string `json:"cycle" gorm:"comment:循环时间"`
111111
Duration string `json:"duration" gorm:"comment:持续时间"`
112112
HideIcon bool `json:"hideIcon" gorm:"comment:是否隐藏图标"`
113-
DueDate time.Time `json:"dueDate" gorm:"comment:到期时间"`
113+
DueDate *time.Time `json:"dueDate" gorm:"comment:到期时间"`
114114
AssignType string `json:"assignType" gorm:"comment:审批类型"`
115115
AssignValue string `json:"assignValue" gorm:"comment:审批类型值"`
116116
Success bool `json:"success" gorm:"comment:是否成功"`

0 commit comments

Comments
 (0)