Commit bd4a6c56 authored by lisong's avatar lisong

修改bug

parent 80b99f4e
...@@ -245,7 +245,9 @@ public class CheckServiceImpl implements ICheckService { ...@@ -245,7 +245,9 @@ public class CheckServiceImpl implements ICheckService {
iPointDao.save(point); iPointDao.save(point);
Check finalCheck = check; Check finalCheck = check;
//4.检查项入库 //4.检查项入库
checkItemList.forEach(checkInput -> checkInput.setCheckId(finalCheck.getId())); // checkItemList.forEach(checkInput -> checkInput.setCheckId(finalCheck.getId()));
// 提交维保任务执行记录,关联任务详情id,作为数据回显关联查询id, 修复bug:6131
checkItemList.forEach(checkInput -> checkInput.setCheckId(recordParam.getPlanTaskId()));
if (!checkItemList.isEmpty()) { if (!checkItemList.isEmpty()) {
checkInputDao.saveAll(checkItemList); checkInputDao.saveAll(checkItemList);
} }
......
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