From 55c78ff81e8e0d46e29a377c357cd0c9bf47add9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Tue, 5 Jan 2021 11:29:15 +0800 Subject: [PATCH] 'commit' --- dsBaseRpc/RpcService/BaseRole/BaseRoleDao/BaseRoleDao.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dsBaseRpc/RpcService/BaseRole/BaseRoleDao/BaseRoleDao.go b/dsBaseRpc/RpcService/BaseRole/BaseRoleDao/BaseRoleDao.go index 5ce3d360..3729747b 100644 --- a/dsBaseRpc/RpcService/BaseRole/BaseRoleDao/BaseRoleDao.go +++ b/dsBaseRpc/RpcService/BaseRole/BaseRoleDao/BaseRoleDao.go @@ -58,6 +58,7 @@ func PageBaseRole(in *BaseRoleProto.QueryArg) ([]map[string]interface{}, int32, myBuilder.InnerJoin("t_base_role_app as t2", "t1.role_id=t2.role_id") myBuilder.And(builder.Eq{"t2.app_id": in.AppId}) myBuilder.And(builder.Eq{"t1.identity_id": in.IdentityId}) + myBuilder.And(builder.Eq{"t1.b_use": 1}) //获取拼接完成的SQL语句 sql, err := myBuilder.OrderBy("t1.sort_id").Limit(limit, offset).ToBoundSQL() if err != nil {