Commit 129504f8 authored by yangyang's avatar yangyang

fixed bug 20138 判断

parent 047108cc
...@@ -513,8 +513,8 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD ...@@ -513,8 +513,8 @@ public class PersonnelBusinessServiceImpl extends BaseService<PersonnelBusinessD
userDataJBDto.setUnallowModify("unallow"); userDataJBDto.setUnallowModify("unallow");
} else { } else {
// 有业务参与不可以编辑 // 有业务参与不可以编辑
userDataZHDto.setUnallowModify(hasOperationRecords ? "allow" : "unallow"); userDataZHDto.setUnallowModify(hasOperationRecords ? "unallow" : "allow");
userDataJBDto.setUnallowModify(hasOperationRecords ? "allow" : "unallow"); userDataJBDto.setUnallowModify(hasOperationRecords ? "unallow" : "allow");
} }
return new UserDataDto( userDataZHDto, userDataJBDto , userDataZZDto); return new UserDataDto( userDataZHDto, userDataJBDto , userDataZZDto);
......
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