Преглед изворни кода

查询数据更新失败原因

xyxie пре 1 година
родитељ
комит
08fd7e2c09
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      models/data_stat/edb_info_update_stat.go

+ 1 - 1
models/data_stat/edb_info_update_stat.go

@@ -131,7 +131,7 @@ func GetEdbUpdateStatFailedGroupByCondition(condition string, pars []interface{}
 FROM
 	edb_info_update_stat 
 WHERE
-	1 = 1`
+	data_update_result != 0`
 	if condition != "" {
 		sql += condition
 	}