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
@@ -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))));