highgo database
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
<select id="selectJobApplyList" parameterType="JobApply" resultMap="JobApplyResult">
|
||||
<include refid="selectJobApplyVo"/>
|
||||
<where> del_flag = 0
|
||||
<where> del_flag = '0'
|
||||
<if test="jobId != null "> and job_id = #{jobId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="matchingDegree != null "> and matching_degree = #{matchingDegree}</if>
|
||||
@@ -33,9 +33,9 @@
|
||||
SELECT ja.create_time AS applyTime, j.*
|
||||
FROM job j
|
||||
INNER JOIN job_apply ja ON j.job_id = ja.job_id
|
||||
WHERE j.del_flag = 0
|
||||
WHERE j.del_flag = '0'
|
||||
AND j.is_publish = 1
|
||||
AND ja.del_flag = 0
|
||||
AND ja.del_flag = '0'
|
||||
AND ja.user_id = #{userId}
|
||||
ORDER BY ja.create_time DESC
|
||||
</select>
|
||||
@@ -43,7 +43,7 @@
|
||||
SELECT au.*,jc.create_time as apply_date,jc.matching_degree
|
||||
from job_apply as jc
|
||||
inner join app_user as au on jc.user_id = au.user_id
|
||||
where jc.job_id = #{jobId} and jc.del_flag = 0 and au.del_flag =0
|
||||
where jc.job_id = #{jobId} and jc.del_flag = '0' and au.del_flag ='0'
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user