caipin 4 年之前
父节点
当前提交
453860b5b9
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      models/cm_quality.go
  2. 0 1
      models/cm_safe.go

+ 1 - 1
models/cm_quality.go

@@ -7,7 +7,7 @@ import (
 type CmQuality 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)"`
+	ProjectId        int       `xorm:"not null default 0 comment('项目ID') INT(11)"`
 	Code             string    `xorm:"comment('编号') VARCHAR(128)"`
 	CreateTime       time.Time `xorm:"comment('检查时间') DATETIME"`
 	EndTime          time.Time `xorm:"comment('结束时间') DATETIME"`

+ 0 - 1
models/cm_safe.go

@@ -8,7 +8,6 @@ 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)"`
 	ProjectId        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"`