Commit d967afe9 authored by liuyuanjun's avatar liuyuanjun

修改提示信息

parent 1bd83911
......@@ -595,7 +595,7 @@ public class BChapterServiceImpl implements BChapterService {
if (ReleaseStateEnum.RELEASED.getCode().equals(bLesson.getReleaseState())
|| ReleaseStateEnum.CLOSED.getCode().equals(bLesson.getReleaseState())) {
// 保存日志
bLessonLogRepository.insertSelective(BLessonLog.generate("修改课程", model.getLessonId()));
bLessonLogRepository.insertSelective(BLessonLog.generate("修改课程内容", model.getLessonId()));
//开启共享状态 编辑课程时 同步
if (LessonSycnEnum.OPEN.getCode().equals(flag)) {
// 同步 资源共享 更新 缓存章节 文件 两个表(未发布的课程 之前不会被同步到缓存表中)
......
......@@ -451,7 +451,7 @@ public class BLessonServiceImpl implements BLessonService {
if(LessonSycnEnum.OPEN.getCode().equals(flag) && LessonTypeEnum.LESSON.getCode().equals(model.getLessonType())){
// 保存日志(只有不是平台课程才可以执行下面的操作)
if (!"###".equals(model.getCorpId())) {
bLessonLogRepository.insertSelective(BLessonLog.generate("编辑课程",model.getBusinessId()));
bLessonLogRepository.insertSelective(BLessonLog.generate("编辑课程基本信息",model.getBusinessId()));
// 同步 资源共享 更新 缓存课程 表
BPLesson bpModel = new BPLesson();
BeanUtil.copyProperties(model,bpModel);
......
......@@ -2,6 +2,7 @@ package org.rcisoft.business.bmessage.entity;
import lombok.*;
import org.hibernate.validator.constraints.Length;
import org.rcisoft.core.entity.IdEntity;
import javax.persistence.*;
import java.math.BigDecimal;
......@@ -24,6 +25,7 @@ public class BMessage extends IdEntity<BMessage> {
private String name;
@Length(min = 0,max = 5,message = "长度最小为1,最大为50")
private String timeValue;
private String valueType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment