去掉自动生成id
This commit is contained in:
parent
e407f4c48c
commit
7f06e6d1f9
|
|
@ -42,8 +42,6 @@ public class EntityUtils {
|
|||
m.invoke( entity, StrUtil.toString( com.ruoyi.framework.web.util.ShiroUtils.getUserId()) );
|
||||
} else if (m.getName().equals( "setCreateDate" )) {
|
||||
m.invoke( entity, new Date() );
|
||||
} else if (m.getName().equals( "setId" )) {
|
||||
m.invoke( entity, RandomUtil.randomUUID() );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue