Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fangyeqing
/
xkl-interface
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhaoyue
8 years ago
Commit
9a382290ec0b100679bf95b946e312f997885fec
1 parent
acfb2590
Fix little bug
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
push.sh
src/main/java/com/xkl/controller/ReportController.java
push.sh
View file @
9a38229
git add --all src/
*
git add push.sh
git add pom.xml
git commit -m
"
ADD code for uspih
"
git commit -m
"
Fix little bug
"
git push origin zhaoyue-dev
git status
...
...
src/main/java/com/xkl/controller/ReportController.java
View file @
9a38229
...
...
@@ -126,7 +126,7 @@ public class ReportController {
double
score
=
0
;
XklAmpReportEntity
report
=
xklAmpReportRespository
.
findOne
(
report_id
);
if
(
report
!=
null
){
if
(
report
.
getScore
()==
0
)
{
//首次调用接口,score为0
if
(
report
.
getScore
()
==
0
||
report
.
getScore
()
==
null
)
{
//首次调用接口,score为0
//TODO:可以在上传时直接打分?
//单独测试需要删除xkl_amp_report_health_scroe表中数据
score
=
scoreService
.
getScore
(
report_id
);
...
...
Please
register
or
login
to post a comment