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
Plain Diff
Browse Files
Authored by
zhaoyue
8 years ago
Commit
6534615b58d67ae907c9fc2b3396b9c36a2a0b8b
2 parents
a1bca00d
cf24a748
Merge branch 'zhaoyue-dev4' into 'master'
FIX a score null bug See merge request
!49
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 @
6534615
...
...
@@ -2,7 +2,7 @@ git pull
git add --all src/main/java/
*
git add push.sh
git add pom.xml
git commit -m
"
ADD member pulse and breathrate
"
git commit -m
"
FIX a score null bug
"
#git push origin master
git push origin zhaoyue-dev4
git status
...
...
src/main/java/com/xkl/controller/ReportController.java
View file @
6534615
...
...
@@ -83,7 +83,7 @@ public class ReportController {
XklAmpReportEntity
report
=
xklAmpReportRespository
.
findOne
(
report_id
);
Map
<
Integer
,
ReportTypeModel
>
reportTypeMap
=
new
HashMap
<>();
if
(
report
!=
null
)
{
if
(
report
.
getScore
()
-
0
<
Constants
.
SMALL_DOUBLE
||
report
.
getScore
()
==
null
)
{
//首次调用接口,score为0
if
(
report
.
getScore
()
==
null
||
report
.
getScore
()
-
0
<
Constants
.
SMALL_DOUBLE
)
{
//首次调用接口,score为0
scoreService
.
getScore
(
report_id
);
}
List
<
XklAmpReportDetailEntity
>
reportDetailEntityList
=
xklAmpReportDetailRespository
.
findAllByReportId
(
report_id
);
...
...
Please
register
or
login
to post a comment