|
@@ -2,6 +2,7 @@ package com.ruoyi.system.service.impl;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
|
+import com.ruoyi.common.utils.SecurityUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import com.ruoyi.system.mapper.TblTaskLogMapper;
|
|
import com.ruoyi.system.mapper.TblTaskLogMapper;
|
|
@@ -54,6 +55,7 @@ public class TblTaskLogServiceImpl implements ITblTaskLogService
|
|
public int insertTblTaskLog(TblTaskLog tblTaskLog)
|
|
public int insertTblTaskLog(TblTaskLog tblTaskLog)
|
|
{
|
|
{
|
|
tblTaskLog.setCreateTime(DateUtils.getNowDate());
|
|
tblTaskLog.setCreateTime(DateUtils.getNowDate());
|
|
|
|
+ tblTaskLog.setCreateBy(SecurityUtils.getUsername());
|
|
return tblTaskLogMapper.insertTblTaskLog(tblTaskLog);
|
|
return tblTaskLogMapper.insertTblTaskLog(tblTaskLog);
|
|
}
|
|
}
|
|
|
|
|