diff --git a/src/main/java/com/postgraduate/batch/salary/CreateSalaryRowMapper.java b/src/main/java/com/postgraduate/batch/salary/CreateSalaryRowMapper.java deleted file mode 100644 index dccd6887..00000000 --- a/src/main/java/com/postgraduate/batch/salary/CreateSalaryRowMapper.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.postgraduate.batch.salary; - -import org.springframework.jdbc.core.RowMapper; - -import java.sql.ResultSet; -import java.sql.SQLException; - -public class CreateSalaryRowMapper implements RowMapper { - @Override - public CreateSalary mapRow(ResultSet rs, int rowNum) throws SQLException { - return new CreateSalary( - rs.getLong("senior_id"), - rs.getLong("account_id"), - rs.getString("bank"), - rs.getString("account_number"), - rs.getString("account_holder") - ); - } -}