业务逻辑修改以及完善

This commit is contained in:
2026-01-18 22:07:06 +08:00
parent 7240cb74ad
commit 62de85c6e0
10 changed files with 194 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="fileSuffix" column="file_suffix" />
<result property="fileSizeShow" column="file_size_show" />
<result property="status" column="status" />
<result property="dataType" column="data_type" />
<result property="delFlag" column="del_flag" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
@@ -22,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectHotakeComplianceInfoVo">
select id, user_id, file_name, file_type, file_url, file_suffix, file_size_show, status, del_flag, create_by, create_time, update_by, update_time, remark from hotake_compliance_info
select id, user_id, file_name, file_type, file_url, file_suffix, file_size_show, status,data_type, del_flag, create_by, create_time, update_by, update_time, remark from hotake_compliance_info
</sql>
<select id="selectHotakeComplianceInfoList" parameterType="HotakeComplianceInfo" resultMap="HotakeComplianceInfoResult">
@@ -35,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fileSuffix != null and fileSuffix != ''"> and file_suffix = #{fileSuffix}</if>
<if test="fileSizeShow != null and fileSizeShow != ''"> and file_size_show = #{fileSizeShow}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="dataType != null and dataType != ''"> and data_type = #{dataType}</if>
</where>
</select>
@@ -53,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fileSuffix != null">file_suffix,</if>
<if test="fileSizeShow != null">file_size_show,</if>
<if test="status != null">status,</if>
<if test="dataType != null">data_type,</if>
<if test="delFlag != null">del_flag,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
@@ -68,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fileSuffix != null">#{fileSuffix},</if>
<if test="fileSizeShow != null">#{fileSizeShow},</if>
<if test="status != null">#{status},</if>
<if test="dataType != null">#{dataType},</if>
<if test="delFlag != null">#{delFlag},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
@@ -87,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fileSuffix != null">file_suffix = #{fileSuffix},</if>
<if test="fileSizeShow != null">file_size_show = #{fileSizeShow},</if>
<if test="status != null">status = #{status},</if>
<if test="dataType != null">data_type = #{dataType},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>

View File

@@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="experience" column="experience" />
<result property="aiMatchScore" column="ai_match_score" />
<result property="aiMatchScorePercentage" column="ai_match_score_percentage" />
<result property="status" column="status" />
<result property="delFlag" column="del_flag" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
@@ -34,7 +35,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectHotakeRolesApplyInfoVo">
select id, candidate_id,recruiter_id, role_id, full_name, email, phone_number, cv_file, cv_file_suffix,file_size_show,cover_letter, candidate_status, stage, last_contact, cv_template_json, cv_score, cv_md5, experience, ai_match_score, ai_match_score_percentage, del_flag, create_by, create_time, update_by, update_time, remark from hotake_roles_apply_info
select id, candidate_id,recruiter_id, role_id, full_name, email, phone_number, cv_file, cv_file_suffix,file_size_show,
cover_letter, candidate_status, stage, last_contact, cv_template_json, cv_score, cv_md5, experience, ai_match_score,
ai_match_score_percentage,status, del_flag, create_by, create_time, update_by, update_time, remark from hotake_roles_apply_info
</sql>
<select id="selectHotakeRolesApplyInfoList" parameterType="HotakeRolesApplyInfo" resultMap="HotakeRolesApplyInfoResult">
@@ -59,6 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="experience != null and experience != ''"> and experience = #{experience}</if>
<if test="aiMatchScore != null and aiMatchScore != ''"> and ai_match_score = #{aiMatchScore}</if>
<if test="aiMatchScorePercentage != null "> and ai_match_score_percentage = #{aiMatchScorePercentage}</if>
<if test="status != null "> and status = #{status}</if>
</where>
</select>
@@ -89,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="experience != null">experience,</if>
<if test="aiMatchScore != null">ai_match_score,</if>
<if test="aiMatchScorePercentage != null">ai_match_score_percentage,</if>
<if test="status != null">status,</if>
<if test="delFlag != null">del_flag,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
@@ -116,6 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="experience != null">#{experience},</if>
<if test="aiMatchScore != null">#{aiMatchScore},</if>
<if test="aiMatchScorePercentage != null">#{aiMatchScorePercentage},</if>
<if test="status != null">#{status},</if>
<if test="delFlag != null">#{delFlag},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
@@ -147,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="experience != null">experience = #{experience},</if>
<if test="aiMatchScore != null">ai_match_score = #{aiMatchScore},</if>
<if test="aiMatchScorePercentage != null">ai_match_score_percentage = #{aiMatchScorePercentage},</if>
<if test="status != null">status = #{status},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>

View File

@@ -27,6 +27,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="roleId != null "> and role_id = #{roleId}</if>
<if test="roleApplyId != null "> and role_apply_id = #{roleApplyId}</if>
<if test="applyStage != null and applyStage != ''"> and apply_stage = #{applyStage}</if>
<if test="applyIds != null ">
and role_apply_id in
<foreach item="applyId" collection="applyIds" open="(" separator="," close=")">
#{applyId}
</foreach>
</if>
</where>
order by create_time ASC
</select>