浏览代码

feat:长三角比赛

Joburgess 5 年之前
父节点
当前提交
2febcabfe3

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/StudentCompetition.java

@@ -168,11 +168,11 @@ public class StudentCompetition {
 		this.prizeLevel = prizeLevel;
 	}
 
-	public Boolean getShow() {
+	public Boolean getIsShow() {
 		return isShow;
 	}
 
-	public void setShow(Boolean show) {
+	public void setIsShow(Boolean show) {
 		isShow = show;
 	}
 

+ 1 - 5
mec-biz/src/main/resources/config/mybatis/StudentCompetitionMapper.xml

@@ -1,9 +1,5 @@
 <?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.ym.mec.biz.dal.dao.StudentCompetitionDao">
 	
 	<resultMap type="com.ym.mec.biz.dal.entity.StudentCompetition" id="StudentCompetition">
@@ -28,7 +24,7 @@
 	
 	<!-- 根据主键查询一条记录 -->
 	<select id="get" resultMap="StudentCompetition" >
-		SELECT * FROM student_competition WHERE id_ = #{id} FOR UPDATE
+		SELECT * FROM student_competition WHERE id_ = #{id}
 	</select>
 	
 	<!-- 全查询 -->