Roc 1 周之前
父節點
當前提交
e057695dec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/edb_adjust_conf.go

+ 1 - 1
models/edb_adjust_conf.go

@@ -6,7 +6,7 @@ import (
 
 // EdbAdjustConf 计算指标于基础指标,关系表
 type EdbAdjustConf struct {
-	EdbInfoId     int       `gorm:"column:edb_info_id;primaryKey" description:"计算指标id"`
+	EdbInfoId     int       `gorm:"column:edb_info_id;primaryKey;autoIncrement:false" description:"计算指标id"`
 	SourceEndDate time.Time `description:"来源指标的实际数据日期"`
 	ModifyTime    time.Time `description:"修改时间"`
 	CreateTime    time.Time `description:"创建时间"`