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
c7b514ac
Commit
c7b514ac
authored
4 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
86d55c88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
19 deletions
+8
-19
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+0
-7
RB_Class_LogRepository.cs
Edu.Repository/Log/RB_Class_LogRepository.cs
+8
-12
No files found.
Edu.Module.Course/ClassModule.cs
View file @
c7b514ac
...
...
@@ -558,16 +558,9 @@ namespace Edu.Module.Course
{
extModel
.
DefaultTimeList
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
RB_Class_Time_ViewModel
>>(
extModel
.
DefaultTimeJson
);
}
<<<<<<<
HEAD
if
(!
string
.
IsNullOrEmpty
(
extModel
.
DateJson
)
&&
extModel
.
ClassStyle
!=
Common
.
Enum
.
Course
.
ClassStyleEnum
.
OnLine
)
{
extModel
.
WeekDayList
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
string
>>(
extModel
.
DateJson
);
=======
if
(!
string
.
IsNullOrEmpty
(
extModel
.
DateJson
)
&&
extModel
.
ClassStyle
!=
Common
.
Enum
.
Course
.
ClassStyleEnum
.
OnLine
)
{
extModel
.
WeekDayList
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
string
>>(
extModel
.
DateJson
);
>>>>>>>
492
c78a88ff90bf7554f40fab00e295fd4abd531
}
}
return
extModel
;
...
...
This diff is collapsed.
Click to expand it.
Edu.Repository/Log/RB_Class_LogRepository.cs
View file @
c7b514ac
...
...
@@ -57,22 +57,18 @@ WHERE 1=1
/// <param name="School_Id">校区编号</param>
/// <param name="CreateBy">创建人</param>
/// <returns></returns>
public
bool
AddClassLogRepository
(
RB_Class_Log
model
)
public
bool
AddClassLogRepository
(
RB_Class_Log
model
)
{
<<<<<<<
.
merge_file_a16616
var
model
=
new
RB_Class_Log
()
var
newmodel
=
new
RB_Class_Log
()
{
LogType
=
l
ogType
,
LogContent
=
LogContent
.
TrimStart
(
','
).
TrimEnd
(
','
).
TrimStart
(
'、'
).
TrimEnd
(
'、'
),
ClassId
=
ClassId
,
Group_Id
=
Group_Id
,
School_Id
=
School_Id
,
CreateBy
=
CreateBy
,
LogType
=
model
.
L
ogType
,
LogContent
=
model
.
LogContent
.
TrimStart
(
','
).
TrimEnd
(
','
).
TrimStart
(
'、'
).
TrimEnd
(
'、'
),
ClassId
=
model
.
ClassId
,
Group_Id
=
model
.
Group_Id
,
School_Id
=
model
.
School_Id
,
CreateBy
=
model
.
CreateBy
,
CreateTime
=
DateTime
.
Now
,
};
=======
>>>>>>>
.
merge_file_a01344
return
base
.
Insert
(
model
)
>
0
;
}
}
...
...
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