Commit 34123856 by s_guodong

update

parent b19bb116
......@@ -919,6 +919,10 @@ public class MdaUtils {
return Codetables.getCodeTable(codeName, locale.getLanguage());
}
public static List<CodetableItem> getCodetable(Locale locale, String codeName) {
return Codetables.getCodeTable(codeName, locale.getLanguage());
}
public static String encryptPassword(String srcPassword) {
return new String(DigestUtils.sha1(DigestUtils.md5(srcPassword)));
}
......@@ -939,6 +943,10 @@ public class MdaUtils {
return Codetables.getCodetableLabel(key, codetable, locale.getLanguage());
}
public static String getCodetableLabel(Locale locale, String codetable, String key) {
return Codetables.getCodetableLabel(key, codetable, locale.getLanguage());
}
public static String getPath(IBaseObject baseObject) {
return baseObject.getPath();
}
......
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