wangkaiyue пре 1 година
родитељ
комит
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).
-			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 {
 			return entity.ErrorCode, "账户查询异常"
 		}