Springboot+Mybatis+Jquery实现自定义二级联动
时间: 2019-04-18来源:博客园
前景提要
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 显示帮助
使用"Ctrl+Enter"可进行快捷提交,评论支持部分 Markdown 语法:[link](http://example.com) _italic_ **bold** `code`。
< > 分享
分享您的问题
所有回答(1) 0 之前回答了一个园友的问题,你看下有参考价值吗: https://www.cnblogs.com/zhou88yu88/p/10635867.html 三人乐乐 | 园豆:3245 (老鸟四级) | 2019-04-25 10:05 编辑文本 预览 上传图片
Ctrl+Enter键快速提交
清除回答草稿
您需要 登录 以后才能回答,未注册用户请先 注册 。

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行