Spring/Spring-eclipse
[mapper] parameterType=""을 2개 넣는 방법
congs
2023. 7. 13. 15:12
ServiceImpl
dao
dao에서 @Param("serviceImpl에서 보낸 값 이름")을 붙여서 받아오고
, mapper에서 #{여기서 작석할 이름}을 넣기!
- 자료형이 달라도 가능!!