|
|
@ -228,6 +228,9 @@ public class SysSmsServiceImpl extends BaseServiceImpl<SysSmsDao, SysSmsEntity> |
|
|
|
groupByCustomer.forEach((customerId,v) -> { |
|
|
|
parameterResult.forEach(p -> { |
|
|
|
if (customerId.equals(p.getCustomerId())){ |
|
|
|
if (p.getSwitchStatus() == false){ |
|
|
|
logger.error(String.format(SysSmsConstant.NOT_ON_SWITCH,customerId,p.getParameterKey())); |
|
|
|
}else { |
|
|
|
if (p.getBalanceStatus() == false){ |
|
|
|
logger.error(String.format(SysSmsConstant.NOT_ENOUGH_BALANCE,customerId,p.getParameterValue())); |
|
|
|
}else { |
|
|
@ -240,6 +243,7 @@ public class SysSmsServiceImpl extends BaseServiceImpl<SysSmsDao, SysSmsEntity> |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}catch (RenException e){ |
|
|
|