提交 6ef82dda 作者: han

修改课程分类

上级 816e8a80
流水线 #7546 已通过 于阶段
in 2 分 41 秒
......@@ -34,7 +34,6 @@ public class CurriculumClassifyVO implements Serializable {
private String name;
@ApiModelProperty(value = "1级课程分类")
@NotNull(message = "1级课程分类不能为空" ,groups = {Update.class})
private Integer oneCourseId;
@ApiModelProperty(value = "2级课程分类")
......
......@@ -127,10 +127,7 @@
update_time = NOW()
</set>
<where>
one_course_id = #{oneCourseId}
<if test="twoCourseId != null">
and two_course_id = #{twoCourseId}
</if>
id = #{id}
</where>
</update>
<update id="removeCurriculumClassify">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论