修改企业直播带岗管理
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user