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
5ab61937
Commit
5ab61937
authored
Dec 09, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b3b27513
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
49 deletions
+79
-49
RB_Student.cs
Edu.Model/Entity/User/RB_Student.cs
+11
-0
RB_Student_ViewModel.cs
Edu.Model/ViewModel/User/RB_Student_ViewModel.cs
+1
-1
RB_StudentRepository.cs
Edu.Repository/User/RB_StudentRepository.cs
+1
-0
UserController.cs
Edu.WebApi/Controllers/User/UserController.cs
+66
-48
No files found.
Edu.Model/Entity/User/RB_Student.cs
View file @
5ab61937
using
Edu.Common.Enum
;
using
Edu.Common.Enum
;
using
Edu.Common.Enum.Course
;
using
Edu.Common.Enum.Course
;
using
Edu.Common.Enum.User
;
using
System
;
using
System
;
using
VT.FW.DB
;
using
VT.FW.DB
;
...
@@ -165,5 +166,15 @@ namespace Edu.Model.Entity.User
...
@@ -165,5 +166,15 @@ namespace Edu.Model.Entity.User
/// 身份证居住地
/// 身份证居住地
/// </summary>
/// </summary>
public
string
StuIDCardAddress
{
get
;
set
;
}
public
string
StuIDCardAddress
{
get
;
set
;
}
/// <summary>
/// 录入方式(1-员工录入,2-同业录入)
/// </summary>
public
int
CreateType
{
get
;
set
;
}
/// <summary>
/// 客户阶段(见枚举)
/// </summary>
public
StuStageEnum
StuStage
{
get
;
set
;
}
}
}
}
}
Edu.Model/ViewModel/User/RB_Student_ViewModel.cs
View file @
5ab61937
...
@@ -8,7 +8,7 @@ namespace Edu.Model.ViewModel.User
...
@@ -8,7 +8,7 @@ namespace Edu.Model.ViewModel.User
/// 学生视图实体类
/// 学生视图实体类
/// </summary>
/// </summary>
[
Serializable
]
[
Serializable
]
public
class
RB_Student_ViewModel
:
Model
.
Entity
.
User
.
RB_Student
public
class
RB_Student_ViewModel
:
Entity
.
User
.
RB_Student
{
{
/// <summary>
/// <summary>
/// 创建人姓名
/// 创建人姓名
...
...
Edu.Repository/User/RB_StudentRepository.cs
View file @
5ab61937
...
@@ -140,6 +140,7 @@ WHERE 1=1
...
@@ -140,6 +140,7 @@ WHERE 1=1
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
AreaId
),
query
.
AreaId
);
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
AreaId
),
query
.
AreaId
);
}
}
}
}
builder
.
AppendFormat
(
" ORDER BY t.{0} DESC "
,
nameof
(
RB_Student_ViewModel
.
StuId
));
return
GetPage
<
RB_Student_ViewModel
>(
pageIndex
,
pageSize
,
out
rowsCount
,
builder
.
ToString
(),
parameters
).
ToList
();
return
GetPage
<
RB_Student_ViewModel
>(
pageIndex
,
pageSize
,
out
rowsCount
,
builder
.
ToString
(),
parameters
).
ToList
();
}
}
...
...
Edu.WebApi/Controllers/User/UserController.cs
View file @
5ab61937
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