remove isCustomer

This commit is contained in:
sxu 2025-03-07 11:26:31 +08:00
parent ace551ae87
commit fdf0db11b6
2 changed files with 1 additions and 20 deletions

View File

@ -187,11 +187,6 @@ public class SysUser extends BaseEntity {
@ApiModelProperty("客户端人员编号")
private String custNum;
/**
* 是否客户判断是否能够登录后台管理页面
*/
private String isCustomer;
public SysUser() {
}
@ -241,14 +236,6 @@ public class SysUser extends BaseEntity {
this.firstLevelDeptId = firstLevelDeptId;
}
public String getIsCustomer() {
return isCustomer;
}
public void setIsCustomer(String isCustomer) {
this.isCustomer = isCustomer;
}
@Xss(message = "用户昵称不能包含脚本字符")
@Size(min = 0, max = 200, message = "用户昵称长度不能超过200个字符")
public String getNickName() {

View File

@ -29,13 +29,11 @@
<result property="approvalStatus" column="approval_status"/>
<result property="isPermanent" column="is_permanent"/>
<result property="isBuiltIn" column="is_built_in"/>
<result property="isCustomer" column="is_customer"/>
<result property="custId" column="cust_id"/>
<result property="custNum" column="cust_num"/>
<result property="areaId" column="area_id"/>
<result property="psnType" column="psn_type"/>
<result property="psnTypeName" column="psn_type_name"/>
<result property="isCustomer" column="is_customer"/>
<association property="dept" javaType="SysDept" resultMap="deptResult"/>
<collection property="roles" javaType="java.util.List" resultMap="RoleResult"/>
</resultMap>
@ -105,7 +103,6 @@
r.status as role_status,
u.login_type,
u.is_built_in,
u.is_customer,
u.psn_type,
u.cust_id,
u.cust_num
@ -118,7 +115,7 @@
<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,
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.leader,r.role_id,
r.role_name,
@ -299,7 +296,6 @@
<if test="areaId != null and areaId !=''">area_id,</if>
<if test="psnType != null and psnType !=''">psn_type,</if>
<if test="psnTypeName != null and psnTypeName !=''">psn_type_name,</if>
<if test="isCustomer != null and isCustomer !=''">is_customer,</if>
create_time
)values(
<if test="userId != null and userId != ''">#{userId},</if>
@ -323,7 +319,6 @@
<if test="areaId != null and areaId !=''">#{areaId},</if>
<if test="psnType != null and psnType !=''">#{psnType},</if>
<if test="psnTypeName != null and psnTypeName !=''">#{psnTypeName},</if>
<if test="isCustomer != null and isCustomer !=''">#{isCustomer},</if>
sysdate()
)
</insert>
@ -352,7 +347,6 @@
<if test="areaId != null and areaId !=''">area_id = #{areaId},</if>
<if test="psnType != null and psnType !=''">psn_type = #{psnType},</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()
</set>
where user_id = #{userId}