1.修改pc查询收藏、足迹、申请的对应时间

This commit is contained in:
sh
2025-11-01 16:40:45 +08:00
parent a641140ea5
commit 485a27c87a
4 changed files with 8 additions and 3 deletions

View File

@@ -44,7 +44,7 @@
</select>
<select id="selectAppReviewJobListJob" parameterType="AppReviewJob" resultType="com.ruoyi.cms.domain.Job">
select b.* from app_review_job a inner join job b on a.job_id=b.job_id and b.del_flag='0'
select b.*,a.review_date as shareTime from app_review_job a inner join job b on a.job_id=b.job_id and b.del_flag='0'
<where> a.del_flag = '0'
<if test="jobId != null "> and a.job_id = #{jobId}</if>
<if test="userId != null "> and a.user_id = #{userId}</if>

View File

@@ -117,7 +117,7 @@
</select>
<select id="selectJobApplyListJob" parameterType="JobApply" resultType="com.ruoyi.cms.domain.Job">
select b.* from job_apply a inner join job b on a.job_id=b.job_id and b.del_flag='0'
select b.*,a.create_time as shareTime from job_apply a inner join job b on a.job_id=b.job_id and b.del_flag='0'
<where> a.del_flag = '0'
<if test="jobId != null "> and a.job_id = #{jobId}</if>
<if test="userId != null "> and a.user_id = #{userId}</if>

View File

@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectJobCollectionListJob" parameterType="JobCollection" resultType="com.ruoyi.cms.domain.Job">
select b.* from job_collection a inner join job b on a.job_id=b.job_id and b.del_flag='0'
select b.*,a.create_time as shareTime from job_collection a inner join job b on a.job_id=b.job_id and b.del_flag='0'
<where> a.del_flag = '0'
<if test="jobId != null "> and a.job_id = #{jobId}</if>
<if test="userId != null "> and a.user_id = #{userId}</if>