Просмотр исходного кода

地址配置搜索 名称使用通配

785834757 10 месяцев назад
Родитель
Сommit
b426a681f5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      platform/src/main/resources/mapper/PtlAgreementUrlMapper.xml

+ 1 - 1
platform/src/main/resources/mapper/PtlAgreementUrlMapper.xml

@@ -18,7 +18,7 @@
             and pau.company_id = #{ptlAgreementUrlVo.companyId}
         </if>
         <if test="ptlAgreementUrlVo.name != null and ptlAgreementUrlVo.name != ''">
-            and pau.name = #{ptlAgreementUrlVo.name}
+            and pau.name like concat('%',#{ptlAgreementUrlVo.name},'%')
         </if>
     </select>
 </mapper>