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.photoMng.dao.PhotoMngDAO">
<resultMap id="photoMngMap" type="photoMngVO">
<result property="photoMngId" column="photo_mng_id"/>
<result property="sclsId" column="scls_id"/>
</resultMap>
<select id="photoMngList" resultType="com.takensoft.ai_lms.lms.photoMng.vo.PhotoMngVO">
SELECT photo_mng_id
, scls_id
FROM photo_manage
</select>
<insert id="insertPhotoMng" parameterType="PhotoMngVO">
INSERT INTO photo_manage (
photo_mng_id
, scls_id
) VALUES (
#{photoMngId}
, #{sclsId}
)
</insert>
<update id="updatePhotoMng" parameterType="PhotoMngVO">
UPDATE photo_manage
SET photo_mng_id = #{photoMngId}
, scls_id = #{sclsId}
WHERE photo_mng_id = #{photoMngId}
</update>
<delete id="deletePhotoMng" parameterType="PhotoMngVO">
DELETE
FROM photo_manage
WHERE photo_mng_id = #{photoMngId}
</delete>
<select id="photoDetail" parameterType="PhotoMngVO" resultType="com.takensoft.ai_lms.lms.photoMng.vo.PhotoMngVO">
SELECT photo_mng_id
, scls_id
WHERE photo_mng_id = #{photoMngId}
FROM photo_manage
</select>
</mapper>