|
|
@@ -48,6 +48,14 @@
|
|
|
<if test="dto.handleDateStart != null and dto.handleDateEnd != ''">
|
|
|
AND DATE_FORMAT(t1.handle_time, '%Y-%m-%d') between and #{dto.handleDateStart} and #{dto.handleDateEnd}
|
|
|
</if>
|
|
|
+ <if test="dto.keyword != null and dto.keyword != ''">
|
|
|
+ AND (
|
|
|
+ t1.received_type like concat('%', #{dto.keyword},'%')
|
|
|
+ or t1.received_title like concat('%', #{dto.keyword},'%')
|
|
|
+ or t3.name like concat('%', #{dto.keyword},'%')
|
|
|
+ or t4.name like concat('%', #{dto.keyword},'%')
|
|
|
+ )
|
|
|
+ </if>
|
|
|
order by t1.id desc
|
|
|
</select>
|
|
|
|