Mybatis#3) 예제 : 복수변수 ,Map변수
#1 mybatis-config.xml #2 boardMapper.xml SELECT MAX(num) FROM board INSERT INTO board (num, name, pass, subject, content, filename, re_ref, re_lev, re_seq, readcount, ip, reg_date) VALUES (#{num}, #{name}, #{pass}, #{subject}, #{content}, #{filename}, #{re_ref}, #{re_lev}, #{re_seq}, #{readcount}, #{ip}, CURRENT_TIMESTAMP) SELECT * FROM board subject LIKE #{search} ORDER BY re_ref DESC, re_seq A..
2019. 4. 17. 12:02