|
|
@ -48,7 +48,7 @@ public class PermissionInitializer { |
|
|
|
String brief = perm.getBrief(); |
|
|
|
if (existsOpesMap.containsKey(key)) { |
|
|
|
OperationEntity ope = existsOpesMap.get(key); |
|
|
|
if (!ope.getOperationName().equals(name) || !ope.getBrief().equals(brief)) { |
|
|
|
if (!name.equals(ope.getOperationName()) || !brief.equals(ope.getBrief())) { |
|
|
|
// name或者brief发生过变化的,需要更新
|
|
|
|
ope.setBrief(brief); |
|
|
|
ope.setOperationName(name); |
|
|
|