فهرست منبع

app执法查询增加任务名称-模糊

Memory_LG 7 ماه پیش
والد
کامیت
370f734a61
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/mapper/lawenforcement/LawenforcementRecordMapper.xml

+ 1 - 1
src/main/resources/mapper/lawenforcement/LawenforcementRecordMapper.xml

@@ -558,7 +558,7 @@
         left join lawenforcement_person lp on lr.id = lp.record_id
         <where>
             <if test="jobName != null and jobName != ''">
-                and job_name = #{jobName}
+                and job_name LIKE concat('%', #{jobName}, '%')
             </if>
             <if test="creatorId != null and creatorId !=''">
                 and lp.person_id = #{creatorId}