超过7天自动审批开发
This commit is contained in:
+6
-1
@@ -179,7 +179,12 @@ public class ITtReportManageActServiceImpl extends ServiceImpl<TtReportManageAct
|
||||
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
LogEntity entity = new LogEntity();
|
||||
|
||||
entity.setAccount(UserUtils.getUser().getAccount());
|
||||
if (UserUtils.getUser() == null){
|
||||
entity.setAccount("系统自动操作");
|
||||
} else {
|
||||
entity.setAccount(UserUtils.getUser().getAccount());
|
||||
}
|
||||
// entity.setAccount(UserUtils.getUser().getAccount());
|
||||
entity.setClassName("com.adc.da.report.service.impl.ITtReportManageActServiceImpl");
|
||||
entity.setOperateTime(format.format(new Date()));
|
||||
entity.setMethod("saveOrUpdataReport");
|
||||
|
||||
Reference in New Issue
Block a user