caipin 4 years ago
parent
commit
04a3f11060
2 changed files with 2 additions and 1 deletions
  1. 1 0
      models/cm_safe.go
  2. 1 1
      models/cm_safe_audit.go

+ 1 - 0
models/cm_safe.go

@@ -7,6 +7,7 @@ import (
 type CmSafe struct {
 	Id               int       `xorm:"not null pk autoincr comment('自增id') INT(11)"`
 	BidsectionId     int       `xorm:"not null default 0 comment('标段id') INT(11)"`
+	AuditId          string    `xorm:"comment('当前审核人') VARCHAR(32)"`
 	Code             string    `xorm:"comment('编号') VARCHAR(128)"`
 	CreateTime       time.Time `xorm:"comment('检查时间') DATETIME"`
 	EndTime          time.Time `xorm:"comment('结束时间') DATETIME"`

+ 1 - 1
models/cm_safe_audit.go

@@ -12,7 +12,7 @@ type CmSafeAudit struct {
 	AuditId       int       `xorm:"not null default 0 comment('审核人id') INT(11)"`
 	AuditOrder    int       `xorm:"not null default 0 comment('审批顺序') INT(11)"`
 	Status        int       `xorm:"default 0 comment('状态(0未上报1待审批2通过3退回4关闭)') INT(11)"`
-	Progress      int       `xorm:"not null default 0 comment('审批进度(0审批1整改2复查)') TINYINT(1)"`
+	Progress      int       `xorm:"not null default 0 comment('审批进度(0上报人1审批2整改3复查)') TINYINT(1)"`
 	CreateTime    time.Time `xorm:"comment('开始时间') DATETIME"`
 	EndTime       time.Time `xorm:"comment('结束时间') DATETIME"`
 	Opinion       string    `xorm:"comment('审批意见') VARCHAR(1024)"`