Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
15f05b60
Commit
15f05b60
authored
Jan 14, 2022
by
mingliangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ruoyi-vue3下点击编辑,取消修改报错问题
parent
9e51d3f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
SysMenu.java
...ain/java/com/ruoyi/common/core/domain/entity/SysMenu.java
+5
-4
No files found.
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysMenu.java
View file @
15f05b60
...
...
@@ -3,6 +3,7 @@ package com.ruoyi.common.core.domain.entity;
import
java.util.ArrayList
;
import
java.util.List
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Size
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
@@ -30,7 +31,7 @@ public class SysMenu extends BaseEntity
private
Long
parentId
;
/** 显示顺序 */
private
String
orderNum
;
private
Integer
orderNum
;
/** 路由地址 */
private
String
path
;
...
...
@@ -107,13 +108,13 @@ public class SysMenu extends BaseEntity
this
.
parentId
=
parentId
;
}
@Not
Blank
(
message
=
"显示顺序不能为空"
)
public
String
getOrderNum
()
@Not
Null
(
message
=
"显示顺序不能为空"
)
public
Integer
getOrderNum
()
{
return
orderNum
;
}
public
void
setOrderNum
(
String
orderNum
)
public
void
setOrderNum
(
Integer
orderNum
)
{
this
.
orderNum
=
orderNum
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment