Commit aa6d6f5bbed8ea1723cf8c11e3e7fc0070b7c623
1 parent
d6f0faaa2d
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
aa6d6f5
| ... | ... | @@ -820,7 +820,7 @@ |
| 820 | 820 | private void updateEditEnable(List<AntData> list,List<List<AntData>> sortList){ |
| 821 | 821 | //如果上个产程有数据,并且本产程有记录就设置上个产程不可编辑 |
| 822 | 822 | if(CollectionUtils.isNotEmpty(sortList) &&CollectionUtils.isNotEmpty(list)){ |
| 823 | - List<AntData> l = sortList.get(sortList.size() - 1); | |
| 823 | + List<AntData> l = sortList.get(0); | |
| 824 | 824 | for(AntData antData:l){ |
| 825 | 825 | antData.setEnableEdit("0"); |
| 826 | 826 | } |