1.给劳科院提供查询接口:当前职位名称、技能标签(中文名为主)
2.修改app_user技能接口
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
select id, user_id, name, levels, del_flag, create_by, create_time, update_by, update_time, remark from app_skill
|
||||
</sql>
|
||||
|
||||
<select id="getList" resultType="AppSkill" resultMap="AppSkillResult">
|
||||
<select id="getList" parameterType="AppSkill" resultMap="AppSkillResult">
|
||||
<include refid="selectAppSkillVo"/>
|
||||
<where> del_flag = '0'
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
@@ -30,7 +30,7 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<insert id="batchInsert" parameterType="java.util.List">
|
||||
<insert id="batchInsert" parameterType="AppSkill">
|
||||
INSERT INTO app_skill (
|
||||
user_id, name, levels, create_by, create_time, del_flag
|
||||
) VALUES
|
||||
@@ -42,4 +42,19 @@
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<resultMap type="com.ruoyi.cms.domain.vo.AppSkillVo" id="AppSkillVoResult">
|
||||
<result property="userId" column="user_id"/>
|
||||
<result property="name" column="name"/>
|
||||
<result property="levels" column="levels"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="getUserSkillList" parameterType="com.ruoyi.cms.domain.vo.AppSkillVo" resultMap="AppSkillVoResult">
|
||||
select name, levels,user_id from app_skill
|
||||
<where> del_flag = '0'
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="levels != null and levels != ''"> and levels = #{levels}</if>
|
||||
<if test="userId != null"> and user_id = #{userId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user