File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<?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="com.takensoft.ai_lms.lms.class_book.dao.ClassBookDAO">
<resultMap id="classBookMap" type="ClassBookVO" >
<result property="sclsId" column="scls_id"/>
<result property="sclsNm" column="scls_nm"/>
</resultMap>
<!--
작성자 : 박세훈
작성일 : 2024.07.26
내 용 : 반에 책 등록
-->
<insert id="registerBook" parameterType="String" >
INSERT INTO class_book( book_id,
scls_id
) VALUES ( #{bookId},
#{sclsId}
);
</insert>
<!--
작성자 : 박세훈
작성일 : 2024.07.26
내 용 : 반에 등록 된 책 삭제
-->
<delete id="deleteClassBook" parameterType="String">
DELETE FROM class_book
WHERE
book_id = #{bookId} AND
scls_id = #{sclsId}
</delete>
</mapper>