Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
5a283ce9
Commit
5a283ce9
authored
Sep 21, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
fbfab839
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
389 additions
and
23 deletions
+389
-23
RB_Assist.cs
Edu.Model/Entity/User/RB_Assist.cs
+20
-0
RB_Manager.cs
Edu.Model/Entity/User/RB_Manager.cs
+10
-0
RB_Student.cs
Edu.Model/Entity/User/RB_Student.cs
+20
-0
RB_Teacher.cs
Edu.Model/Entity/User/RB_Teacher.cs
+10
-0
AssistModule.cs
Edu.Module.User/AssistModule.cs
+2
-0
StudentModule.cs
Edu.Module.User/StudentModule.cs
+1
-1
TeacherModule.cs
Edu.Module.User/TeacherModule.cs
+1
-0
UserController.cs
Edu.WebApi/Controllers/User/UserController.cs
+325
-22
No files found.
Edu.Model/Entity/User/RB_Assist.cs
View file @
5a283ce9
...
...
@@ -62,6 +62,26 @@ namespace Edu.Model.Entity.User
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
/// <summary>
/// 集团编号
/// </summary>
...
...
Edu.Model/Entity/User/RB_Manager.cs
View file @
5a283ce9
...
...
@@ -33,11 +33,21 @@ namespace Edu.Model.Entity.User
/// </summary>
public
string
MHead
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
...
...
Edu.Model/Entity/User/RB_Student.cs
View file @
5a283ce9
...
...
@@ -76,5 +76,25 @@ namespace Edu.Model.Entity.User
/// 删除状态
/// </summary>
public
DateStateEnum
Status
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
}
}
Edu.Model/Entity/User/RB_Teacher.cs
View file @
5a283ce9
...
...
@@ -76,11 +76,21 @@ namespace Edu.Model.Entity.User
/// </summary>
public
int
SortNum
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 更新时间
/// </summary>
...
...
Edu.Module.User/AssistModule.cs
View file @
5a283ce9
...
...
@@ -61,6 +61,8 @@ namespace Edu.Module.User
{
nameof
(
RB_Assist
.
AssistTel
),
model
.
AssistTel
},
{
nameof
(
RB_Assist
.
AssistIcon
),
model
.
AssistIcon
},
{
nameof
(
RB_Assist
.
AssistIntro
),
model
.
AssistIntro
},
{
nameof
(
RB_Assist
.
UpdateBy
),
model
.
UpdateBy
},
{
nameof
(
RB_Assist
.
UpdateTime
),
model
.
UpdateTime
},
};
flag
=
assistRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Assist
.
AId
),
model
.
AId
));
}
...
...
Edu.Module.User/StudentModule.cs
View file @
5a283ce9
...
...
@@ -46,7 +46,7 @@ namespace Edu.Module.User
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public
bool
Set
Teacher
Module
(
RB_Student_ViewModel
model
)
public
bool
Set
Student
Module
(
RB_Student_ViewModel
model
)
{
bool
flag
;
if
(
model
.
StuId
>
0
)
...
...
Edu.Module.User/TeacherModule.cs
View file @
5a283ce9
...
...
@@ -61,6 +61,7 @@ namespace Edu.Module.User
{
nameof
(
RB_Teacher_ViewModel
.
IsShow
),
model
.
IsShow
},
{
nameof
(
RB_Teacher_ViewModel
.
IsRecommend
),
model
.
IsRecommend
},
{
nameof
(
RB_Teacher_ViewModel
.
SortNum
),
model
.
SortNum
},
{
nameof
(
RB_Teacher_ViewModel
.
UpdateBy
),
model
.
UpdateBy
},
{
nameof
(
RB_Teacher_ViewModel
.
UpdateTime
),
model
.
UpdateTime
},
};
flag
=
teacherRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Teacher_ViewModel
.
TId
),
model
.
TId
));
...
...
Edu.WebApi/Controllers/User/UserController.cs
View file @
5a283ce9
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment