【新增】PS考点设置后端

This commit is contained in:
YOHO\20373
2025-07-01 17:10:15 +08:00
parent 963451924d
commit 92011c7c12
18 changed files with 1367 additions and 7 deletions

View File

@@ -0,0 +1,29 @@
<?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="pc.exam.pp.module.judgement.dal.mysql.ps.PsMapper">
<resultMap type="ExamPsKeyword" id="ExamPsKeywordResult">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="quId" column="qu_id" jdbcType="VARCHAR"/>
<result property="parentId" column="parent_id" jdbcType="VARCHAR"/>
<result property="keyName" column="key_name" jdbcType="VARCHAR"/>
<result property="keyValue" column="key_value" jdbcType="VARCHAR"/>
<result property="rate" column="rate" jdbcType="VARCHAR"/>
<result property="type" column="type" jdbcType="VARCHAR"/>
</resultMap>
<delete id="deleteByQuId">
delete from exam_ps_keyword where qu_id =#{quId}
</delete>
<select id="selectPsPointByType" resultMap="ExamPsKeywordResult">
select id,qu_id,parent_id,key_name,key_value,rate,type from exam_ps_keyword where qu_id=#{quId}
and type=#{type}
</select>
</mapper>