Преглед на файлове

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>