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.survey.dao.SurveyDAO">
<resultMap id="surveyMap" type="SurveyVO">
<result property="srvyId" column="srvy_id"/>
<result property="srvyType" column="srvy_type"/>
<result property="srvyCnt" column="srvy_cnt"/>
</resultMap>
<insert id="insertSurvey" parameterType="SurveyVO">
INSERT INTO survey( srvy_id,
srvy_type,
srvy_cnt)
VALUES (#{srvyId},
#{srvyType},
#{srvyCnt});
</insert>
<select id="surveyList" parameterType="SurveyVO">
SELECT *
FROM survey
</select>
<update id="updateSurvey" parameterType="SurveyVO">
UPDATE survey
SET srvy_type = #{srvyType},
srvy_cnt = #{srvyCnt}
WHERE
srvy_id = #{srvyId}
</update>
<delete id="deleteSurvey" parameterType="String">
DELETE FROM survey
WHERE srvy_id = #{srvyId}
</delete>
</mapper>