![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/dy3RFC/btq0dn9FBs8/Okwx2UlfTedvjj2DbawHvK/img.jpg)
일전에 쓴 stratosphere.tistory.com/229 일본 후생연금 반환 신청하기 후생연금 반환하기까지 과정을 담은 글이다. 원래는 출국전에 신청을 해야 했었는데 다른 일에 치여서 그러지 못했다. 거의 급하게 출국하다 싶이 한거니까.. 잊고 있다가 2년이 지나기 전에 해 stratosphere.tistory.com 일본연금 반환신청서를 쓴지 한 4개월이 지나자 와싿. 너무 급한 마음에 뜯어봤는데 이것이 연금반환신청결과가 담긴 우편이다. 내용물은 다음과 같다. 얼마가 연금이고 얼마가 소득세로 때고 그런게 적혀있다 40만엔 정도 냈는데, 이중 20% 인 8만엔이 소득세로 잡혀서 최종적으로는 31만엔 정도 돌려받는다 소득세도 미리 했으면 돌려받지만 코로나 시국에 14일 격리되면서 할수는 없으니 이정도..
![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/b5YviF/btqZRrDWmk5/40NPXAfBKp3X2Fk8ORvAjk/img.png)
CrudRepository 당신이 당신의 자신의 방법을 정의 할 필요없이, 갱신 및 삭제 기록을 작성 읽을 수 있도록 인터페이스는 CRUD 작업을위한 방법을 제공합니다. PagingAndSortingRepository는 엔티티 페이지 매김을 사용하여 정렬을 검색하는 추가 방법을 제공합니다. 마지막으로 JpaRepository 는 JPA에 특정한 기능을 더 추가합니다. 출처 - stackoverflow.com/questions/14014086/what-is-difference-between-crudrepository-and-jparepository-interfaces-in-spring 결국 가장 큰 기능은 JpaRepository 를 쓰는거같다. 일반적인 조회 수정 삭제를 하려면 CrudRepository..
1.build.gradle( Module...)에 아래 추가 android { ... buildFeatures { viewBinding = true } } 2. ActivityMain인 경우 아래와 같이 자동으로 ~Binding이 붙은게 생성된다. setContentView에 binding.root를 넣으면 끝. (안넣으면 에러남) package com.example.testdrive import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Button import android.widget.Toast import com.example.testdri..
//코틀린으로 쓴 문법이다 일반적인 책에서는 for문으로만 끝나기 때문에 실무에서 2중for문의 경우 예측이 잘 안된다. 이럴땐 그냥 코드를 써보면 알지만 일단 결과를 예측하면 //for for for (i in 1..5){ println("i: "+i) for(j in 1..5){ if( j == 3) break println( "i: "+ i + " / j : " + j) } } 결과는 다음과 같다. i: 1 i: 1 / j : 1 i: 1 / j : 2 i: 2 i: 2 / j : 1 i: 2 / j : 2 i: 3 i: 3 / j : 1 i: 3 / j : 2 i: 4 i: 4 / j : 1 i: 4 / j : 2 i: 5 i: 5 / j : 1 i: 5 / j : 2 즉 break가 있다고 멈추..
//array val arrs = arrayOf(1, 22, 4, 10) var plus = 0 //값 전체를 뽑아낼때 for(str in arrs){ println(str) plus += str } println(plus) //index만 필요할때 : 주로 index 위치로 뭘 하는 용도일듯 for( index in arrs.indices){ println("" + index + " / " + arrs[index]) plus += arrs[index] } println(plus) //index와 내용물까지 : 보통 이걸 쓸거같다. for( (index, str) in arrs.withIndex()){ println("" + index + " / " + arrs[index] + " / " + str) p..