Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
7c7fce42
Commit
7c7fce42
authored
Jul 16, 2020
by
张祺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改编辑数据填报数据的方法
parent
7c9cf290
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
DataEnterCtrl.java
...com/keymobile/indicators/api/hytobacco/DataEnterCtrl.java
+2
-1
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/DataEnterCtrl.java
View file @
7c7fce42
...
@@ -79,7 +79,7 @@ public class DataEnterCtrl {
...
@@ -79,7 +79,7 @@ public class DataEnterCtrl {
if
(
objs
.
isEmpty
())
{
if
(
objs
.
isEmpty
())
{
log
.
error
(
"没有可用的填报单位信息"
);
log
.
error
(
"没有可用的填报单位信息"
);
}
else
{
}
else
{
List
<
TaskIndValue
>
oldValues
=
taskService
.
findValues
(
taskId
,
Constants
.
INPUT_ONLINE
);
List
<
TaskIndValue
>
oldValues
=
taskService
.
findValues
(
taskId
,
null
);
if
(
CollectionUtils
.
isEmpty
(
oldValues
))
{
if
(
CollectionUtils
.
isEmpty
(
oldValues
))
{
//新增
//新增
List
<
String
>
indIds
=
new
ArrayList
<>();
List
<
String
>
indIds
=
new
ArrayList
<>();
...
@@ -155,6 +155,7 @@ public class DataEnterCtrl {
...
@@ -155,6 +155,7 @@ public class DataEnterCtrl {
value
.
setIndValue
(
old
.
getIndValue
());
value
.
setIndValue
(
old
.
getIndValue
());
//已经填好的值
//已经填好的值
value
.
setIndLastValue
(
old
.
getIndValue
());
value
.
setIndLastValue
(
old
.
getIndValue
());
value
.
setDescription
(
old
.
getDescription
());
break
;
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