新增,修改部分功能,新加字体文件,查询IP归属地文件
parent
d73de94d99
commit
c1de307680
@ -0,0 +1,42 @@
|
|||||||
|
package com.sztzjy.financial_bigdata.entity;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
/**
|
||||||
|
* 知识概要资源表
|
||||||
|
*
|
||||||
|
* @author xcj
|
||||||
|
* sys_knowledge_summary
|
||||||
|
*/
|
||||||
|
public class SysKnowledgeSummary {
|
||||||
|
private String chapterId;
|
||||||
|
|
||||||
|
@ApiModelProperty("文件路径")
|
||||||
|
private String fileUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty("文件名称")
|
||||||
|
private String fileName;
|
||||||
|
|
||||||
|
public String getChapterId() {
|
||||||
|
return chapterId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChapterId(String chapterId) {
|
||||||
|
this.chapterId = chapterId == null ? null : chapterId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFileUrl() {
|
||||||
|
return fileUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFileUrl(String fileUrl) {
|
||||||
|
this.fileUrl = fileUrl == null ? null : fileUrl.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFileName() {
|
||||||
|
return fileName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFileName(String fileName) {
|
||||||
|
this.fileName = fileName == null ? null : fileName.trim();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,409 @@
|
|||||||
|
package com.sztzjy.financial_bigdata.entity;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class SysKnowledgeSummaryExample {
|
||||||
|
protected String orderByClause;
|
||||||
|
|
||||||
|
protected boolean distinct;
|
||||||
|
|
||||||
|
protected List<Criteria> oredCriteria;
|
||||||
|
|
||||||
|
public SysKnowledgeSummaryExample() {
|
||||||
|
oredCriteria = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOrderByClause(String orderByClause) {
|
||||||
|
this.orderByClause = orderByClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrderByClause() {
|
||||||
|
return orderByClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDistinct(boolean distinct) {
|
||||||
|
this.distinct = distinct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isDistinct() {
|
||||||
|
return distinct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Criteria> getOredCriteria() {
|
||||||
|
return oredCriteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void or(Criteria criteria) {
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria or() {
|
||||||
|
Criteria criteria = createCriteriaInternal();
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria createCriteria() {
|
||||||
|
Criteria criteria = createCriteriaInternal();
|
||||||
|
if (oredCriteria.size() == 0) {
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
}
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criteria createCriteriaInternal() {
|
||||||
|
Criteria criteria = new Criteria();
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void clear() {
|
||||||
|
oredCriteria.clear();
|
||||||
|
orderByClause = null;
|
||||||
|
distinct = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected abstract static class GeneratedCriteria {
|
||||||
|
protected List<Criterion> criteria;
|
||||||
|
|
||||||
|
protected GeneratedCriteria() {
|
||||||
|
super();
|
||||||
|
criteria = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isValid() {
|
||||||
|
return criteria.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Criterion> getAllCriteria() {
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Criterion> getCriteria() {
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCriterion(String condition) {
|
||||||
|
if (condition == null) {
|
||||||
|
throw new RuntimeException("Value for condition cannot be null");
|
||||||
|
}
|
||||||
|
criteria.add(new Criterion(condition));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCriterion(String condition, Object value, String property) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||||
|
}
|
||||||
|
criteria.add(new Criterion(condition, value));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||||
|
if (value1 == null || value2 == null) {
|
||||||
|
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||||
|
}
|
||||||
|
criteria.add(new Criterion(condition, value1, value2));
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdIsNull() {
|
||||||
|
addCriterion("chapter_id is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdIsNotNull() {
|
||||||
|
addCriterion("chapter_id is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdEqualTo(String value) {
|
||||||
|
addCriterion("chapter_id =", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdNotEqualTo(String value) {
|
||||||
|
addCriterion("chapter_id <>", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdGreaterThan(String value) {
|
||||||
|
addCriterion("chapter_id >", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("chapter_id >=", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdLessThan(String value) {
|
||||||
|
addCriterion("chapter_id <", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("chapter_id <=", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdLike(String value) {
|
||||||
|
addCriterion("chapter_id like", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdNotLike(String value) {
|
||||||
|
addCriterion("chapter_id not like", value, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdIn(List<String> values) {
|
||||||
|
addCriterion("chapter_id in", values, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdNotIn(List<String> values) {
|
||||||
|
addCriterion("chapter_id not in", values, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdBetween(String value1, String value2) {
|
||||||
|
addCriterion("chapter_id between", value1, value2, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andChapterIdNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("chapter_id not between", value1, value2, "chapterId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlIsNull() {
|
||||||
|
addCriterion("file_url is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlIsNotNull() {
|
||||||
|
addCriterion("file_url is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlEqualTo(String value) {
|
||||||
|
addCriterion("file_url =", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlNotEqualTo(String value) {
|
||||||
|
addCriterion("file_url <>", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlGreaterThan(String value) {
|
||||||
|
addCriterion("file_url >", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("file_url >=", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlLessThan(String value) {
|
||||||
|
addCriterion("file_url <", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("file_url <=", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlLike(String value) {
|
||||||
|
addCriterion("file_url like", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlNotLike(String value) {
|
||||||
|
addCriterion("file_url not like", value, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlIn(List<String> values) {
|
||||||
|
addCriterion("file_url in", values, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlNotIn(List<String> values) {
|
||||||
|
addCriterion("file_url not in", values, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlBetween(String value1, String value2) {
|
||||||
|
addCriterion("file_url between", value1, value2, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileUrlNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("file_url not between", value1, value2, "fileUrl");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameIsNull() {
|
||||||
|
addCriterion("file_name is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameIsNotNull() {
|
||||||
|
addCriterion("file_name is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameEqualTo(String value) {
|
||||||
|
addCriterion("file_name =", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameNotEqualTo(String value) {
|
||||||
|
addCriterion("file_name <>", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameGreaterThan(String value) {
|
||||||
|
addCriterion("file_name >", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("file_name >=", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameLessThan(String value) {
|
||||||
|
addCriterion("file_name <", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("file_name <=", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameLike(String value) {
|
||||||
|
addCriterion("file_name like", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameNotLike(String value) {
|
||||||
|
addCriterion("file_name not like", value, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameIn(List<String> values) {
|
||||||
|
addCriterion("file_name in", values, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameNotIn(List<String> values) {
|
||||||
|
addCriterion("file_name not in", values, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameBetween(String value1, String value2) {
|
||||||
|
addCriterion("file_name between", value1, value2, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFileNameNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("file_name not between", value1, value2, "fileName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Criteria extends GeneratedCriteria {
|
||||||
|
protected Criteria() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Criterion {
|
||||||
|
private String condition;
|
||||||
|
|
||||||
|
private Object value;
|
||||||
|
|
||||||
|
private Object secondValue;
|
||||||
|
|
||||||
|
private boolean noValue;
|
||||||
|
|
||||||
|
private boolean singleValue;
|
||||||
|
|
||||||
|
private boolean betweenValue;
|
||||||
|
|
||||||
|
private boolean listValue;
|
||||||
|
|
||||||
|
private String typeHandler;
|
||||||
|
|
||||||
|
public String getCondition() {
|
||||||
|
return condition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getSecondValue() {
|
||||||
|
return secondValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isNoValue() {
|
||||||
|
return noValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSingleValue() {
|
||||||
|
return singleValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isBetweenValue() {
|
||||||
|
return betweenValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isListValue() {
|
||||||
|
return listValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTypeHandler() {
|
||||||
|
return typeHandler;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.typeHandler = null;
|
||||||
|
this.noValue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, String typeHandler) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.value = value;
|
||||||
|
this.typeHandler = typeHandler;
|
||||||
|
if (value instanceof List<?>) {
|
||||||
|
this.listValue = true;
|
||||||
|
} else {
|
||||||
|
this.singleValue = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value) {
|
||||||
|
this(condition, value, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.value = value;
|
||||||
|
this.secondValue = secondValue;
|
||||||
|
this.typeHandler = typeHandler;
|
||||||
|
this.betweenValue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, Object secondValue) {
|
||||||
|
this(condition, value, secondValue, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
package com.sztzjy.financial_bigdata.mapper;
|
||||||
|
|
||||||
|
import com.sztzjy.financial_bigdata.entity.SysKnowledgeSummary;
|
||||||
|
import com.sztzjy.financial_bigdata.entity.SysKnowledgeSummaryExample;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface SysKnowledgeSummaryMapper {
|
||||||
|
long countByExample(SysKnowledgeSummaryExample example);
|
||||||
|
|
||||||
|
int deleteByExample(SysKnowledgeSummaryExample example);
|
||||||
|
|
||||||
|
int deleteByPrimaryKey(String chapterId);
|
||||||
|
|
||||||
|
int insert(SysKnowledgeSummary record);
|
||||||
|
|
||||||
|
int insertSelective(SysKnowledgeSummary record);
|
||||||
|
|
||||||
|
List<SysKnowledgeSummary> selectByExample(SysKnowledgeSummaryExample example);
|
||||||
|
|
||||||
|
SysKnowledgeSummary selectByPrimaryKey(String chapterId);
|
||||||
|
|
||||||
|
int updateByExampleSelective(@Param("record") SysKnowledgeSummary record, @Param("example") SysKnowledgeSummaryExample example);
|
||||||
|
|
||||||
|
int updateByExample(@Param("record") SysKnowledgeSummary record, @Param("example") SysKnowledgeSummaryExample example);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(SysKnowledgeSummary record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(SysKnowledgeSummary record);
|
||||||
|
}
|
Binary file not shown.
@ -1,396 +1,438 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.sztzjy.financial_bigdata.mapper.StuStudentExamMapper">
|
<mapper namespace="com.sztzjy.financial_bigdata.mapper.StuStudentExamMapper">
|
||||||
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.StuStudentExam">
|
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.StuStudentExam">
|
||||||
<id column="student_exam_id" jdbcType="VARCHAR" property="studentExamId" />
|
<id column="student_exam_id" jdbcType="VARCHAR" property="studentExamId"/>
|
||||||
<result column="exam_manage_id" jdbcType="VARCHAR" property="examManageId" />
|
<result column="exam_manage_id" jdbcType="VARCHAR" property="examManageId"/>
|
||||||
<result column="userid" jdbcType="VARCHAR" property="userid" />
|
<result column="userid" jdbcType="VARCHAR" property="userid"/>
|
||||||
<result column="Objective_score" jdbcType="DECIMAL" property="objectiveScore" />
|
<result column="Objective_score" jdbcType="DECIMAL" property="objectiveScore"/>
|
||||||
<result column="case_score" jdbcType="DECIMAL" property="caseScore" />
|
<result column="case_score" jdbcType="DECIMAL" property="caseScore"/>
|
||||||
<result column="total_score" jdbcType="DECIMAL" property="totalScore" />
|
<result column="total_score" jdbcType="DECIMAL" property="totalScore"/>
|
||||||
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
<result column="class_id" jdbcType="VARCHAR" property="classId"/>
|
||||||
<result column="exam_end_status" jdbcType="VARCHAR" property="examEndStatus" />
|
<result column="exam_end_status" jdbcType="VARCHAR" property="examEndStatus"/>
|
||||||
<result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
|
<result column="start_time" jdbcType="TIMESTAMP" property="startTime"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs"
|
||||||
<result column="single_stu_answer_ids" jdbcType="LONGVARCHAR" property="singleStuAnswerIds" />
|
type="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
||||||
<result column="many_stu_answer_ids" jdbcType="LONGVARCHAR" property="manyStuAnswerIds" />
|
<result column="single_stu_answer_ids" jdbcType="LONGVARCHAR" property="singleStuAnswerIds"/>
|
||||||
<result column="judge_stu_answer_ids" jdbcType="LONGVARCHAR" property="judgeStuAnswerIds" />
|
<result column="many_stu_answer_ids" jdbcType="LONGVARCHAR" property="manyStuAnswerIds"/>
|
||||||
</resultMap>
|
<result column="judge_stu_answer_ids" jdbcType="LONGVARCHAR" property="judgeStuAnswerIds"/>
|
||||||
<sql id="Example_Where_Clause">
|
</resultMap>
|
||||||
<where>
|
<sql id="Example_Where_Clause">
|
||||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
<where>
|
||||||
<if test="criteria.valid">
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<if test="criteria.valid">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<choose>
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<when test="criterion.noValue">
|
<choose>
|
||||||
and ${criterion.condition}
|
<when test="criterion.noValue">
|
||||||
</when>
|
and ${criterion.condition}
|
||||||
<when test="criterion.singleValue">
|
</when>
|
||||||
and ${criterion.condition} #{criterion.value}
|
<when test="criterion.singleValue">
|
||||||
</when>
|
and ${criterion.condition} #{criterion.value}
|
||||||
<when test="criterion.betweenValue">
|
</when>
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
<when test="criterion.betweenValue">
|
||||||
</when>
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
<when test="criterion.listValue">
|
</when>
|
||||||
and ${criterion.condition}
|
<when test="criterion.listValue">
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
and ${criterion.condition}
|
||||||
#{listItem}
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
||||||
</foreach>
|
separator=",">
|
||||||
</when>
|
#{listItem}
|
||||||
</choose>
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</where>
|
||||||
</if>
|
</sql>
|
||||||
</foreach>
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
</where>
|
<where>
|
||||||
</sql>
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
<sql id="Update_By_Example_Where_Clause">
|
<if test="criteria.valid">
|
||||||
<where>
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<if test="criteria.valid">
|
<choose>
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<when test="criterion.noValue">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
and ${criterion.condition}
|
||||||
<choose>
|
</when>
|
||||||
<when test="criterion.noValue">
|
<when test="criterion.singleValue">
|
||||||
and ${criterion.condition}
|
and ${criterion.condition} #{criterion.value}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.singleValue">
|
<when test="criterion.betweenValue">
|
||||||
and ${criterion.condition} #{criterion.value}
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.betweenValue">
|
<when test="criterion.listValue">
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
and ${criterion.condition}
|
||||||
</when>
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
||||||
<when test="criterion.listValue">
|
separator=",">
|
||||||
and ${criterion.condition}
|
#{listItem}
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
</foreach>
|
||||||
#{listItem}
|
</when>
|
||||||
</foreach>
|
</choose>
|
||||||
</when>
|
</foreach>
|
||||||
</choose>
|
</trim>
|
||||||
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</where>
|
||||||
</if>
|
</sql>
|
||||||
</foreach>
|
<sql id="Base_Column_List">
|
||||||
</where>
|
student_exam_id
|
||||||
</sql>
|
, exam_manage_id, userid, Objective_score, case_score, total_score,
|
||||||
<sql id="Base_Column_List">
|
|
||||||
student_exam_id, exam_manage_id, userid, Objective_score, case_score, total_score,
|
|
||||||
class_id, exam_end_status, start_time
|
class_id, exam_end_status, start_time
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
single_stu_answer_ids, many_stu_answer_ids, judge_stu_answer_ids
|
single_stu_answer_ids
|
||||||
</sql>
|
, many_stu_answer_ids, judge_stu_answer_ids
|
||||||
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample" resultMap="ResultMapWithBLOBs">
|
</sql>
|
||||||
select
|
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample"
|
||||||
<if test="distinct">
|
resultMap="ResultMapWithBLOBs">
|
||||||
distinct
|
select
|
||||||
</if>
|
<if test="distinct">
|
||||||
<include refid="Base_Column_List" />
|
distinct
|
||||||
,
|
</if>
|
||||||
<include refid="Blob_Column_List" />
|
<include refid="Base_Column_List"/>
|
||||||
from stu_student_exam
|
,
|
||||||
<if test="_parameter != null">
|
<include refid="Blob_Column_List"/>
|
||||||
<include refid="Example_Where_Clause" />
|
from stu_student_exam
|
||||||
</if>
|
<if test="_parameter != null">
|
||||||
<if test="orderByClause != null">
|
<include refid="Example_Where_Clause"/>
|
||||||
order by ${orderByClause}
|
</if>
|
||||||
</if>
|
<if test="orderByClause != null">
|
||||||
</select>
|
order by ${orderByClause}
|
||||||
<select id="selectByExample" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample" resultMap="BaseResultMap">
|
</if>
|
||||||
select
|
</select>
|
||||||
<if test="distinct">
|
<select id="selectByExample" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample"
|
||||||
distinct
|
resultMap="BaseResultMap">
|
||||||
</if>
|
select
|
||||||
<include refid="Base_Column_List" />
|
<if test="distinct">
|
||||||
from stu_student_exam
|
distinct
|
||||||
<if test="_parameter != null">
|
</if>
|
||||||
<include refid="Example_Where_Clause" />
|
<include refid="Base_Column_List"/>
|
||||||
</if>
|
from stu_student_exam
|
||||||
<if test="orderByClause != null">
|
<if test="_parameter != null">
|
||||||
order by ${orderByClause}
|
<include refid="Example_Where_Clause"/>
|
||||||
</if>
|
</if>
|
||||||
</select>
|
<if test="orderByClause != null">
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
order by ${orderByClause}
|
||||||
select
|
</if>
|
||||||
<include refid="Base_Column_List" />
|
</select>
|
||||||
,
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
||||||
<include refid="Blob_Column_List" />
|
select
|
||||||
from stu_student_exam
|
<include refid="Base_Column_List"/>
|
||||||
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
,
|
||||||
</select>
|
<include refid="Blob_Column_List"/>
|
||||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
from stu_student_exam
|
||||||
delete from stu_student_exam
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
||||||
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
</select>
|
||||||
</delete>
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample">
|
delete
|
||||||
delete from stu_student_exam
|
from stu_student_exam
|
||||||
<if test="_parameter != null">
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
||||||
<include refid="Example_Where_Clause" />
|
</delete>
|
||||||
</if>
|
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample">
|
||||||
</delete>
|
delete from stu_student_exam
|
||||||
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
<if test="_parameter != null">
|
||||||
insert into stu_student_exam (student_exam_id, exam_manage_id, userid,
|
<include refid="Example_Where_Clause"/>
|
||||||
Objective_score, case_score, total_score,
|
</if>
|
||||||
class_id, exam_end_status, start_time,
|
</delete>
|
||||||
single_stu_answer_ids, many_stu_answer_ids,
|
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
||||||
judge_stu_answer_ids)
|
insert into stu_student_exam (student_exam_id, exam_manage_id, userid,
|
||||||
values (#{studentExamId,jdbcType=VARCHAR}, #{examManageId,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR},
|
Objective_score, case_score, total_score,
|
||||||
#{objectiveScore,jdbcType=DECIMAL}, #{caseScore,jdbcType=DECIMAL}, #{totalScore,jdbcType=DECIMAL},
|
class_id, exam_end_status, start_time,
|
||||||
#{classId,jdbcType=VARCHAR}, #{examEndStatus,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP},
|
single_stu_answer_ids, many_stu_answer_ids,
|
||||||
#{singleStuAnswerIds,jdbcType=LONGVARCHAR}, #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
judge_stu_answer_ids)
|
||||||
#{judgeStuAnswerIds,jdbcType=LONGVARCHAR})
|
values (#{studentExamId,jdbcType=VARCHAR}, #{examManageId,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR},
|
||||||
</insert>
|
#{objectiveScore,jdbcType=DECIMAL}, #{caseScore,jdbcType=DECIMAL}, #{totalScore,jdbcType=DECIMAL},
|
||||||
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
#{classId,jdbcType=VARCHAR}, #{examEndStatus,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP},
|
||||||
insert into stu_student_exam
|
#{singleStuAnswerIds,jdbcType=LONGVARCHAR}, #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
#{judgeStuAnswerIds,jdbcType=LONGVARCHAR})
|
||||||
<if test="studentExamId != null">
|
</insert>
|
||||||
student_exam_id,
|
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
||||||
</if>
|
insert into stu_student_exam
|
||||||
<if test="examManageId != null">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
exam_manage_id,
|
<if test="studentExamId != null">
|
||||||
</if>
|
student_exam_id,
|
||||||
<if test="userid != null">
|
</if>
|
||||||
userid,
|
<if test="examManageId != null">
|
||||||
</if>
|
exam_manage_id,
|
||||||
<if test="objectiveScore != null">
|
</if>
|
||||||
Objective_score,
|
<if test="userid != null">
|
||||||
</if>
|
userid,
|
||||||
<if test="caseScore != null">
|
</if>
|
||||||
case_score,
|
<if test="objectiveScore != null">
|
||||||
</if>
|
Objective_score,
|
||||||
<if test="totalScore != null">
|
</if>
|
||||||
total_score,
|
<if test="caseScore != null">
|
||||||
</if>
|
case_score,
|
||||||
<if test="classId != null">
|
</if>
|
||||||
class_id,
|
<if test="totalScore != null">
|
||||||
</if>
|
total_score,
|
||||||
<if test="examEndStatus != null">
|
</if>
|
||||||
exam_end_status,
|
<if test="classId != null">
|
||||||
</if>
|
class_id,
|
||||||
<if test="startTime != null">
|
</if>
|
||||||
start_time,
|
<if test="examEndStatus != null">
|
||||||
</if>
|
exam_end_status,
|
||||||
<if test="singleStuAnswerIds != null">
|
</if>
|
||||||
single_stu_answer_ids,
|
<if test="startTime != null">
|
||||||
</if>
|
start_time,
|
||||||
<if test="manyStuAnswerIds != null">
|
</if>
|
||||||
many_stu_answer_ids,
|
<if test="singleStuAnswerIds != null">
|
||||||
</if>
|
single_stu_answer_ids,
|
||||||
<if test="judgeStuAnswerIds != null">
|
</if>
|
||||||
judge_stu_answer_ids,
|
<if test="manyStuAnswerIds != null">
|
||||||
</if>
|
many_stu_answer_ids,
|
||||||
</trim>
|
</if>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<if test="judgeStuAnswerIds != null">
|
||||||
<if test="studentExamId != null">
|
judge_stu_answer_ids,
|
||||||
#{studentExamId,jdbcType=VARCHAR},
|
</if>
|
||||||
</if>
|
</trim>
|
||||||
<if test="examManageId != null">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
#{examManageId,jdbcType=VARCHAR},
|
<if test="studentExamId != null">
|
||||||
</if>
|
#{studentExamId,jdbcType=VARCHAR},
|
||||||
<if test="userid != null">
|
</if>
|
||||||
#{userid,jdbcType=VARCHAR},
|
<if test="examManageId != null">
|
||||||
</if>
|
#{examManageId,jdbcType=VARCHAR},
|
||||||
<if test="objectiveScore != null">
|
</if>
|
||||||
#{objectiveScore,jdbcType=DECIMAL},
|
<if test="userid != null">
|
||||||
</if>
|
#{userid,jdbcType=VARCHAR},
|
||||||
<if test="caseScore != null">
|
</if>
|
||||||
#{caseScore,jdbcType=DECIMAL},
|
<if test="objectiveScore != null">
|
||||||
</if>
|
#{objectiveScore,jdbcType=DECIMAL},
|
||||||
<if test="totalScore != null">
|
</if>
|
||||||
#{totalScore,jdbcType=DECIMAL},
|
<if test="caseScore != null">
|
||||||
</if>
|
#{caseScore,jdbcType=DECIMAL},
|
||||||
<if test="classId != null">
|
</if>
|
||||||
#{classId,jdbcType=VARCHAR},
|
<if test="totalScore != null">
|
||||||
</if>
|
#{totalScore,jdbcType=DECIMAL},
|
||||||
<if test="examEndStatus != null">
|
</if>
|
||||||
#{examEndStatus,jdbcType=VARCHAR},
|
<if test="classId != null">
|
||||||
</if>
|
#{classId,jdbcType=VARCHAR},
|
||||||
<if test="startTime != null">
|
</if>
|
||||||
#{startTime,jdbcType=TIMESTAMP},
|
<if test="examEndStatus != null">
|
||||||
</if>
|
#{examEndStatus,jdbcType=VARCHAR},
|
||||||
<if test="singleStuAnswerIds != null">
|
</if>
|
||||||
#{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
<if test="startTime != null">
|
||||||
</if>
|
#{startTime,jdbcType=TIMESTAMP},
|
||||||
<if test="manyStuAnswerIds != null">
|
</if>
|
||||||
#{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
<if test="singleStuAnswerIds != null">
|
||||||
</if>
|
#{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
<if test="judgeStuAnswerIds != null">
|
</if>
|
||||||
#{judgeStuAnswerIds,jdbcType=LONGVARCHAR},
|
<if test="manyStuAnswerIds != null">
|
||||||
</if>
|
#{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
</trim>
|
</if>
|
||||||
</insert>
|
<if test="judgeStuAnswerIds != null">
|
||||||
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample" resultType="java.lang.Long">
|
#{judgeStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
select count(*) from stu_student_exam
|
</if>
|
||||||
<if test="_parameter != null">
|
</trim>
|
||||||
<include refid="Example_Where_Clause" />
|
</insert>
|
||||||
</if>
|
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamExample"
|
||||||
</select>
|
resultType="java.lang.Long">
|
||||||
<update id="updateByExampleSelective" parameterType="map">
|
select count(*) from stu_student_exam
|
||||||
update stu_student_exam
|
<if test="_parameter != null">
|
||||||
<set>
|
<include refid="Example_Where_Clause"/>
|
||||||
<if test="record.studentExamId != null">
|
</if>
|
||||||
student_exam_id = #{record.studentExamId,jdbcType=VARCHAR},
|
</select>
|
||||||
</if>
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
<if test="record.examManageId != null">
|
update stu_student_exam
|
||||||
|
<set>
|
||||||
|
<if test="record.studentExamId != null">
|
||||||
|
student_exam_id = #{record.studentExamId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.examManageId != null">
|
||||||
|
exam_manage_id = #{record.examManageId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.userid != null">
|
||||||
|
userid = #{record.userid,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.objectiveScore != null">
|
||||||
|
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
||||||
|
</if>
|
||||||
|
<if test="record.caseScore != null">
|
||||||
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
||||||
|
</if>
|
||||||
|
<if test="record.totalScore != null">
|
||||||
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
||||||
|
</if>
|
||||||
|
<if test="record.classId != null">
|
||||||
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.examEndStatus != null">
|
||||||
|
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.startTime != null">
|
||||||
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.singleStuAnswerIds != null">
|
||||||
|
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.manyStuAnswerIds != null">
|
||||||
|
many_stu_answer_ids = #{record.manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.judgeStuAnswerIds != null">
|
||||||
|
judge_stu_answer_ids = #{record.judgeStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||||
|
update stu_student_exam
|
||||||
|
set student_exam_id = #{record.studentExamId,jdbcType=VARCHAR},
|
||||||
exam_manage_id = #{record.examManageId,jdbcType=VARCHAR},
|
exam_manage_id = #{record.examManageId,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.userid != null">
|
|
||||||
userid = #{record.userid,jdbcType=VARCHAR},
|
userid = #{record.userid,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.objectiveScore != null">
|
|
||||||
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
||||||
</if>
|
|
||||||
<if test="record.caseScore != null">
|
|
||||||
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
||||||
</if>
|
|
||||||
<if test="record.totalScore != null">
|
|
||||||
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
||||||
</if>
|
|
||||||
<if test="record.classId != null">
|
|
||||||
class_id = #{record.classId,jdbcType=VARCHAR},
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.examEndStatus != null">
|
|
||||||
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.startTime != null">
|
|
||||||
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
|
||||||
<if test="record.singleStuAnswerIds != null">
|
|
||||||
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.manyStuAnswerIds != null">
|
|
||||||
many_stu_answer_ids = #{record.manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
many_stu_answer_ids = #{record.manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
judge_stu_answer_ids = #{record.judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
||||||
<if test="record.judgeStuAnswerIds != null">
|
<if test="_parameter != null">
|
||||||
judge_stu_answer_ids = #{record.judgeStuAnswerIds,jdbcType=LONGVARCHAR},
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
</if>
|
</if>
|
||||||
</set>
|
</update>
|
||||||
<if test="_parameter != null">
|
<update id="updateByExample" parameterType="map">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
update stu_student_exam
|
||||||
</if>
|
set student_exam_id = #{record.studentExamId,jdbcType=VARCHAR},
|
||||||
</update>
|
exam_manage_id = #{record.examManageId,jdbcType=VARCHAR},
|
||||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
userid = #{record.userid,jdbcType=VARCHAR},
|
||||||
update stu_student_exam
|
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
||||||
set student_exam_id = #{record.studentExamId,jdbcType=VARCHAR},
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
||||||
exam_manage_id = #{record.examManageId,jdbcType=VARCHAR},
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
||||||
userid = #{record.userid,jdbcType=VARCHAR},
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||||
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
||||||
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
start_time = #{record.startTime,jdbcType=TIMESTAMP}
|
||||||
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
<if test="_parameter != null">
|
||||||
class_id = #{record.classId,jdbcType=VARCHAR},
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
</if>
|
||||||
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
</update>
|
||||||
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
<update id="updateByPrimaryKeySelective"
|
||||||
many_stu_answer_ids = #{record.manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
||||||
judge_stu_answer_ids = #{record.judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
update stu_student_exam
|
||||||
<if test="_parameter != null">
|
<set>
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<if test="examManageId != null">
|
||||||
</if>
|
exam_manage_id = #{examManageId,jdbcType=VARCHAR},
|
||||||
</update>
|
</if>
|
||||||
<update id="updateByExample" parameterType="map">
|
<if test="userid != null">
|
||||||
update stu_student_exam
|
userid = #{userid,jdbcType=VARCHAR},
|
||||||
set student_exam_id = #{record.studentExamId,jdbcType=VARCHAR},
|
</if>
|
||||||
exam_manage_id = #{record.examManageId,jdbcType=VARCHAR},
|
<if test="objectiveScore != null">
|
||||||
userid = #{record.userid,jdbcType=VARCHAR},
|
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
||||||
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
</if>
|
||||||
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
<if test="caseScore != null">
|
||||||
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
||||||
class_id = #{record.classId,jdbcType=VARCHAR},
|
</if>
|
||||||
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
<if test="totalScore != null">
|
||||||
start_time = #{record.startTime,jdbcType=TIMESTAMP}
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
||||||
<if test="_parameter != null">
|
</if>
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<if test="classId != null">
|
||||||
</if>
|
class_id = #{classId,jdbcType=VARCHAR},
|
||||||
</update>
|
</if>
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
<if test="examEndStatus != null">
|
||||||
update stu_student_exam
|
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
||||||
<set>
|
</if>
|
||||||
<if test="examManageId != null">
|
<if test="startTime != null">
|
||||||
exam_manage_id = #{examManageId,jdbcType=VARCHAR},
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
<if test="userid != null">
|
<if test="singleStuAnswerIds != null">
|
||||||
userid = #{userid,jdbcType=VARCHAR},
|
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="objectiveScore != null">
|
<if test="manyStuAnswerIds != null">
|
||||||
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
many_stu_answer_ids = #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="caseScore != null">
|
<if test="judgeStuAnswerIds != null">
|
||||||
case_score = #{caseScore,jdbcType=DECIMAL},
|
judge_stu_answer_ids = #{judgeStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="totalScore != null">
|
</set>
|
||||||
total_score = #{totalScore,jdbcType=DECIMAL},
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
||||||
</if>
|
</update>
|
||||||
<if test="classId != null">
|
<update id="updateByPrimaryKeyWithBLOBs"
|
||||||
class_id = #{classId,jdbcType=VARCHAR},
|
parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
||||||
</if>
|
update stu_student_exam
|
||||||
<if test="examEndStatus != null">
|
set exam_manage_id = #{examManageId,jdbcType=VARCHAR},
|
||||||
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
userid = #{userid,jdbcType=VARCHAR},
|
||||||
</if>
|
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
||||||
<if test="startTime != null">
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
||||||
start_time = #{startTime,jdbcType=TIMESTAMP},
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
||||||
</if>
|
class_id = #{classId,jdbcType=VARCHAR},
|
||||||
<if test="singleStuAnswerIds != null">
|
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
||||||
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
<if test="manyStuAnswerIds != null">
|
many_stu_answer_ids = #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
||||||
many_stu_answer_ids = #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
judge_stu_answer_ids = #{judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
||||||
</if>
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
||||||
<if test="judgeStuAnswerIds != null">
|
</update>
|
||||||
judge_stu_answer_ids = #{judgeStuAnswerIds,jdbcType=LONGVARCHAR},
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExam">
|
||||||
</if>
|
update stu_student_exam
|
||||||
</set>
|
set exam_manage_id = #{examManageId,jdbcType=VARCHAR},
|
||||||
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
userid = #{userid,jdbcType=VARCHAR},
|
||||||
</update>
|
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
||||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
||||||
update stu_student_exam
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
||||||
set exam_manage_id = #{examManageId,jdbcType=VARCHAR},
|
class_id = #{classId,jdbcType=VARCHAR},
|
||||||
userid = #{userid,jdbcType=VARCHAR},
|
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
||||||
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
start_time = #{startTime,jdbcType=TIMESTAMP}
|
||||||
case_score = #{caseScore,jdbcType=DECIMAL},
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
||||||
total_score = #{totalScore,jdbcType=DECIMAL},
|
</update>
|
||||||
class_id = #{classId,jdbcType=VARCHAR},
|
|
||||||
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
|
||||||
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
||||||
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
||||||
many_stu_answer_ids = #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
||||||
judge_stu_answer_ids = #{judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
|
||||||
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
|
||||||
</update>
|
|
||||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExam">
|
|
||||||
update stu_student_exam
|
|
||||||
set exam_manage_id = #{examManageId,jdbcType=VARCHAR},
|
|
||||||
userid = #{userid,jdbcType=VARCHAR},
|
|
||||||
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
|
||||||
case_score = #{caseScore,jdbcType=DECIMAL},
|
|
||||||
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
||||||
class_id = #{classId,jdbcType=VARCHAR},
|
|
||||||
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
|
||||||
start_time = #{startTime,jdbcType=TIMESTAMP}
|
|
||||||
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
|
||||||
</update>
|
|
||||||
|
|
||||||
|
<select id="selectLastExamRank" parameterType="java.lang.String" resultType="java.lang.Integer">
|
||||||
|
SELECT COUNT(*) AS exam_rank
|
||||||
|
FROM stu_student_exam se
|
||||||
|
JOIN tea_exam_manage te ON se.exam_manage_id = te.exam_manage_id
|
||||||
|
WHERE se.exam_manage_id = (
|
||||||
|
SELECT exam_manage_id
|
||||||
|
FROM stu_student_exam
|
||||||
|
WHERE userid = #{userId}
|
||||||
|
AND te.end_time <= NOW()
|
||||||
|
ORDER BY te.end_time DESC
|
||||||
|
LIMIT 1
|
||||||
|
)
|
||||||
|
AND se.total_score IS NOT NULL
|
||||||
|
AND se.total_score >= (
|
||||||
|
SELECT total_score
|
||||||
|
FROM stu_student_exam
|
||||||
|
WHERE userid = #{userId} AND te.end_time <= NOW()
|
||||||
|
ORDER BY te.end_time DESC
|
||||||
|
LIMIT 1
|
||||||
|
);
|
||||||
|
</select>
|
||||||
|
|
||||||
<select id="selectLastExamRank" parameterType="java.lang.String" resultType="java.lang.Integer">
|
|
||||||
SELECT COUNT(*) AS exam_rank
|
<resultMap id="UserMap" type="com.sztzjy.financial_bigdata.entity.StuUser">
|
||||||
FROM stu_student_exam se
|
<result column="student_id" jdbcType="VARCHAR" property="studentId"/>
|
||||||
JOIN tea_exam_manage te ON se.exam_manage_id = te.exam_manage_id
|
<result column="class_name" jdbcType="VARCHAR" property="classId"/>
|
||||||
WHERE se.exam_manage_id = (
|
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||||
SELECT exam_manage_id
|
<result column="exam_end_status" jdbcType="VARCHAR" property="phone"/>
|
||||||
FROM stu_student_exam
|
<result column="case_end_status" jdbcType="VARCHAR" property="email"/>
|
||||||
WHERE userid = #{userId} AND te.end_time <= NOW()
|
</resultMap>
|
||||||
ORDER BY te.end_time DESC
|
|
||||||
LIMIT 1
|
<select id="getUsersByExamID" parameterType="java.lang.String" resultMap="UserMap">
|
||||||
)
|
SELECT su.student_id, sc.class_name, su.`name`,sse.exam_end_status,sse.case_end_status
|
||||||
AND se.total_score IS NOT NULL
|
FROM `stu_student_exam` sse
|
||||||
AND se.total_score >= (
|
JOIN stu_userinfo su on sse.userid = su.userid
|
||||||
SELECT total_score
|
LEFT JOIN stu_class sc ON su.class_id = sc.class_id
|
||||||
FROM stu_student_exam
|
<where>
|
||||||
WHERE userid = #{userId} AND te.end_time <= NOW()
|
<if test="examId != null and examId != ''">
|
||||||
ORDER BY te.end_time DESC
|
exam_manage_id = #{examId}
|
||||||
LIMIT 1
|
</if>
|
||||||
);
|
<if test="keyWord != null and keyWord != ''">
|
||||||
</select>
|
AND (su.name LIKE CONCAT('%', #{keyWord}, '%') OR su.student_id LIKE CONCAT('%', #{keyWord}, '%'))
|
||||||
|
</if>
|
||||||
|
<if test="status == 'true'">
|
||||||
|
AND sse.case_end_status = 'true' and sse.exam_end_status = 'true'
|
||||||
|
</if>
|
||||||
|
<if test="status == 'false'">
|
||||||
|
AND (sse.case_end_status != 'true' OR sse.exam_end_status != 'true')
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
@ -0,0 +1,181 @@
|
|||||||
|
<?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.sztzjy.financial_bigdata.mapper.SysKnowledgeSummaryMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummary">
|
||||||
|
<id column="chapter_id" jdbcType="VARCHAR" property="chapterId" />
|
||||||
|
<result column="file_url" jdbcType="VARCHAR" property="fileUrl" />
|
||||||
|
<result column="file_name" jdbcType="VARCHAR" property="fileName" />
|
||||||
|
</resultMap>
|
||||||
|
<sql id="Example_Where_Clause">
|
||||||
|
<where>
|
||||||
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
|
<where>
|
||||||
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
chapter_id, file_url, file_name
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExample" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummaryExample" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from sys_knowledge_summary
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause != null">
|
||||||
|
order by ${orderByClause}
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from sys_knowledge_summary
|
||||||
|
where chapter_id = #{chapterId,jdbcType=VARCHAR}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
|
delete from sys_knowledge_summary
|
||||||
|
where chapter_id = #{chapterId,jdbcType=VARCHAR}
|
||||||
|
</delete>
|
||||||
|
<delete id="deleteByExample" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummaryExample">
|
||||||
|
delete from sys_knowledge_summary
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummary">
|
||||||
|
insert into sys_knowledge_summary (chapter_id, file_url, file_name
|
||||||
|
)
|
||||||
|
values (#{chapterId,jdbcType=VARCHAR}, #{fileUrl,jdbcType=VARCHAR}, #{fileName,jdbcType=VARCHAR}
|
||||||
|
)
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummary">
|
||||||
|
insert into sys_knowledge_summary
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="chapterId != null">
|
||||||
|
chapter_id,
|
||||||
|
</if>
|
||||||
|
<if test="fileUrl != null">
|
||||||
|
file_url,
|
||||||
|
</if>
|
||||||
|
<if test="fileName != null">
|
||||||
|
file_name,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="chapterId != null">
|
||||||
|
#{chapterId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="fileUrl != null">
|
||||||
|
#{fileUrl,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="fileName != null">
|
||||||
|
#{fileName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<select id="countByExample" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummaryExample" resultType="java.lang.Long">
|
||||||
|
select count(*) from sys_knowledge_summary
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
|
update sys_knowledge_summary
|
||||||
|
<set>
|
||||||
|
<if test="record.chapterId != null">
|
||||||
|
chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.fileUrl != null">
|
||||||
|
file_url = #{record.fileUrl,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.fileName != null">
|
||||||
|
file_name = #{record.fileName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExample" parameterType="map">
|
||||||
|
update sys_knowledge_summary
|
||||||
|
set chapter_id = #{record.chapterId,jdbcType=VARCHAR},
|
||||||
|
file_url = #{record.fileUrl,jdbcType=VARCHAR},
|
||||||
|
file_name = #{record.fileName,jdbcType=VARCHAR}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummary">
|
||||||
|
update sys_knowledge_summary
|
||||||
|
<set>
|
||||||
|
<if test="fileUrl != null">
|
||||||
|
file_url = #{fileUrl,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="fileName != null">
|
||||||
|
file_name = #{fileName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where chapter_id = #{chapterId,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.financial_bigdata.entity.SysKnowledgeSummary">
|
||||||
|
update sys_knowledge_summary
|
||||||
|
set file_url = #{fileUrl,jdbcType=VARCHAR},
|
||||||
|
file_name = #{fileName,jdbcType=VARCHAR}
|
||||||
|
where chapter_id = #{chapterId,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
Binary file not shown.
Loading…
Reference in New Issue