remove isCustomer
This commit is contained in:
parent
ace551ae87
commit
fdf0db11b6
|
|
@ -187,11 +187,6 @@ public class SysUser extends BaseEntity {
|
||||||
@ApiModelProperty("客户端人员编号")
|
@ApiModelProperty("客户端人员编号")
|
||||||
private String custNum;
|
private String custNum;
|
||||||
|
|
||||||
/**
|
|
||||||
* 是否客户,判断是否能够登录后台管理页面
|
|
||||||
*/
|
|
||||||
private String isCustomer;
|
|
||||||
|
|
||||||
public SysUser() {
|
public SysUser() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -241,14 +236,6 @@ public class SysUser extends BaseEntity {
|
||||||
this.firstLevelDeptId = firstLevelDeptId;
|
this.firstLevelDeptId = firstLevelDeptId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getIsCustomer() {
|
|
||||||
return isCustomer;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsCustomer(String isCustomer) {
|
|
||||||
this.isCustomer = isCustomer;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Xss(message = "用户昵称不能包含脚本字符")
|
@Xss(message = "用户昵称不能包含脚本字符")
|
||||||
@Size(min = 0, max = 200, message = "用户昵称长度不能超过200个字符")
|
@Size(min = 0, max = 200, message = "用户昵称长度不能超过200个字符")
|
||||||
public String getNickName() {
|
public String getNickName() {
|
||||||
|
|
|
||||||
|
|
@ -29,13 +29,11 @@
|
||||||
<result property="approvalStatus" column="approval_status"/>
|
<result property="approvalStatus" column="approval_status"/>
|
||||||
<result property="isPermanent" column="is_permanent"/>
|
<result property="isPermanent" column="is_permanent"/>
|
||||||
<result property="isBuiltIn" column="is_built_in"/>
|
<result property="isBuiltIn" column="is_built_in"/>
|
||||||
<result property="isCustomer" column="is_customer"/>
|
|
||||||
<result property="custId" column="cust_id"/>
|
<result property="custId" column="cust_id"/>
|
||||||
<result property="custNum" column="cust_num"/>
|
<result property="custNum" column="cust_num"/>
|
||||||
<result property="areaId" column="area_id"/>
|
<result property="areaId" column="area_id"/>
|
||||||
<result property="psnType" column="psn_type"/>
|
<result property="psnType" column="psn_type"/>
|
||||||
<result property="psnTypeName" column="psn_type_name"/>
|
<result property="psnTypeName" column="psn_type_name"/>
|
||||||
<result property="isCustomer" column="is_customer"/>
|
|
||||||
<association property="dept" javaType="SysDept" resultMap="deptResult"/>
|
<association property="dept" javaType="SysDept" resultMap="deptResult"/>
|
||||||
<collection property="roles" javaType="java.util.List" resultMap="RoleResult"/>
|
<collection property="roles" javaType="java.util.List" resultMap="RoleResult"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
@ -105,7 +103,6 @@
|
||||||
r.status as role_status,
|
r.status as role_status,
|
||||||
u.login_type,
|
u.login_type,
|
||||||
u.is_built_in,
|
u.is_built_in,
|
||||||
u.is_customer,
|
|
||||||
u.psn_type,
|
u.psn_type,
|
||||||
u.cust_id,
|
u.cust_id,
|
||||||
u.cust_num
|
u.cust_num
|
||||||
|
|
@ -118,7 +115,7 @@
|
||||||
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
|
<select id="selectUserList" parameterType="SysUser" resultMap="SysUserResult">
|
||||||
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber,u.sex, u.status,
|
select u.user_id, u.dept_id, u.nick_name, u.user_name, u.email, u.avatar, u.phonenumber,u.sex, u.status,
|
||||||
u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,u.approval_status,u.is_permanent,u.is_built_in,
|
u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark,u.approval_status,u.is_permanent,u.is_built_in,
|
||||||
u.cust_id, u.cust_num, u.area_id, u.psn_type, u.psn_type_name, u.is_customer,
|
u.cust_id, u.cust_num, u.area_id, u.psn_type, u.psn_type_name,
|
||||||
d.dept_name,
|
d.dept_name,
|
||||||
d.leader,r.role_id,
|
d.leader,r.role_id,
|
||||||
r.role_name,
|
r.role_name,
|
||||||
|
|
@ -299,7 +296,6 @@
|
||||||
<if test="areaId != null and areaId !=''">area_id,</if>
|
<if test="areaId != null and areaId !=''">area_id,</if>
|
||||||
<if test="psnType != null and psnType !=''">psn_type,</if>
|
<if test="psnType != null and psnType !=''">psn_type,</if>
|
||||||
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name,</if>
|
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name,</if>
|
||||||
<if test="isCustomer != null and isCustomer !=''">is_customer,</if>
|
|
||||||
create_time
|
create_time
|
||||||
)values(
|
)values(
|
||||||
<if test="userId != null and userId != ''">#{userId},</if>
|
<if test="userId != null and userId != ''">#{userId},</if>
|
||||||
|
|
@ -323,7 +319,6 @@
|
||||||
<if test="areaId != null and areaId !=''">#{areaId},</if>
|
<if test="areaId != null and areaId !=''">#{areaId},</if>
|
||||||
<if test="psnType != null and psnType !=''">#{psnType},</if>
|
<if test="psnType != null and psnType !=''">#{psnType},</if>
|
||||||
<if test="psnTypeName != null and psnTypeName !=''">#{psnTypeName},</if>
|
<if test="psnTypeName != null and psnTypeName !=''">#{psnTypeName},</if>
|
||||||
<if test="isCustomer != null and isCustomer !=''">#{isCustomer},</if>
|
|
||||||
sysdate()
|
sysdate()
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
@ -352,7 +347,6 @@
|
||||||
<if test="areaId != null and areaId !=''">area_id = #{areaId},</if>
|
<if test="areaId != null and areaId !=''">area_id = #{areaId},</if>
|
||||||
<if test="psnType != null and psnType !=''">psn_type = #{psnType},</if>
|
<if test="psnType != null and psnType !=''">psn_type = #{psnType},</if>
|
||||||
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name = #{psnTypeName},</if>
|
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name = #{psnTypeName},</if>
|
||||||
<if test="isCustomer != null and isCustomer !=''">is_customer = #{isCustomer},</if>
|
|
||||||
update_time = sysdate()
|
update_time = sysdate()
|
||||||
</set>
|
</set>
|
||||||
where user_id = #{userId}
|
where user_id = #{userId}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue