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