浏览代码

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

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

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

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