Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
Overview
Overview
Details
Activity
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
base_platform_enterprise
gic-evaluate
Commits
1b245b1d
Commit
1b245b1d
authored
Feb 10, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评价bug修改
parent
451aa5c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
EvaluateManagerController.java
...ic/evaluate/web/controller/EvaluateManagerController.java
+17
-0
No files found.
gic-evaluate-web/src/main/java/com/gic/evaluate/web/controller/EvaluateManagerController.java
View file @
1b245b1d
...
...
@@ -6,6 +6,7 @@ import com.gic.commons.util.EntityUtil;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
com.gic.evaluate.constant.Constants
;
import
com.gic.evaluate.dto.EvaluateDTO
;
import
com.gic.evaluate.dto.EvaluateQuickDTO
;
import
com.gic.evaluate.dto.UserReplyDTO
;
...
...
@@ -48,6 +49,22 @@ public class EvaluateManagerController {
if
(
StringUtils
.
isNotBlank
(
evaluateQO
.
getEndTime
()))
{
evaluateQO
.
setEndTime
(
evaluateQO
.
getEndTime
()
+
" 23:59:59"
);
}
if
(
Constants
.
CLOSE
.
equals
(
evaluateQO
.
getBadEvaluateStatus
()))
{
evaluateQO
.
setBadEvaluateStatus
(
null
);
}
if
(
Constants
.
CLOSE
.
equals
(
evaluateQO
.
getGoodEvaluateStatus
()))
{
evaluateQO
.
setGoodEvaluateStatus
(
null
);
}
if
(
Constants
.
CLOSE
.
equals
(
evaluateQO
.
getReviewStatus
()))
{
evaluateQO
.
setReviewStatus
(
null
);
}
if
(
Constants
.
CLOSE
.
equals
(
evaluateQO
.
getTopHotStatus
()))
{
evaluateQO
.
setTopHotStatus
(
null
);
}
if
(
Constants
.
CLOSE
.
equals
(
evaluateQO
.
getMaliciousStatus
()))
{
evaluateQO
.
setMaliciousStatus
(
null
);
}
ServiceResponse
<
Page
<
EvaluateDTO
>>
serviceResponse
=
evaluateManageApiService
.
listEvaluateForManage
(
evaluateQO
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
...
...
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