浏览代码

fix 修改招商引资填报单位模糊匹配

tjf 3 年之前
父节点
当前提交
61d3813ee8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/project/BmProjectMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/project/BmProjectMapper.xml

@@ -62,7 +62,7 @@
             </if>
             <if test="industry != null  and industry != ''">and p.industry = #{industry}</if>
             <if test="projectStatus != null ">and p.project_status = #{projectStatus}</if>
-            <if test="deptName != null and deptName != ''">and d.dept_name = #{deptName}</if>
+            <if test="deptName != null and deptName != ''">and d.dept_name like concat('%', #{deptName}, '%')</if>
             <if test="totAmt != null ">and p.tot_amt = #{totAmt}</if>
             <if test="isDel != null ">and p.is_del = #{isDel}</if>
             <if test="beginTime != null ">and p.create_time &gt;= #{beginTime}</if>