diff --git a/app/db/db_self_support_for_user_face_info.go b/app/db/db_self_support_for_user_face_info.go index 632f82d..159a2aa 100644 --- a/app/db/db_self_support_for_user_face_info.go +++ b/app/db/db_self_support_for_user_face_info.go @@ -90,7 +90,7 @@ func (selfSupportForUserFaceInfoDb *SelfSupportForUserFaceInfoDb) CountSchoolFac func (selfSupportForUserFaceInfoDb *SelfSupportForUserFaceInfoDb) CountSchoolFacePaymentStatus(enterpriseId int, status string) (total int64, err error) { var m model.SelfSupportForUserFaceInfo - total, err = selfSupportForUserFaceInfoDb.Db.Where("enterprise_id =? AND concentrate_school_face_pass_status =?", enterpriseId, status).Count(&m) + total, err = selfSupportForUserFaceInfoDb.Db.Where("enterprise_id =? AND school_face_payment_status =?", enterpriseId, status).Count(&m) if err != nil { return }