wangkaiyue 1 год назад
Родитель
Сommit
1846c56c06
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      rpc/internal/logic/entaccountrecoverylogic.go

+ 1 - 1
rpc/internal/logic/entaccountrecoverylogic.go

@@ -42,7 +42,7 @@ func (l *EntAccountRecoveryLogic) EntAccountRecovery(in *resourcesCenter.EntOper
 		)
 		)
 
 
 		_, err = orm.Table(AccountResources).
 		_, err = orm.Table(AccountResources).
-			Where("companyId=? AND resourceType=? AND empowerId=? AND number>0 AND endTime>= ? AND accountId = ?", in.CompanyId, in.ResourceType, in.EmpowerId, time.Now().Format("2006-01-02"), in.OperateAccountId).Get(balance)
+			Where("companyId=? AND resourceType=? AND number>0 AND endTime>= ? AND accountId = ?", in.CompanyId, in.ResourceType, time.Now().Format("2006-01-02"), in.OperateAccountId).Get(balance)
 		if err != nil || balance == nil {
 		if err != nil || balance == nil {
 			return entity.ErrorCode, "账户查询异常"
 			return entity.ErrorCode, "账户查询异常"
 		}
 		}