|
@@ -66,7 +66,6 @@ func (l *AcquirerStudentAddLogic) AcquirerStudentAdd(req types.EnrollAddReq) (*t
|
|
|
bean.StuPhone = req.StuPhone
|
|
bean.StuPhone = req.StuPhone
|
|
|
bean.Address = req.Address
|
|
bean.Address = req.Address
|
|
|
bean.UserId = userId
|
|
bean.UserId = userId
|
|
|
- bean.LoadSchId = erpUser.SchId
|
|
|
|
|
//加入part信息
|
|
//加入part信息
|
|
|
partUser, err := model.GetPartTimeXormByUserId(userId, l.svcCtx.DB)
|
|
partUser, err := model.GetPartTimeXormByUserId(userId, l.svcCtx.DB)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
@@ -83,7 +82,7 @@ func (l *AcquirerStudentAddLogic) AcquirerStudentAdd(req types.EnrollAddReq) (*t
|
|
|
if acquirerInfo.Id == 0 {
|
|
if acquirerInfo.Id == 0 {
|
|
|
return &types.Response{500, "二维码已失效", nil}, nil
|
|
return &types.Response{500, "二维码已失效", nil}, nil
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ bean.LoadSchId = acquirerInfo.SchoolId
|
|
|
bean.MkId = erpUser.UserId
|
|
bean.MkId = erpUser.UserId
|
|
|
bean.NetworkDetailId = acquirerInfo.NetworkDetailId
|
|
bean.NetworkDetailId = acquirerInfo.NetworkDetailId
|
|
|
bean.QuaoYji = acquirerInfo.QuaoYji
|
|
bean.QuaoYji = acquirerInfo.QuaoYji
|