bug修复

This commit is contained in:
liumengyu
2026-09-10 17:31:19 +08:00
parent 407f89a603
commit 255a0e56a5
3 changed files with 3 additions and 2 deletions
-1
View File
@@ -2,7 +2,6 @@
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="DM" uuid="a3a7e92a-b8da-4229-8b83-5db11f9db9a9">
<driver-ref>9fcb59ee-b3c5-470d-89df-ad01e7cabb15</driver-ref>
<imported>true</imported>
<configured-by-url>true</configured-by-url>
<remarks>$PROJECT_DIR$/backend/roomroot-admin/src/main/resources/application-druid.yml</remarks>
+1 -1
View File
@@ -9,7 +9,7 @@
<version>3.9.2</version>
<name>roomroot</name>
<description>风影随行管理系统</description>
<description>教务管理系统</description>
<properties>
<roomroot.version>3.9.2</roomroot.version>
@@ -205,6 +205,7 @@ public class LogServiceImpl implements LogService {
@Transactional
public void importLog(java.util.List<SSKCB_RZ> 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))));