|
@@ -155,6 +155,9 @@ func getEdbInfoIdList(edbInfoIdList []int) (newBaseEdbInfoArr, newBasePredictEdb
|
|
|
for _, edbInfo := range tmpBaseEdbInfoArr {
|
|
|
if _, ok := newBaseMap[edbInfo.EdbInfoId]; !ok {
|
|
|
newBaseMap[edbInfo.EdbInfoId] = edbInfo
|
|
|
+ if edbInfo.NoUpdate == 1 {
|
|
|
+ continue
|
|
|
+ }
|
|
|
newBaseEdbInfoArr = append(newBaseEdbInfoArr, edbInfo)
|
|
|
}
|
|
|
}
|
|
@@ -2424,6 +2427,7 @@ func TraceEdbInfoByEdbInfoId(edbInfoId int) (traceEdbInfo data_manage.TraceEdbIn
|
|
|
//Source: edbInfo.Source,
|
|
|
UniqueCode: edbInfo.UniqueCode,
|
|
|
ClassifyId: edbInfo.ClassifyId,
|
|
|
+ IsStop: edbInfo.NoUpdate,
|
|
|
EdbInfo: edbInfo,
|
|
|
}
|
|
|
findIdMap := make(map[int]int)
|
|
@@ -2472,6 +2476,7 @@ func TraceEdbInfoByEdbInfoIdList(edbInfoIdList []int) (traceEdbInfoList []data_m
|
|
|
//Source: edbInfo.Source,
|
|
|
UniqueCode: edbInfo.UniqueCode,
|
|
|
ClassifyId: edbInfo.ClassifyId,
|
|
|
+ IsStop: edbInfo.NoUpdate,
|
|
|
EdbInfo: edbInfo,
|
|
|
}
|
|
|
traceEdbInfo.Child, err = traceEdbInfoByEdbInfoId(edbInfo.EdbInfoId, traceEdbInfo, edbInfoRuleMap, findIdMap, existMap, edbMappingMap)
|
|
@@ -2537,6 +2542,7 @@ func traceEdbInfoByEdbInfoId(edbInfoId int, traceEdbInfo data_manage.TraceEdbInf
|
|
|
EdbType: v.FromEdbType,
|
|
|
UniqueCode: v.FromUniqueCode,
|
|
|
ClassifyId: v.FromClassifyId,
|
|
|
+ IsStop: v.NoUpdate,
|
|
|
EdbInfo: edbInfoMap[v.FromEdbInfoId],
|
|
|
}
|
|
|
|