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
e7a725f6a2d988ccd82afb80a23b80896659a1d8
1 parent
b9bf6ff5
add trim
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
push.sh
src/main/java/com/xkl/service/ReportService.java
push.sh
View file @
e7a725f
...
...
@@ -2,7 +2,7 @@ git pull
git add --all src/main/java/
*
git add push.sh
git add pom.xml
git commit -m
"add
log info
"
git commit -m
"add
trim
"
#git push origin master
git push origin zhaoyue-dev2
git status
...
...
src/main/java/com/xkl/service/ReportService.java
View file @
e7a725f
...
...
@@ -169,11 +169,11 @@ public class ReportService implements IReportService {
if
(
age
<
0
||
age
>
127
)
{
return
null
;
}
ampReport
.
setReport
(
rpJson
.
getString
(
"name"
),
rpJson
.
getString
(
"title"
),
/// "AMP快速无创身心健康评估报告",
ampReport
.
setReport
(
rpJson
.
getString
(
"name"
).
trim
(),
rpJson
.
getString
(
"title"
).
trim
(),
/// "AMP快速无创身心健康评估报告",
new
Timestamp
(
rpJson
.
getLong
(
"report_date"
)),
new
Timestamp
(
System
.
currentTimeMillis
()),
rpJson
.
getString
(
"account"
),
///
rpJson
.
getString
(
"account"
)
.
trim
()
,
///
rpJson
.
getInteger
(
"sex"
).
byteValue
(),
///
rpJson
.
getInteger
(
"age"
).
byteValue
(),
rpJson
.
getInteger
(
"weight"
).
intValue
(),
...
...
@@ -187,13 +187,13 @@ public class ReportService implements IReportService {
rpJson
.
getDouble
(
"ABD"
).
doubleValue
(),
rpJson
.
getDouble
(
"total"
).
doubleValue
(),
rpJson
.
getInteger
(
"stable"
).
intValue
(),
md5
,
rpJson
.
getString
(
"machine_num"
),
rpJson
.
getString
(
"basic_result"
),
rpJson
.
getString
(
"T0"
),
rpJson
.
getString
(
"T1"
),
rpJson
.
getString
(
"T2"
),
rpJson
.
getString
(
"T3"
),
rpJson
.
getString
(
"T4"
)
md5
,
rpJson
.
getString
(
"machine_num"
).
trim
(),
rpJson
.
getString
(
"basic_result"
).
trim
(),
rpJson
.
getString
(
"T0"
).
trim
(),
rpJson
.
getString
(
"T1"
).
trim
(),
rpJson
.
getString
(
"T2"
).
trim
(),
rpJson
.
getString
(
"T3"
).
trim
(),
rpJson
.
getString
(
"T4"
).
trim
()
);
/*
* 3. 获取detail信息,id,float类型
...
...
Please
register
or
login
to post a comment