Commit 08764ad9434f1f17705390b82d012ec779d08779
1 parent
54c7ef4208
Exists in
master
and in
6 other branches
修改电子病历中产程位置变化导致上个产程最后一个操作是可以修改的,但最近产程的最后一个操作不能修改
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
08764ad
| ... | ... | @@ -1245,8 +1245,8 @@ |
| 1245 | 1245 | */ |
| 1246 | 1246 | private void updateEditEnable(List<AntData> list, List<List<AntData>> sortList) { |
| 1247 | 1247 | //如果上个产程有数据,并且本产程有记录就设置上个产程不可编辑 |
| 1248 | - if (CollectionUtils.isNotEmpty(sortList) && CollectionUtils.isNotEmpty(list)) { | |
| 1249 | - List<AntData> l =list; | |
| 1248 | + if (CollectionUtils.isNotEmpty(sortList) && CollectionUtils.isNotEmpty(list)) { | |
| 1249 | + List<AntData> l =sortList.get(sortList.size()-1); | |
| 1250 | 1250 | for (AntData antData : l) { |
| 1251 | 1251 | antData.setEnableEdit("0"); |
| 1252 | 1252 | } |