|
@@ -344,7 +344,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
{
|
|
|
DiId = DiId.Substring(0, DiId.Length - 1);
|
|
|
|
|
|
- string sql = string.Format(@"select * from Grp_DelegationInfo where Id in({0}) and IsDel={1}", DiId, 0);
|
|
|
+ string sql = string.Format(@"select * from Grp_DelegationInfo where Id in({0}) and IsDel={1} Order By Id Desc", DiId, 0);
|
|
|
List<Grp_DelegationInfo> grp_Delegations = _sqlSugar.SqlQueryable<Grp_DelegationInfo>(sql).ToList();
|
|
|
|
|
|
if (grp_Delegations.Count == 0)
|