|
@@ -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, "账户查询异常"
|
|
|
}
|