【新增】PS考点设置后端
This commit is contained in:
@@ -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>
|
Reference in New Issue
Block a user