Commit 7c7fce42 by 张祺

修改编辑数据填报数据的方法

parent 7c9cf290
...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment