main
parent
80c076a16f
commit
c0f6ee82d4
|
|
@ -56,7 +56,7 @@ public class AppUser extends BaseEntity
|
||||||
|
|
||||||
/** 学校 */
|
/** 学校 */
|
||||||
@Excel(name = "学校")
|
@Excel(name = "学校")
|
||||||
private String school;
|
private Long school;
|
||||||
|
|
||||||
/** 专业 */
|
/** 专业 */
|
||||||
@Excel(name = "专业")
|
@Excel(name = "专业")
|
||||||
|
|
@ -195,12 +195,12 @@ public class AppUser extends BaseEntity
|
||||||
{
|
{
|
||||||
return education;
|
return education;
|
||||||
}
|
}
|
||||||
public void setSchool(String school)
|
public void setSchool(Long school)
|
||||||
{
|
{
|
||||||
this.school = school;
|
this.school = school;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getSchool()
|
public Long getSchool()
|
||||||
{
|
{
|
||||||
return school;
|
return school;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectUserSkillVo">
|
<sql id="selectUserSkillVo">
|
||||||
select id, user_id, name, create_time, update_time from user_skill
|
select id, user_id, name, create_time, update_time from app_user_skill
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectUserSkillList" parameterType="UserSkill" resultMap="UserSkillResult">
|
<select id="selectUserSkillList" parameterType="UserSkill" resultMap="UserSkillResult">
|
||||||
|
|
@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertUserSkill" parameterType="UserSkill" useGeneratedKeys="true" keyProperty="id">>
|
<insert id="insertUserSkill" parameterType="UserSkill" useGeneratedKeys="true" keyProperty="id">>
|
||||||
insert into user_skill
|
insert into app_user_skill
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="userId != null">user_id,</if>
|
<if test="userId != null">user_id,</if>
|
||||||
<if test="name != null">name,</if>
|
<if test="name != null">name,</if>
|
||||||
|
|
@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateUserSkill" parameterType="UserSkill">
|
<update id="updateUserSkill" parameterType="UserSkill">
|
||||||
update user_skill
|
update app_user_skill
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
<if test="userId != null">user_id = #{userId},</if>
|
<if test="userId != null">user_id = #{userId},</if>
|
||||||
<if test="name != null">name = #{name},</if>
|
<if test="name != null">name = #{name},</if>
|
||||||
|
|
@ -58,15 +58,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteUserSkillById">
|
<delete id="deleteUserSkillById">
|
||||||
delete from user_skill where id = #{id}
|
delete from app_user_skill where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteUserSkillByUserId">
|
<delete id="deleteUserSkillByUserId">
|
||||||
delete from user_skill where user_id = #{userId}
|
delete from app_user_skill where user_id = #{userId}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteUserSkillByIds">
|
<delete id="deleteUserSkillByIds">
|
||||||
delete from user_skill where id in
|
delete from app_user_skill where id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue