提交 c6508d67 作者: dingtalk_nnkplh

修改学费字段为字符

上级 da2c8f7c
...@@ -68,7 +68,7 @@ public class TbSchoolMajor extends BaseEntity ...@@ -68,7 +68,7 @@ public class TbSchoolMajor extends BaseEntity
/** 学费 */ /** 学费 */
@Excel(name = "学费") @Excel(name = "学费")
private Long tuition; private String tuition;
/** 入学时间 */ /** 入学时间 */
@Excel(name = "入学时间") @Excel(name = "入学时间")
...@@ -204,12 +204,12 @@ public class TbSchoolMajor extends BaseEntity ...@@ -204,12 +204,12 @@ public class TbSchoolMajor extends BaseEntity
return learnTime; return learnTime;
} }
public void setTuition(Long tuition) public void setTuition(String tuition)
{ {
this.tuition = tuition; this.tuition = tuition;
} }
public Long getTuition() public String getTuition()
{ {
return tuition; return tuition;
} }
......
...@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<!-- <if test="degreeType != null and degreeType != ''"> and t1.degree_type = #{degreeType}</if>--> <!-- <if test="degreeType != null and degreeType != ''"> and t1.degree_type = #{degreeType}</if>-->
<if test="learnTime != null and learnTime != ''"> and t1.learn_time = #{learnTime}</if> <if test="learnTime != null and learnTime != ''"> and t1.learn_time = #{learnTime}</if>
<if test="ielts != null and ielts != ''"> and t1.ielts = #{ielts}</if> <if test="ielts != null and ielts != ''"> and t1.ielts = #{ielts}</if>
<if test="tuition != null "> and t1.tuition = #{tuition}</if> <if test="tuition != null and tuition != ''"> and t1.tuition = #{tuition}</if>
<if test="enrollmentTime != null and enrollmentTime != ''"> and LOCATE(#{enrollmentTime},enrollment_time)</if> <if test="enrollmentTime != null and enrollmentTime != ''"> and LOCATE(#{enrollmentTime},enrollment_time)</if>
<!-- <if test="schoolCnName != null and schoolCnName != ''"> and t2.school_cn_name like concat('%', #{schoolCnName}, '%')</if>--> <!-- <if test="schoolCnName != null and schoolCnName != ''"> and t2.school_cn_name like concat('%', #{schoolCnName}, '%')</if>-->
</where> </where>
...@@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="degreeType != null and degreeType != ''"> and t1.degree_type = #{degreeType}</if> <if test="degreeType != null and degreeType != ''"> and t1.degree_type = #{degreeType}</if>
<if test="learnTime != null and learnTime != ''"> and t1.learn_time = #{learnTime}</if> <if test="learnTime != null and learnTime != ''"> and t1.learn_time = #{learnTime}</if>
<if test="ielts != null and ielts != ''"> and t1.ielts = #{ielts}</if> <if test="ielts != null and ielts != ''"> and t1.ielts = #{ielts}</if>
<if test="tuition != null "> and t1.tuition = #{tuition}</if> <if test="tuition != null and tuition != ''"> and t1.tuition = #{tuition}</if>
<if test="enrollmentTime != null and enrollmentTime != ''"> and t1.enrollment_time = #{enrollmentTime}</if> <if test="enrollmentTime != null and enrollmentTime != ''"> and t1.enrollment_time = #{enrollmentTime}</if>
<if test="schoolCnName != null and schoolCnName != ''"> and t2.school_cn_name like concat('%', #{schoolCnName}, '%')</if> <if test="schoolCnName != null and schoolCnName != ''"> and t2.school_cn_name like concat('%', #{schoolCnName}, '%')</if>
and t1.check_status !=2 and t1.check_status !=2
...@@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="degreeType != null">degree_type = #{degreeType},</if> <if test="degreeType != null">degree_type = #{degreeType},</if>
<if test="learnTime != null">learn_time = #{learnTime},</if> <if test="learnTime != null">learn_time = #{learnTime},</if>
<if test="ielts != null">ielts = #{ielts},</if> <if test="ielts != null">ielts = #{ielts},</if>
<if test="tuition != null">tuition = #{tuition},</if> <if test="tuition != null and tuition != ''">tuition = #{tuition},</if>
<if test="enrollmentTime != null and enrollmentTime != ''">enrollment_time = #{enrollmentTime},</if> <if test="enrollmentTime != null and enrollmentTime != ''">enrollment_time = #{enrollmentTime},</if>
<if test="needWorks != null">need_works = #{needWorks},</if> <if test="needWorks != null">need_works = #{needWorks},</if>
<if test="needEducation != null">need_education = #{needEducation},</if> <if test="needEducation != null">need_education = #{needEducation},</if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论