添加默认设置

This commit is contained in:
huangdeliang
2020-10-08 10:51:59 +08:00
parent 92fc73e923
commit 8f656d7ee0
7 changed files with 1408 additions and 1336 deletions

View File

@ -18,6 +18,16 @@ public class CusUserPost implements Serializable {
private String postName;
private String remark;
public void setRemark(String remark) {
this.remark = remark;
}
public String getRemark() {
return remark;
}
public void setPostName(String postName) {
this.postName = postName;
}
@ -66,6 +76,7 @@ public class CusUserPost implements Serializable {
", postCode='" + postCode + '\'' +
", postid='" + postId + '\'' +
", postName='" + postName + '\'' +
", remark='" + remark + '\'' +
'}';
}
}

View File

@ -10,10 +10,11 @@
<result property="postId" column="post_id"/>
<result property="postCode" column="post_code"/>
<result property="postName" column="post_name"/>
<result property="remark" column="remark"/>
</resultMap>
<sql id="selectCusUserPostVo">
SELECT u.user_id, u.nick_name, p.post_id, p.post_code, p.post_name
SELECT u.user_id, u.nick_name, p.post_id, p.post_code, p.post_name, u.remark
FROM sys_user u, sys_post p, sys_user_post up
WHERE up.user_id = u.user_id AND p.post_id = up.post_id AND p.post_id > 4
</sql>