|
@@ -95,10 +95,11 @@ func RefreshEdbDataFromJiaYue(source, edbInfoId int, tableName, edbCode, startDa
|
|
|
var edbDataInsertConfig *EdbDataInsertConfig
|
|
|
var isFindConfigDateRealData bool //是否找到配置日期的实际数据的值
|
|
|
{
|
|
|
- edbDataInsertConfig, err = GetEdbDataInsertConfigByEdbId(edbInfoId)
|
|
|
- if err != nil && err.Error() != utils.ErrNoRow() {
|
|
|
+ conf, e := GetEdbDataInsertConfigByEdbId(edbInfoId)
|
|
|
+ if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
return
|
|
|
}
|
|
|
+ edbDataInsertConfig = conf
|
|
|
if edbDataInsertConfig != nil {
|
|
|
edbDataInsertConfigDate = edbDataInsertConfig.Date
|
|
|
}
|