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
98d30c10
Commit
98d30c10
authored
Jun 30, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8aa6e9db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
RB_Duty_Content.cs
Edu.Model/Entity/Duty/RB_Duty_Content.cs
+2
-2
OrderModule2.cs
Edu.Module.Course/OrderModule2.cs
+1
-1
RB_Duty_ContentRepository.cs
Edu.Repository/Duty/RB_Duty_ContentRepository.cs
+4
-4
DutyPlanController.cs
Edu.WebApi/Controllers/Duty/DutyPlanController.cs
+1
-1
No files found.
Edu.Model/Entity/Duty/RB_Duty_Content.cs
View file @
98d30c10
...
...
@@ -97,8 +97,8 @@ namespace Edu.Model.Entity.Duty
public
int
ItemType
{
get
;
set
;
}
/// <summary>
/// 交接班次
/// 交接班次
(rb_duty_plandetails表的Id)
/// </summary>
public
string
Handover
Shift
{
get
;
set
;
}
public
string
Handover
Dlandetails
{
get
;
set
;
}
}
}
Edu.Module.Course/OrderModule2.cs
View file @
98d30c10
...
...
@@ -106,7 +106,7 @@ namespace Edu.Module.Course
}
var
teacherId
=
teacherModel
?.
Id
??
0
;
//基础课时分钟数
var
BasicMinutes
=
class_ConfigRepository
.
Get
ClassConfigRepository
(
new
RB_Class_Config_ViewModel
()
{
Group_Id
=
userinfo
.
Group_Id
})?.
BasicMinutes
??
45
;
var
BasicMinutes
=
class_ConfigRepository
.
Get
BasicMinutesRepository
(
userinfo
.
Group_Id
)
;
var
stuCheckList
=
class_CheckRepository
.
GetGuestFinishMinutesRepository
(
GuestId
.
ToString
());
//总签到上课分钟数
var
totalFinishMinutes
=
stuCheckList
?.
Sum
(
qitem
=>
qitem
.
FinishMinutes
)
??
0
;
...
...
Edu.Repository/Duty/RB_Duty_ContentRepository.cs
View file @
98d30c10
...
...
@@ -58,16 +58,16 @@ WHERE 1=1
/// <summary>
/// 交接班次
/// </summary>
/// <param name="Handover
Shift
"></param>
/// <param name="Handover
Dlandetails
"></param>
/// <param name="query"></param>
/// <returns></returns>
public
bool
UpdateHandoverShiftRepository
(
string
Handover
Shift
,
RB_Duty_Content_ViewModel
query
)
public
bool
UpdateHandoverShiftRepository
(
string
Handover
Dlandetails
,
RB_Duty_Content_ViewModel
query
)
{
StringBuilder
builder
=
new
StringBuilder
();
builder
.
AppendFormat
(
@"
UPDATE RB_Duty_Content
SET Handover
Shift
='{0}'
"
,
Handover
Shift
);
SET Handover
Dlandetails
='{0}'
"
,
Handover
Dlandetails
);
builder
.
AppendFormat
(
@" WHERE PlanId={0} AND PlanType=2 AND PlanShift={1} AND CreateBy={2} "
,
query
.
PlanId
,
query
.
PlanShift
,
query
.
CreateBy
);
return
base
.
Execute
(
builder
.
ToString
())
>
0
;
...
...
Edu.WebApi/Controllers/Duty/DutyPlanController.cs
View file @
98d30c10
...
...
@@ -364,7 +364,7 @@ namespace Edu.WebApi.Controllers.Duty
//工作交接说明
int
IsHandover
=
base
.
ParmJObj
.
GetInt
(
"IsHandover"
);
//交接班次
string
Handover
Shift
=
base
.
ParmJObj
.
GetStringValue
(
"HandoverShift
"
);
string
Handover
Dlandetails
=
base
.
ParmJObj
.
GetStringValue
(
"HandoverDlandetails
"
);
List
<
RB_Duty_Content_ViewModel
>
list
=
new
List
<
RB_Duty_Content_ViewModel
>();
if
(
Status
==
2
)
{
...
...
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