Commit 7a9daab3 authored by 李博今's avatar 李博今

Merge branch 'V2.0.3' of http://103.249.252.28:90/lcy/education

parents 75e1d6f3 2c320b61
...@@ -66,12 +66,12 @@ public class BOpinionServiceImpl implements BOpinionService{ ...@@ -66,12 +66,12 @@ public class BOpinionServiceImpl implements BOpinionService{
BSubtask bSubtask = new BSubtask(subTaskId,"3"); BSubtask bSubtask = new BSubtask(subTaskId,"3");
bSubtaskRepository.updateByPrimaryKeySelective(bSubtask); bSubtaskRepository.updateByPrimaryKeySelective(bSubtask);
//查询该排课任务下所有子任务的状态 //查询该排课任务下所有子任务的状态
String arrangeId = bSubtaskRepository.queryArrangeIdById(subTaskId); // String arrangeId = bSubtaskRepository.queryArrangeIdById(subTaskId);
List<String> subTaskStatus = bSubtaskRepository.querySubTaskStatusById(arrangeId); // List<String> subTaskStatus = bSubtaskRepository.querySubTaskStatusById(arrangeId);
if(subTaskStatus.size()==1&&subTaskStatus.get(0).equals("3")){//审核全部通过,将排课任务状态置为完成 // if(subTaskStatus.size()==1&&subTaskStatus.get(0).equals("3")){//审核全部通过,将排课任务状态置为完成
BArrange bArrange = new BArrange(arrangeId,"3"); // BArrange bArrange = new BArrange(arrangeId,"3");
bArrangeRepository.updateByPrimaryKeySelective(bArrange); // bArrangeRepository.updateByPrimaryKeySelective(bArrange);
} // }
} }
return new PersistModel(line); return new PersistModel(line);
} }
......
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