|
|
@@ -3,7 +3,6 @@ package com.xjrsoft.module.schedule.util;
|
|
|
import cn.hutool.core.util.IdUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import cn.hutool.db.Entity;
|
|
|
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.google.gson.JsonArray;
|
|
|
import com.google.gson.JsonElement;
|
|
|
import com.google.gson.JsonObject;
|
|
|
@@ -16,8 +15,6 @@ import com.xjrsoft.module.base.entity.BaseGrade;
|
|
|
import com.xjrsoft.module.base.entity.BaseLabel;
|
|
|
import com.xjrsoft.module.base.entity.BaseSemester;
|
|
|
import com.xjrsoft.module.organization.entity.Department;
|
|
|
-import com.xjrsoft.module.schedule.entity.WfCourseAdjust;
|
|
|
-import com.xjrsoft.module.schedule.service.IWfCourseAdjustService;
|
|
|
import com.xjrsoft.module.schedule.vo.StudentJianyuekbVo;
|
|
|
import com.xjrsoft.module.teacher.entity.XjrUser;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@@ -622,7 +619,8 @@ public class DataUtil {
|
|
|
}
|
|
|
|
|
|
public void insertCourseTableEntiy(JsonArray data, Map<String, String> classroomMap, Map<String, String> coureseMap,
|
|
|
- Map<String, String> semesterMap, Map<String, String> teacherMap, Map<String, String> classMap) {
|
|
|
+ Map<String, String> semesterMap, Map<String, String> teacherMap, Map<String, String> classMap
|
|
|
+ , Long courseReceiveMsgId) {
|
|
|
|
|
|
String sql = "SELECT CONCAT(schedule_date,class_id,time_number) AS only_key,id FROM course_table";
|
|
|
List<Map<String, Object>> oldDataList = SqlRunnerAdapter.db().selectList(sql);
|
|
|
@@ -715,6 +713,7 @@ public class DataUtil {
|
|
|
entity.set("schedule_date", scheduleDate);
|
|
|
entity.set("jianyue_id", asJsonObject.get("id").getAsString());
|
|
|
entity.set("key_info", keyInfo);
|
|
|
+ entity.set("course_receive_msg_id", courseReceiveMsgId);
|
|
|
entityList.add(entity);
|
|
|
}
|
|
|
if(!entityList.isEmpty()){
|