fix(system): 修正租户余额与套餐价格比较逻辑
This commit is contained in:
@@ -162,7 +162,7 @@ public class TenantServiceImpl implements TenantService {
|
||||
throw exception(TENANT_USER_NOT_EXISTS);
|
||||
}
|
||||
|
||||
if (tenantBalance.getBalance()<=tenantAgencyPackage.getPrice()){
|
||||
if (tenantBalance.getBalance() < tenantAgencyPackage.getPrice()){
|
||||
throw exception(TENANT_BALANCE_NOT_ENOUGH);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user