chore(deps): update all non-major dependencies
This commit is contained in:
committed by
Petri Tuomola
parent
a9feedbdf0
commit
9cc7f0e637
-16
@@ -130,22 +130,6 @@ public class TellerManagementReadPlatformServiceImpl implements TellerManagement
|
||||
|
||||
private static final class TellerInOfficeHierarchyMapper implements RowMapper<TellerData> {
|
||||
|
||||
public String schema() {
|
||||
|
||||
final StringBuilder sqlBuilder = new StringBuilder(200);
|
||||
|
||||
sqlBuilder.append("t.id as id,t.office_id as office_id, t.name as teller_name, t.description as description, ");
|
||||
sqlBuilder.append("t.valid_from as start_date, t.valid_to as end_date, t.state as status, o.name as office_name ");
|
||||
sqlBuilder.append("t.debit_account_id as debit_account_id, t.credit_account_id as credit_account_id ");
|
||||
sqlBuilder.append("from m_office o ");
|
||||
sqlBuilder.append("join m_office ohierarchy on o.hierarchy like concat(ohierarchy.hierarchy, '%') ");
|
||||
sqlBuilder.append("join m_tellers t on t.office_id = ohierarchy.id and s.is_active=true ");
|
||||
|
||||
sqlBuilder.append("where o.id = ? ");
|
||||
|
||||
return sqlBuilder.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TellerData mapRow(final ResultSet rs, final int rowNum) throws SQLException {
|
||||
|
||||
|
||||
-9
@@ -27,7 +27,6 @@ import java.util.List;
|
||||
import org.apache.fineract.infrastructure.core.data.EnumOptionData;
|
||||
import org.apache.fineract.infrastructure.security.service.PlatformSecurityContext;
|
||||
import org.apache.fineract.portfolio.rate.data.RateData;
|
||||
import org.apache.fineract.portfolio.rate.domain.Rate;
|
||||
import org.apache.fineract.portfolio.rate.domain.RateAppliesTo;
|
||||
import org.apache.fineract.portfolio.rate.exception.RateNotFoundException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -137,13 +136,5 @@ public class RateReadServiceImpl implements RateReadService {
|
||||
return RateData.instance(id, name, percentage, productAppliesTo, active);
|
||||
}
|
||||
|
||||
public RateData mapRow(Rate rateResponse, int i) {
|
||||
final Long id = rateResponse.getId();
|
||||
final String name = rateResponse.getName();
|
||||
final BigDecimal percentage = rateResponse.getPercentage();
|
||||
final EnumOptionData productApply = RateEnumerations.rateAppliesTo(rateResponse.getProductApply());
|
||||
final boolean active = rateResponse.isActive();
|
||||
return RateData.instance(id, name, percentage, productApply, active);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user