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
83bbb625
Commit
83bbb625
authored
Apr 01, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
598fae23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
RB_Course.cs
Edu.Model/Entity/Course/RB_Course.cs
+5
-0
RB_CourseRepository.cs
Edu.Repository/Course/RB_CourseRepository.cs
+1
-0
CourseController.cs
Edu.WebApi/Controllers/Course/CourseController.cs
+2
-1
No files found.
Edu.Model/Entity/Course/RB_Course.cs
View file @
83bbb625
...
...
@@ -356,5 +356,10 @@ namespace Edu.Model.Entity.Course
/// 开发题库等级[多选,逗号分割]
/// </summary>
public
string
OpenBankLevel
{
get
;
set
;
}
/// <summary>
/// 赠送咖啡劵数量
/// </summary>
public
int
FreeCoffeeNum
{
get
;
set
;
}
}
}
\ No newline at end of file
Edu.Repository/Course/RB_CourseRepository.cs
View file @
83bbb625
...
...
@@ -301,6 +301,7 @@ WHERE 1=1
{
nameof
(
RB_Course_ViewModel
.
ScrollMaxNum
),
model
.
ScrollMaxNum
},
{
nameof
(
RB_Course_ViewModel
.
CourseTimeId
),
model
.
CourseTimeId
},
{
nameof
(
RB_Course_ViewModel
.
OpenBankLevel
),
model
.
OpenBankLevel
},
{
nameof
(
RB_Course_ViewModel
.
FreeCoffeeNum
),
model
.
FreeCoffeeNum
},
};
flag
=
base
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Course_ViewModel
.
CourseId
),
model
.
CourseId
));
}
...
...
Edu.WebApi/Controllers/Course/CourseController.cs
View file @
83bbb625
...
...
@@ -417,11 +417,12 @@ namespace Edu.WebApi.Controllers.Course
B2BIcon
=
base
.
ParmJObj
.
GetStringValue
(
"B2BIcon"
),
B2BBackground
=
base
.
ParmJObj
.
GetStringValue
(
"B2BBackground"
),
CourseEmphasis
=
base
.
ParmJObj
.
GetStringValue
(
"CourseEmphasis"
),
ContractInfo
=
base
.
ParmJObj
.
GetStringValue
(
"ContractInfo"
),
ContractInfo
=
base
.
ParmJObj
.
GetStringValue
(
"ContractInfo"
),
IsScrollClass
=
base
.
ParmJObj
.
GetInt
(
"IsScrollClass"
),
ScrollMinNum
=
base
.
ParmJObj
.
GetInt
(
"ScrollMinNum"
),
ScrollMaxNum
=
base
.
ParmJObj
.
GetInt
(
"ScrollMaxNum"
),
CourseTimeId
=
base
.
ParmJObj
.
GetInt
(
"CourseTimeId"
),
FreeCoffeeNum
=
base
.
ParmJObj
.
GetInt
(
"FreeCoffeeNum"
,
0
)
};
try
{
...
...
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