master
wangshuai 4 years ago
parent 1243536a78
commit 4b3a5ba9c3

@ -62,7 +62,7 @@ func RemoveJyt2012(id string, model *models.TDataexJyt2012) (bool, string, error
func GetJyt2012CountById(id string) int64 {
business := new(models.TDataexJyt2012)
total, err := db.Where("id =?", id).Count(business)
total, err := db.Where("dic_value =?", id).Count(business)
if err != nil {
LogUtil.Error(ErrorConst.SqlUpdateError, "接入系统authToken Update数据库操作发生严重错误"+err.Error())
}

Loading…
Cancel
Save