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