Notice
Recent Posts
Recent Comments
Link
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

WON.dev

member.xml 본문

JSP/JSP.sideproject

member.xml

GAWON 2023. 6. 23. 12:16
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper 
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >

<mapper namespace="org.joonzis.mybatis.mapper.member">

	<insert id="insert_join" parameterType="org.joonzis.vo.MVO">
		INSERT INTO MEMBER_T
		VALUES(
			member_seq.nextval,
			#{mid},
			#{mpw},
			#{mname},
			#{mtel},
			#{mage},
			sysdate
		)
	</insert>
	<select id="select_member_ck" parameterType="org.joonzis.vo.MVO" resultType="int">
		SELECT COUNT(*) FROM MEMBER_T WHERE MID=#{mid} AND MPW=#{mpw}
	</select>
	<select id="select_member" parameterType="org.joonzis.vo.MVO" resultType="org.joonzis.vo.MVO">
		SELECT * FROM MEMBER_T WHERE MID=#{mid} AND MPW=#{mpw}
	</select>
</mapper>

'JSP > JSP.sideproject' 카테고리의 다른 글

BBSServiceImpl.java  (0) 2023.06.23
BBSService.java  (0) 2023.06.23
comment_t.xml  (0) 2023.06.23
bbs_t.xml  (0) 2023.06.23
sqlmap.xml  (0) 2023.06.23