Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
Project
Project
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
竹天卫
tianjin-cement
Commits
ce77c6c9
Commit
ce77c6c9
authored
Mar 11, 2021
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
bc48fae4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CommonServiceImpl.java
...se/sc/cement/business/service/impl/CommonServiceImpl.java
+1
-2
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/CommonServiceImpl.java
View file @
ce77c6c9
...
...
@@ -184,7 +184,6 @@ public class CommonServiceImpl {
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"name"
,
entry
.
getKey
());
jsonObject
.
put
(
"value"
,
entry
.
getValue
());
jsonObject
.
put
(
"retain"
,
entry
.
getValue
());
jsonArray
.
add
(
jsonObject
);
}
//如果包含滴定度,直接更新检测组配置的校核元素值,下次校核直接带过来
...
...
@@ -196,7 +195,7 @@ public class CommonServiceImpl {
//输入的值 根据检测组中的输入值位数进行放入,用于前端展示
if
(
jsonArray
!=
null
&&
jsonArray
.
size
()>
0
){
for
(
int
j
=
0
;
j
<
jsonArray
.
size
();
j
++){
JSONObject
jsonObjectInput
=
jsonArray
.
getJSONObject
(
i
);
JSONObject
jsonObjectInput
=
jsonArray
.
getJSONObject
(
j
);
if
(
jsonObjectInput
.
get
(
"name"
).
equals
(
jsonObjectGroup
.
get
(
"name"
))){
jsonObjectInput
.
put
(
"retain"
,
jsonObjectGroup
.
getString
(
"retain"
));
break
;
...
...
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