added 0017 code
This commit is contained in:
@@ -8,7 +8,7 @@ import net.ipksindia.model.TransferTransaction
|
||||
import java.time.format.DateTimeFormatter
|
||||
|
||||
class TransactionFactory(private val transactionRequest: TransactionRequest, private val teller: Teller) {
|
||||
private val bankDccbToSftpMap = mutableMapOf("0015" to "0005", "0003" to "0021", "0013" to "0016", "0011" to "0018", "0016" to "0001", "0004" to "0004", "0005" to "0007")
|
||||
private val bankDccbToSftpMap = mutableMapOf("0015" to "0005", "0003" to "0021", "0013" to "0016", "0011" to "0018", "0016" to "0001", "0004" to "0004", "0005" to "0007", "0017" to "0020")
|
||||
private val date = transactionRequest.date.format(DateTimeFormatter.ofPattern("dd-MM-yyyy"))
|
||||
private val rrn = transactionRequest.date.format(DateTimeFormatter.ofPattern("ddMM")) + transactionRequest.transactionNumber.takeLast(4)
|
||||
|
||||
|
@@ -107,7 +107,40 @@ class TellerDao {
|
||||
"00063" to "963",
|
||||
"00066" to "966",
|
||||
"00067" to "967"
|
||||
),
|
||||
"0017" to mapOf (
|
||||
"00118" to "18",
|
||||
"00127" to "027",
|
||||
"00102" to "002",
|
||||
"00112" to "12",
|
||||
"00119" to "019",
|
||||
"00126" to "026",
|
||||
"00129" to "029",
|
||||
"00103" to "003",
|
||||
"00106" to "006",
|
||||
"00115" to "015",
|
||||
"00131" to "031",
|
||||
"00120" to "20",
|
||||
"00104" to "004",
|
||||
"00125" to "025",
|
||||
"00124" to "024",
|
||||
"00110" to "010",
|
||||
"00105" to "005",
|
||||
"00123" to "023",
|
||||
"00111" to "11",
|
||||
"00135" to "35",
|
||||
"00109" to "009",
|
||||
"00101" to "001",
|
||||
"00108" to "008",
|
||||
"00121" to "021",
|
||||
"00130" to "30",
|
||||
"00116" to "016",
|
||||
"00128" to "028",
|
||||
"00113" to "013",
|
||||
"00117" to "017",
|
||||
"00132" to "032"
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
fun getTeller(dccbCode: String, branchCode: String): Teller {
|
||||
|
@@ -14,5 +14,5 @@ bank {
|
||||
rootRoute = "IPKS_Queue_Generation"
|
||||
transactionRoute = "IpksApi"
|
||||
}
|
||||
codes = ["0003", "0015", "0013", "0011", "0016", "0004", "0005"]
|
||||
codes = ["0003", "0015", "0013", "0011", "0016", "0004", "0005", "0017"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user