highgo database
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
<select id="selectAppReviewJobList" parameterType="AppReviewJob" resultMap="AppReviewJobResult">
|
||||
<include refid="selectAppReviewJobVo"/>
|
||||
<where> del_flag = 0
|
||||
<where> del_flag = '0'
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="jobId != null "> and job_id = #{jobId}</if>
|
||||
<if test="reviewDate != null "> and review_date = #{reviewDate}</if>
|
||||
@@ -27,8 +27,8 @@
|
||||
select j.*,r.review_date
|
||||
from job as j
|
||||
inner join app_review_job as r on r.job_id = j.job_id and user_id = #{userId}
|
||||
where j.del_flag = 0
|
||||
and r.del_flag = 0
|
||||
where j.del_flag = '0'
|
||||
and r.del_flag = '0'
|
||||
<if test="jobQuery.startDate != null "> and r.review_date > concat(#{jobQuery.startDate},' 23:59:59')</if>
|
||||
<if test="jobQuery.endDate != null "> and r.review_date < concat(#{jobQuery.endDate},' 23:59:59')</if>
|
||||
<if test="jobQuery.jobTitle != null and jobQuery.jobTitle!=''"> and j.job_title like concat('%',#{jobQuery.jobTitle},'%') </if>
|
||||
@@ -38,8 +38,8 @@
|
||||
select r.review_date
|
||||
from job as j
|
||||
inner join app_review_job as r on r.job_id = j.job_id and user_id = #{userId}
|
||||
where j.del_flag = 0
|
||||
and r.del_flag = 0
|
||||
where j.del_flag = '0'
|
||||
and r.del_flag = '0'
|
||||
group by r.review_date
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user