浏览代码

Merge branch 'wanghaicheng' of lift-manager/lift-server into develop

wanghaicheng 5 年之前
父节点
当前提交
b4b5e3395c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lift-common/src/main/java/cn.com.ty.lift.common/constants/SqlConstants.java

+ 1 - 1
lift-common/src/main/java/cn.com.ty.lift.common/constants/SqlConstants.java

@@ -151,7 +151,7 @@ public interface SqlConstants {
                     "   from region r" +
                     "         left join user_info ui on r.user_id = ui.user_id" +
                     "     where mt_company_id = #{mtCompanyId}" +
-                    "       and r.area_name like '%${name}%' and ui.name like '%${name}%'" +
+                    "       and (r.area_name like '%${name}%' or ui.name like '%${name}%')" +
                     "   order by create_time desc";
 
     //根据用户id查询待维保数量