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
8355763d
Commit
8355763d
authored
Feb 06, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
okr调整
parent
f50aa0c3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
32 deletions
+58
-32
OKRPeriodModule.cs
Edu.Module.OKR/OKRPeriodModule.cs
+53
-26
OKRPeriodController.cs
Edu.WebApi/Controllers/OKR/OKRPeriodController.cs
+5
-6
No files found.
Edu.Module.OKR/OKRPeriodModule.cs
View file @
8355763d
This diff is collapsed.
Click to expand it.
Edu.WebApi/Controllers/OKR/OKRPeriodController.cs
View file @
8355763d
...
...
@@ -444,11 +444,10 @@ namespace Edu.WebApi.Controllers.OKR
{
return
ApiResult
.
ParamIsNull
(
"请传递周期id"
);
}
string
msg
=
okrPeriodModule
.
SetOKRMyObjectiveInfo
(
dmodel
,
userInfo
);
string
msg
=
okrPeriodModule
.
SetOKRMyObjectiveInfo
(
dmodel
,
userInfo
,
out
int
ObjectiveId
);
if
(
msg
==
""
)
{
return
ApiResult
.
Success
();
return
ApiResult
.
Success
(
""
,
ObjectiveId
);
}
else
{
...
...
@@ -472,15 +471,15 @@ namespace Edu.WebApi.Controllers.OKR
{
return
ApiResult
.
ParamIsNull
(
"请传递结果值"
);
}
if
(
KeyResultId
<=
0
||
ObjectiveId
<=
0
)
if
(
KeyResultId
<=
0
&&
ObjectiveId
<=
0
)
{
return
ApiResult
.
ParamIsNull
(
"结果id不正确"
);
}
string
msg
=
okrPeriodModule
.
SetOKRMyKeyResultInfo
(
KeyResultId
,
ObjectiveId
,
Name
,
userInfo
);
string
msg
=
okrPeriodModule
.
SetOKRMyKeyResultInfo
(
KeyResultId
,
ObjectiveId
,
Name
,
userInfo
,
out
int
RKeyResultId
);
if
(
msg
==
""
)
{
return
ApiResult
.
Success
();
return
ApiResult
.
Success
(
""
,
RKeyResultId
);
}
else
{
...
...
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