Commit 79605466 authored by szh's avatar szh

update

parent 15baebea
...@@ -51,7 +51,7 @@ func (courseSignupService *CourseSignupService)UpdateCourseSignup(courseSignup c ...@@ -51,7 +51,7 @@ func (courseSignupService *CourseSignupService)UpdateCourseSignup(courseSignup c
return return
} }
// 审核通过 分配学号 // 审核通过 分配学号
if *preSign.IsPass && *courseSignup.IsPass { if !*preSign.IsPass && *courseSignup.IsPass {
if user.Number > 0 { if user.Number > 0 {
err = errors.New("异常!用户已存在学号") err = errors.New("异常!用户已存在学号")
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment