修改企业直播带岗管理

This commit is contained in:
chenshaohua
2026-06-18 00:55:53 +08:00
parent f15a698d14
commit 176f0b1acd
6 changed files with 14 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectCompanyJobLiveVo">
select l.id, l.title, l.live_url, l.description, l.start_time, l.end_time, l.company_id, c.name company_name, l.create_by, l.create_time, l.update_by, l.update_time
from company_job_live l
left join company c on l.company_id = c.company_id
inner join company c on l.company_id = c.company_id and c.del_flag='0'
</sql>
<select id="selectAll" parameterType="companyJobLive" resultMap="CompanyJobLiveResult">
@@ -39,9 +39,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by l.create_time desc
</select>
<select id="selectByCompanyId" resultMap="CompanyJobLiveResult">
<select id="selectByCompanyId" resultMap="CompanyJobLiveResult" parameterType="companyJobLive">
<include refid="selectCompanyJobLiveVo"/>
where l.company_id = #{companyId}
where l.company_id = #{companyId} and l.del_flag='0'
<if test="title != null and title != ''">
and l.title like '%' || #{title} || '%'
</if>
order by l.create_time desc
</select>