|
|
|
@ -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())
|
|
|
|
|
}
|
|
|
|
|