bug修复
This commit is contained in:
@@ -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))));
|
||||
|
||||
Reference in New Issue
Block a user