|
|
@@ -779,6 +779,7 @@ func SelfSupportForSchoolAddStudent(c *gin.Context) { |
|
|
|
} |
|
|
|
|
|
|
|
classWithUserDb := db.ClassWithUserDb{} |
|
|
|
classWithUserDb.Set() |
|
|
|
_, err = classWithUserDb.ClassWithUserInsert(&model.ClassWithUser{ |
|
|
|
UserIdentityId: insertAffected, |
|
|
|
ClassId: req.ClassId, |
|
|
@@ -789,7 +790,7 @@ func SelfSupportForSchoolAddStudent(c *gin.Context) { |
|
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//更新 self_support_for_user_face_info |
|
|
|
selfSupportForUserFaceInfoDb := db.SelfSupportForUserFaceInfoDb{} |
|
|
|
selfSupportForUserFaceInfoDb.Set(insertAffected) |
|
|
|