bug
jiangqs
2023-08-25 156e141e55a8abf486157d1fa89d25e23f4a06a3
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/poji/sys/SysDept.java
@@ -7,7 +7,6 @@
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;
@@ -64,6 +63,12 @@
    /** 菜单组 */
    private Long[] menuIds;
    /** 菜单组 */
    private Long[] staffMenuIds;
    /** 微信部门id */
    private Long wxDeptId;
    public Long getDeptId()
    {
        return deptId;
@@ -106,7 +111,7 @@
        this.deptName = deptName;
    }
    @NotNull(message = "显示顺序不能为空")
    //@NotNull(message = "显示顺序不能为空")
    public Integer getOrderNum()
    {
        return orderNum;
@@ -206,6 +211,22 @@
        this.menuIds = menuIds;
    }
    public Long[] getStaffMenuIds() {
        return staffMenuIds;
    }
    public void setStaffMenuIds(Long[] staffMenuIds) {
        this.staffMenuIds = staffMenuIds;
    }
    public Long getWxDeptId() {
        return wxDeptId;
    }
    public void setWxDeptId(Long wxDeptId) {
        this.wxDeptId = wxDeptId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@@ -224,6 +245,7 @@
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("dataScope", getDataScope())
            .append("wxDeptId", getWxDeptId())
            .toString();
    }
}