diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 0831f54a..9c1a2032 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -2,7 +2,6 @@ - 9fcb59ee-b3c5-470d-89df-ad01e7cabb15 true true $PROJECT_DIR$/backend/roomroot-admin/src/main/resources/application-druid.yml diff --git a/backend/pom.xml b/backend/pom.xml index 2097f82b..7b05f228 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -9,7 +9,7 @@ 3.9.2 roomroot - 风影随行管理系统 + 教务管理系统 3.9.2 diff --git a/backend/roomroot-jwgl/src/main/java/com/roomroot/jwgl/service/impl/LogServiceImpl.java b/backend/roomroot-jwgl/src/main/java/com/roomroot/jwgl/service/impl/LogServiceImpl.java index aab90648..79907eb1 100644 --- a/backend/roomroot-jwgl/src/main/java/com/roomroot/jwgl/service/impl/LogServiceImpl.java +++ b/backend/roomroot-jwgl/src/main/java/com/roomroot/jwgl/service/impl/LogServiceImpl.java @@ -205,6 +205,7 @@ public class LogServiceImpl implements LogService { @Transactional public void importLog(java.util.List list) { for (SSKCB_RZ item : list) { + item.setJybh(jwglRoleHelper.requireTeacherId()); if(item.getBh()==null)item.setBh(UuidUtil.getUUID()); if (item.getZt() == null) item.setZt("系统创建"); if (item.getCjsj() == null) item.setCjsj(LocalDateTime.now()); @@ -225,6 +226,7 @@ public class LogServiceImpl implements LogService { if (row == null) continue; SSKCB_RZ entity = new SSKCB_RZ(); entity.setBh(UuidUtil.getUUID()); + entity.setJybh(jwglRoleHelper.requireTeacherId()); entity.setRq(parseDate(getCellValue(row.getCell(3)))); entity.setQsjc(toInt(getCellValue(row.getCell(4)))); entity.setJsjc(toInt(getCellValue(row.getCell(5))));