Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
ruoyi
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
范晓龙
ruoyi
Commits
c6508d67
提交
c6508d67
authored
10月 25, 2022
作者:
dingtalk_nnkplh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改学费字段为字符
上级
da2c8f7c
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
TbSchoolMajor.java
.../src/main/java/com/ruoyi/system/domain/TbSchoolMajor.java
+3
-3
TbSchoolMajorMapper.xml
.../src/main/resources/mapper/system/TbSchoolMajorMapper.xml
+3
-3
没有找到文件。
ruoyi-system/src/main/java/com/ruoyi/system/domain/TbSchoolMajor.java
浏览文件 @
c6508d67
...
...
@@ -68,7 +68,7 @@ public class TbSchoolMajor extends BaseEntity
/** 学费 */
@Excel
(
name
=
"学费"
)
private
Lo
ng
tuition
;
private
Stri
ng
tuition
;
/** 入学时间 */
@Excel
(
name
=
"入学时间"
)
...
...
@@ -204,12 +204,12 @@ public class TbSchoolMajor extends BaseEntity
return
learnTime
;
}
public
void
setTuition
(
Long
tuition
)
public
void
setTuition
(
String
tuition
)
{
this
.
tuition
=
tuition
;
}
public
Long
getTuition
()
public
String
getTuition
()
{
return
tuition
;
}
...
...
ruoyi-system/src/main/resources/mapper/system/TbSchoolMajorMapper.xml
浏览文件 @
c6508d67
...
...
@@ -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=
"learnTime != null and learnTime != ''"
>
and t1.learn_time = #{learnTime}
</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="schoolCnName != null and schoolCnName != ''"> and t2.school_cn_name like concat('%', #{schoolCnName}, '%')</if>-->
</where>
...
...
@@ -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=
"learnTime != null and learnTime != ''"
>
and t1.learn_time = #{learnTime}
</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=
"schoolCnName != null and schoolCnName != ''"
>
and t2.school_cn_name like concat('%', #{schoolCnName}, '%')
</if>
and t1.check_status !=2
...
...
@@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"degreeType != null"
>
degree_type = #{degreeType},
</if>
<if
test=
"learnTime != null"
>
learn_time = #{learnTime},
</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=
"needWorks != null"
>
need_works = #{needWorks},
</if>
<if
test=
"needEducation != null"
>
need_education = #{needEducation},
</if>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论