|
@@ -45,14 +45,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="facilitiesId != null "> and facilities_id = #{facilitiesId}</if>
|
|
|
|
|
|
<if test="params.facilities_unit != null and params.facilities_unit != ''"><!-- 结束时间检索 -->
|
|
|
- and ext1.'$.facilities_unit' = #{params.facilities_unit}
|
|
|
+ and ext1->'$.facilities_unit' = #{params.facilities_unit}
|
|
|
</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.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(ext1.'$.task.datestart','%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
+ and date_format(ext1->'$.task.datestart','%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
|
</if>
|
|
|
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
|
|
- and date_format(ext1.'$.task.dateend','%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
+ and date_format(ext1->'$.task.dateend','%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
|
|
</if>
|
|
|
<if test="params.userId != null and params.userId != ''"><!-- 派发用户自己的或自己填报的或自己处理的 -->
|
|
|
<![CDATA[
|