Commit 15baebea authored by szh's avatar szh

update

parent cdb0f7d1
......@@ -45,7 +45,7 @@ func (courseSignupService *CourseSignupService)UpdateCourseSignup(courseSignup c
tx.Rollback()
return
}
err = tx.Model(&course.CourseSignup{}).Where("id = ?",courseSignup.ID).Error
err = tx.Model(&course.CourseSignup{}).Where("id = ?",courseSignup.ID).First(&preSign).Error
if err != nil {
tx.Rollback()
return
......
......@@ -70,6 +70,7 @@
<template #default="scope">{{ formatDate(scope.row.CreatedAt) }}</template>
</el-table-column>
<el-table-column align="left" label="地址" prop="address" width="120" />
<el-table-column align="left" label="学号" prop="number" width="120" />
<el-table-column align="left" label="姓名" prop="name" width="120" />
<el-table-column align="left" label="年龄" prop="age" width="120" />
<el-table-column align="left" label="性别 0 女性 1 男性" prop="sex" width="120">
......
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