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
b6e6fba3
Commit
b6e6fba3
authored
Jul 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3655a1ab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
11 deletions
+21
-11
RB_Class_PlanRepository.cs
Edu.Repository/Course/RB_Class_PlanRepository.cs
+4
-4
DutyPlanController.cs
Edu.WebApi/Controllers/Duty/DutyPlanController.cs
+8
-0
UserInfoController.cs
Edu.WebApi/Controllers/User/UserInfoController.cs
+9
-7
No files found.
Edu.Repository/Course/RB_Class_PlanRepository.cs
View file @
b6e6fba3
Edu.WebApi/Controllers/Duty/DutyPlanController.cs
View file @
b6e6fba3
...
@@ -357,7 +357,15 @@ namespace Edu.WebApi.Controllers.Duty
...
@@ -357,7 +357,15 @@ namespace Edu.WebApi.Controllers.Duty
public
ApiResult
DutyCheck
()
public
ApiResult
DutyCheck
()
{
{
var
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
);
var
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
);
if
(
Id
<=
0
)
{
return
ApiResult
.
ParamIsNull
(
message
:
"请传递值班编号!"
);
}
var
Shift
=
base
.
ParmJObj
.
GetInt
(
"Shift"
);
var
Shift
=
base
.
ParmJObj
.
GetInt
(
"Shift"
);
if
(
Shift
<=
0
)
{
return
ApiResult
.
ParamIsNull
(
message
:
"请传递值班班次!"
);
}
var
Status
=
base
.
ParmJObj
.
GetInt
(
"Status"
);
var
Status
=
base
.
ParmJObj
.
GetInt
(
"Status"
);
//突发事件
//突发事件
int
IsBurst
=
base
.
ParmJObj
.
GetInt
(
"IsBurst"
);
int
IsBurst
=
base
.
ParmJObj
.
GetInt
(
"IsBurst"
);
...
...
Edu.WebApi/Controllers/User/UserInfoController.cs
View file @
b6e6fba3
...
@@ -89,14 +89,16 @@ namespace Edu.WebApi.Controllers.User
...
@@ -89,14 +89,16 @@ namespace Edu.WebApi.Controllers.User
}
}
List
<
RB_Account_ViewModel
>
list
=
new
List
<
RB_Account_ViewModel
>();
List
<
RB_Account_ViewModel
>
list
=
new
List
<
RB_Account_ViewModel
>
list
.
Add
(
new
RB_Account_ViewModel
{
new
RB_Account_ViewModel
{
{
Id
=
base
.
UserInfo
.
Id
,
Id
=
base
.
UserInfo
.
Id
,
AccountId
=
base
.
UserInfo
.
AccountId
,
AccountId
=
base
.
UserInfo
.
AccountId
,
AccountType
=
base
.
UserInfo
.
AccountType
,
AccountType
=
base
.
UserInfo
.
AccountType
,
Group_Id
=
base
.
UserInfo
.
Group_Id
Group_Id
=
base
.
UserInfo
.
Group_Id
});
}
};
bool
result
=
accountModule
.
SetBatchResetPassword
(
list
,
NewPassWord
);
bool
result
=
accountModule
.
SetBatchResetPassword
(
list
,
NewPassWord
);
if
(
result
)
if
(
result
)
{
{
...
...
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