Skip to content

Commit

Permalink
修改了提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
yangliangs committed May 14, 2019
1 parent bb7714a commit 00ba0de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected T executeUpdate(T entity,boolean isSelective) {
count = genericMapper.update(entity);
}
if(count != 1) {
String msg=MessageSourceUtil.getMessage("ja.bas.ser2.0004", "更新保存数据出错,更新记录数=")+count+"\r\n"+JSON.toJSONString(entity);
String msg=MessageSourceUtil.getMessage("ja.bas.ser2.0004", "更新保存数据出错,更新记录数=")+count+"\r\n 更新数据主键为:"+String.valueOf(entity.getId());
log.error(msg);
throw new RuntimeException(msg);
}else if (isSelective){
Expand Down

0 comments on commit 00ba0de

Please sign in to comment.