From 255a0e56a5e8a97dbc803b94f815a4aef548a83b Mon Sep 17 00:00:00 2001 From: liumengyu <2459468901@qq.com> Date: Thu, 10 Sep 2026 17:31:19 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/dataSources.xml | 1 - backend/pom.xml | 2 +- .../java/com/roomroot/jwgl/service/impl/LogServiceImpl.java | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 0831f54ac..9c1a2032a 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 2097f82b0..7b05f2287 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 aab906487..79907eb15 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))));