1.我的简历-用户工作经历表

2.敏感词库
3.新入职员工确认信息等对应后台功能
This commit is contained in:
sh
2025-10-10 18:45:44 +08:00
parent 27746bd727
commit 2f28aa9c4d
24 changed files with 852 additions and 5 deletions

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.cms.mapper.EmployeeConfirmMapper">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="EmployeeConfirm" id="EmployeeConfirmResult">
<result property="id" column="id"/>
<result property="companyId" column="company_id"/>
<result property="contactPerson" column="contact_person"/>
<result property="idCard" column="id_card"/>
<result property="entryDate" column="entry_date"/>
<result property="contactPersonPhone" column="contact_person_phone"/>
<result property="contractTerm" column="contract_term"/>
<result property="delFlag" column="del_flag"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="remark" column="remark"/>
</resultMap>
<sql id="selectsinosoftVo">
select id, company_id, contact_person, id_card, entry_date, contact_person_phone, contract_term, del_flag, create_by, create_time, update_by, update_time, remark from employee_confirm
</sql>
<select id="getEmployeeConfirmList" resultMap="EmployeeConfirmResult" parameterType="EmployeeConfirm">
<include refid="selectsinosoftVo"/>
<where> del_flag = '0'
<if test="contactPerson != null and contactPerson != ''"> and contact_person like concat('%', #{contactPerson}, '%')</if>
<if test="idCard != null and idCard != ''"> and id_card = #{idCard}</if>
<if test="contactPersonPhone != null and contactPersonPhone != ''"> and contact_person_phone = #{contactPersonPhone}</if>
<if test="companyId != null and companyId != ''"> and company_id = #{companyId}</if>
</where>
</select>
</mapper>

View File

@@ -46,4 +46,13 @@
where jc.job_id = #{jobId} and jc.del_flag = '0' and au.del_flag ='0'
</select>
<select id="trendChart" resultType="java.util.HashMap" parameterType="JobApply">
select a.job_title as name,count(b.job_id) sl from job a left join job_apply b
on a.job_id=b.job_id where a.del_flag='0' and b.del_flag='0'
<if test="jobId!=null and jobId!=''">
and a.job_id=#{jobId}
</if>
group by a.job_title
</select>
</mapper>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.cms.mapper.SensitiveWordDataMapper">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="SensitiveWordData" id="sensitiveWordDataResult">
<result property="id" column="id"/>
<result property="sensitiveWord" column="sensitive_word"/>
<result property="type" column="type"/>
<result property="delFlag" column="del_flag"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="remark" column="remark"/>
</resultMap>
<sql id="sensitiveWordDataVo">
select id, sensitive_word, type, del_flag, create_by, create_time, update_by, update_time, remark from sensitive_word_data
</sql>
<select id="selectSensitiveworddataList" resultMap="sensitiveWordDataResult" parameterType="SensitiveWordData">
<include refid="sensitiveWordDataVo"/>
<where> del_flag = '0'
<if test="sensitiveWord != null and sensitiveWord != ''"> and sensitive_word like concat('%', #{sensitiveWord}, '%')</if>
<if test="type != null and type != ''"> and type = #{type}</if>
</where>
</select>
</mapper>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sinosoft.mapper.unit.UserWorkExperiencesMapper">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="userWorkExperiences" id="userWorkExperiencesResult">
<result property="id" column="id"/>
<result property="companyName" column="company_name"/>
<result property="position" column="position"/>
<result property="userId" column="user_id"/>
<result property="startDate" column="start_date"/>
<result property="endDate" column="end_date"/>
<result property="description" column="description"/>
<result property="delFlag" column="del_flag"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="remark" column="remark"/>
</resultMap>
<sql id="selectWorkExperiencesVo">
select id, company_name, position, user_id, start_date, end_date, description, del_flag, create_by, create_time, update_by, update_time, remark from user_work_experiences
</sql>
<select id="getWorkExperiencesList" resultMap="userWorkExperiencesResult" parameterType="userWorkExperiences">
<include refid="selectWorkExperiencesVo"/>
<where> del_flag = '0'
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
<if test="position != null and position != ''"> and position = #{position}</if>
<if test="description != null and description != ''"> and description = #{description}</if>
</where>
</select>
</mapper>