ソースを参照

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

tjf 3 年 前
コミット
61d3813ee8

+ 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>