|
@@ -161,6 +161,7 @@ public class SimpleSecRepository<T extends BaseEntity<ID>, ID extends Serializab
|
|
|
((BaseEntity<ID>) entity).setCreateUser(SecUtils.getCurrUser() == null ? null : ((UserEntity) SecUtils.getCurrUser()).getId());
|
|
|
}
|
|
|
((BaseEntity<ID>) entity).setUpdateDateTime(new Timestamp(System.currentTimeMillis()));
|
|
|
+ ((BaseEntity<ID>) entity).setTbzt("N");
|
|
|
((BaseEntity<ID>) entity).setUpdateUser(SecUtils.getCurrUser() == null ? null : ((UserEntity) SecUtils.getCurrUser()).getId());
|
|
|
if (((BaseEntity<ID>) entity).getSzd() == null) {//新增时,设置所在地,如果是数据字典编辑不设置此项
|
|
|
if (entity instanceof CodeEntity) {
|