Commit 8112ea73 by wuwenlong

daoutil bugfix;

parent 48b2df70
......@@ -233,7 +233,7 @@ public class DaoUtils {
String userId;
try {
userId = MapUtils.getString(map, "updatedBy");
if (StringUtils.isEmpty(userId)) {
if (StringUtils.isBlank(userId)) {
userId = UserSession.getLoginName();
userId = userId == null || userId.length() > 32 ? "System" : userId;
}
......@@ -244,7 +244,7 @@ public class DaoUtils {
// 修改人名称
String userName = MapUtils.getString(map, "updatedName");
try {
if (StringUtils.isEmpty(userName)) {
if (StringUtils.isBlank(userName)) {
userName = UserSession.getLoginCName();
}
} catch (Exception e) {
......
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