|
@@ -47,6 +47,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="params.facilities_unit != null and params.facilities_unit != ''"><!-- 结束时间检索 -->
|
|
|
and ext1->'$.facilities_unit' = #{params.facilities_unit}
|
|
|
</if>
|
|
|
+ <if test="params.status != null and params.status != ''"><!-- 结束时间检索 -->
|
|
|
+ and status in (${params.status})
|
|
|
+ </if>
|
|
|
<if test="params.searchkey != null and params.searchkey != ''"> and ( ext1->'$.facilities_road' like concat('%', #{params.searchkey}, '%') or ext1->'$.facilities_name' like concat('%', #{params.searchkey}, '%') )</if>
|
|
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
|
and date_format(CONCAT(ext1->>'$.task.datestart','-01'),'%Y%m%d') >= date_format(#{params.beginTime},'%Y%m%d')
|