Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
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
gavelinfo
kwell-mes
Commits
77030466
Commit
77030466
authored
Apr 01, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oa接口调整2
parent
8e291bdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
KmesBoardServiceImpl.java
...va/com/gavel/kwell/service/impl/KmesBoardServiceImpl.java
+4
-6
No files found.
gavel/src/main/java/com/gavel/kwell/service/impl/KmesBoardServiceImpl.java
View file @
77030466
...
...
@@ -335,26 +335,24 @@ public class KmesBoardServiceImpl extends BaseEditServiceImpl implements KmesBoa
String
body
=
exchange
.
getBody
();
logger
.
info
(
"返回信息:"
+
body
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
body
);
int
ydrs
=
0
;
int
sdrs
=
0
;
if
(
StringUtils
.
isNotEmpty
(
body
)
&&
!
StringUtils
.
equals
(
jsonObject
.
getString
(
"status"
),
"0"
)){
JSONArray
jsonArray
=
jsonObject
.
getJSONArray
(
"result"
);
for
(
int
j
=
0
;
j
<
jsonArray
.
size
();
j
++){
JSONObject
jsonObjectOne
=
jsonArray
.
getJSONObject
(
j
);
int
ydrs
=
0
;
int
sdrs
=
0
;
Integer
ydrs1
=
jsonObjectOne
.
getJSONObject
(
"mainTable"
).
getInteger
(
"ydrs"
);
Integer
sdrs1
=
jsonObjectOne
.
getJSONObject
(
"mainTable"
).
getInteger
(
"sdrs"
);
if
(
ydrs1
!=
null
){
ydrs
=
ydrs1
;
}
if
(
sdrs1
!=
null
){
sdrs
=
sdrs1
;
}
kqtjVO
.
setYdrs
(
ydrs
);
kqtjVO
.
setSdrs
(
sdrs
);
}
}
kqtjVO
.
setYdrs
(
ydrs
);
kqtjVO
.
setSdrs
(
sdrs
);
}
catch
(
Exception
e
)
{
logger
.
error
(
"错误信息:"
,
e
);
}
...
...
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