wenhongquan há 3 anos atrás
pai
commit
b28e915a87

+ 0 - 1
ruoyi-system/src/main/java/com/ruoyi/system/domain/TblTask.java

@@ -112,7 +112,6 @@ public class TblTask extends BaseEntity
     @Excel(name = "区属")
     private String taskArea;
 
-
     public List<TblTaskLog> getTblTaskLogList() {
         return tblTaskLogList;
     }

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/TblTaskMapper.xml

@@ -64,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="taskDeptRange != null  and taskDeptRange != ''"> and task_dept_range = #{taskDeptRange}</if>
             <if test="taskFacilitieCode != null  and taskFacilitieCode != ''"> and task_facilitie_code = #{taskFacilitieCode}</if>
             <if test="taskArea != null  and taskArea != ''"> and task_area = #{taskArea}</if>
+            <if test="params.searchkey != null  and params.searchkey != ''"> and  ( task_content like  concat('%', #{params.searchkey}, '%') or task_addr_road like concat('%', #{params.searchkey}, '%'))</if>
             <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
                 and date_format(task_time,'%y%m%d') &gt;= date_format(#{params.beginTime},'%y%m%d')
             </if>

BIN
ruoyi/uploadPath/upload/2022/06/29/edit_20220629174449A001.png


BIN
ruoyi/uploadPath/upload/2022/06/29/edit_20220629175009A002.png


BIN
ruoyi/uploadPath/upload/2022/06/29/应急仓库_路上 拷贝@2x_20220629175128A003.png