beetlsql3-dev
Mlxa0324 2 years ago
parent 30c3133e9e
commit 4d9c8f95f7

@ -1,5 +1,6 @@
package com.ibeetl.jlw.service;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.StrUtil;
@ -213,8 +214,7 @@ public class TeacherOpenCourseChatLogService extends CoreBaseService<TeacherOpen
public String edit(TeacherOpenCourseChatLogQuery teacherOpenCourseChatLogQuery){
String msg = "";
TeacherOpenCourseChatLog teacherOpenCourseChatLog = teacherOpenCourseChatLogQuery.pojo();
teacherOpenCourseChatLogDao.updateTemplateById(teacherOpenCourseChatLog);
teacherOpenCourseChatLogDao.updateTemplateById(BeanUtil.copyProperties(teacherOpenCourseChatLogQuery, TeacherOpenCourseChatLog.class));
return msg;
}

Loading…
Cancel
Save