Revert "智慧食堂添加用户信息"

This reverts commit 12e3e954eb.
This commit is contained in:
sxu 2025-02-03 11:06:21 +08:00
parent 12e3e954eb
commit 40f2183d6e
2 changed files with 1 additions and 49 deletions

View File

@ -153,15 +153,6 @@ public class SysUser extends BaseEntity {
/**是否内置0内置1非内置*/
private String isBuiltIn = "1";
/** 身份证号 */
private String idCardNo;
/** 出生年月 */
private String birthDay;
/** 地址 */
private String address;
public SysUser() {
}
@ -396,28 +387,4 @@ public class SysUser extends BaseEntity {
public void setIsBuiltIn(String isBuiltIn) {
this.isBuiltIn = isBuiltIn;
}
public String getIdCardNo() {
return idCardNo;
}
public void setIdCardNo(String idCardNo) {
this.idCardNo = idCardNo;
}
public String getBirthDay() {
return birthDay;
}
public void setBirthDay(String birthDay) {
this.birthDay = birthDay;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
}

View File

@ -28,9 +28,6 @@
<result property="approvalStatus" column="approval_status"/>
<result property="isPermanent" column="is_permanent"/>
<result property="isBuiltIn" column="is_built_in"/>
<result property="idCardNo" column="id_card_no"/>
<result property="birthDay" column="birth_day"/>
<result property="address" column="address"/>
<association property="dept" javaType="SysDept" resultMap="deptResult"/>
<collection property="roles" javaType="java.util.List" resultMap="RoleResult"/>
@ -94,10 +91,7 @@
r.data_scope,
r.status as role_status,
u.login_type,
u.is_built_in,
u.id_card_no,
u.birth_day,
u.address
u.is_built_in
from sys_user u
left join sys_dept d on u.dept_id = d.dept_id
left join sys_user_role ur on u.user_id = ur.user_id
@ -281,9 +275,6 @@
<if test="approvalStatus != null and approvalStatus!=''">approval_status,</if>
<if test="isPermanent != null and isPermanent!=''">is_permanent,</if>
<if test="isBuiltIn != null and isBuiltIn!=''">is_built_in,</if>
<if test="idCardNo != null and idCardNo!=''">id_card_no,</if>
<if test="birthDay != null and birthDay!=''">birth_day,</if>
<if test="address != null and address!=''">address,</if>
create_time
)values(
<if test="userId != null and userId != ''">#{userId},</if>
@ -302,9 +293,6 @@
<if test="approvalStatus != null and approvalStatus!=''">#{approvalStatus},</if>
<if test="isPermanent != null and isPermanent!=''">#{isPermanent},</if>
<if test="isBuiltIn != null and isBuiltIn!=''">#{isBuiltIn},</if>
<if test="idCardNo != null and idCardNo!=''">#{idCardNo},</if>
<if test="birthDay != null and birthDay!=''">#{birthDay},</if>
<if test="address != null and address!=''">#{address},</if>
sysdate()
)
</insert>
@ -328,9 +316,6 @@
<if test="loginType != null and loginType!=''">login_type = #{loginType},</if>
<if test="isPermanent != null and isPermanent!=''">is_permanent = #{isPermanent},</if>
<if test="isBuiltIn != null and isBuiltIn!=''">is_built_in = #{isBuiltIn},</if>
<if test="idCardNo != null and idCardNo!=''">id_card_no = #{idCardNo},</if>
<if test="birthDay != null and birthDay!=''">birth_day = #{birthDay},</if>
<if test="address != null and address!=''">address = #{address},</if>
update_time = sysdate()
</set>
where user_id = #{userId}