|
@@ -36,6 +36,7 @@ type EdbInfoUpdateLog struct {
|
|
DataUpdateFailedReason string `description:"数据未正常更新原因"`
|
|
DataUpdateFailedReason string `description:"数据未正常更新原因"`
|
|
DataUpdateTime string `description:"数据更新时间"`
|
|
DataUpdateTime string `description:"数据更新时间"`
|
|
IsSourceRefresh int `description:"是否为终端刷新到数据源的刷新操作:0否,1是"`
|
|
IsSourceRefresh int `description:"是否为终端刷新到数据源的刷新操作:0否,1是"`
|
|
|
|
+ UpdateType int `description:"变更类型,0:数据明细变更,1:基础信息变更, 2:新增指标"`
|
|
}
|
|
}
|
|
|
|
|
|
type EdbInfoUpdateLogItem struct {
|
|
type EdbInfoUpdateLogItem struct {
|
|
@@ -61,6 +62,7 @@ type EdbInfoUpdateLogItem struct {
|
|
TerminalCode string `description:"终端编码,用于配置在机器上"`
|
|
TerminalCode string `description:"终端编码,用于配置在机器上"`
|
|
DataUpdateTime string `description:"最近一次数据发生变化的时间"`
|
|
DataUpdateTime string `description:"最近一次数据发生变化的时间"`
|
|
ErDataUpdateDate string `description:"本次更新,数据发生变化的最早日期"`
|
|
ErDataUpdateDate string `description:"本次更新,数据发生变化的最早日期"`
|
|
|
|
+ UpdateType int `description:"变更类型,0:数据明细变更,1:基础信息变更, 2:新增指标"`
|
|
}
|
|
}
|
|
|
|
|
|
func AddEdbUpdateLog(item *EdbInfoUpdateLog) (lastId int64, err error) {
|
|
func AddEdbUpdateLog(item *EdbInfoUpdateLog) (lastId int64, err error) {
|