首页 新闻 会员 周边 捐助

Springboot+Mybatis+Jquery实现自定义二级联动

0
悬赏园豆:10 [待解决问题]

实体:
package com.ssm.entity;

public class Dept {

private Integer deptid;

private String deptname;

public Integer getDeptid() {
    return deptid;
}

public void setDeptid(Integer deptid) {
    this.deptid = deptid;
}

public String getDeptname() {
    return deptname;
}

public void setDeptname(String deptname) {
    this.deptname = deptname;
} 

}

package com.ssm.entity;

public class Emppost {

private Integer empid;

private String empname;

private Post post;

public Integer getEmpid() {
    return empid;
}

public void setEmpid(Integer empid) {
    this.empid = empid;
}

public String getEmpname() {
    return empname;
}

public void setEmpname(String empname) {
    this.empname = empname;
}

public Post getPost() {
    return post;
}

public void setPost(Post post) {
    this.post = post;
} 

}

package com.ssm.entity;

public class Post {

private Integer postid;

private String postname;

private Dept dept;

public Integer getPostid() {
    return postid;
}

public void setPostid(Integer postid) {
    this.postid = postid;
}

public String getPostname() {
    return postname;
}

public void setPostname(String postname) {
    this.postname = postname;
}

public Dept getDept() {
    return dept;
}

public void setDept(Dept dept) {
    this.dept = dept;
} 

}

花似醉依颜的主页 花似醉依颜 | 初学一级 | 园豆:194
提问于:2019-04-18 15:36
< >
分享
所有回答(1)
0

之前回答了一个园友的问题,你看下有参考价值吗:https://www.cnblogs.com/zhou88yu88/p/10635867.html

三人乐乐 | 园豆:4823 (老鸟四级) | 2019-04-25 10:05
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册