This commit is contained in:
chenyanchang
2026-06-17 16:57:05 +08:00
parent 99d1e5deef
commit 88d6bf8f87
2 changed files with 12 additions and 3 deletions

View File

@@ -29,11 +29,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectCompanyJobLiveVo"/>
where 1=1
<if test="title != null and title != ''">
and l.title like CONCAT('%',#{title},'%')
and l.title like '%' || #{title} || '%'
</if>
<if test="companyName != null and companyName != ''">
and c.name like CONCAT('%',#{companyName},'%')
and c.name like '%' || #{companyName} || '%'
</if>
and TO_TIMESTAMP(l.end_time, 'YYYY-MM-DD HH24:MI:SS') >= sysdate()
order by l.create_time desc
</select>