|
@@ -74,10 +74,9 @@ public class AuditInfoHandler implements Interceptor {
|
|
|
if (isInsert) {
|
|
|
entity.setCreator(AppContext.getContext().getAccountId());
|
|
|
entity.setCreationTime(new PsDateTime());
|
|
|
- } else {
|
|
|
- // 修改 - 修改人、修改时间更新
|
|
|
- entity.setModifier(AppContext.getContext().getAccountId());
|
|
|
- entity.setModifiedTime(new PsDateTime());
|
|
|
}
|
|
|
+ // 修改 - 修改人、修改时间更新 20211013 新增时也给修改时间赋值,解决按最后更新时间排序为空的问题
|
|
|
+ entity.setModifier(AppContext.getContext().getAccountId());
|
|
|
+ entity.setModifiedTime(new PsDateTime());
|
|
|
}
|
|
|
}
|