Browse Source

信息点是否可见,可编辑,是否禁止使用等赋予默认值

linhuili 3 years ago
parent
commit
4e55d3d8eb

+ 2 - 2
src/main/java/com/persagy/proxy/adm/service/impl/AbstractAdmDictBaseServiceImpl.java

@@ -228,9 +228,9 @@ public class AbstractAdmDictBaseServiceImpl<T> implements IAdmDictBaseService<T>
             if(admVO.getUnDisabled() == null){
                 List<String> unDisableList = checkoutDefInfoUnDisable();
                 if(unDisableList.contains(admVO.getCode())){
-                    admVO.setEditable(false);
+                    admVO.setUnDisabled(false);
                 }else {
-                    admVO.setEditable(true);
+                    admVO.setUnDisabled(true);
                 }
             }