[修改] 报告编辑流程

This commit is contained in:
bupengxiang
2023-05-15 17:51:40 +08:00
parent d8af4b7a03
commit 664efab332
12 changed files with 48 additions and 5 deletions
@@ -146,7 +146,10 @@ public class ITtReportManageActServiceImpl extends ServiceImpl<TtReportManageAct
ReportEntity reportEntity1 = new ReportEntity();
BeanUtil.copyProperties(ttReportManageAct,reportEntity1);
reportEntity1.setId(ttReportManageAct.getDataId());
reportDao.updateById(reportEntity);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
reportEntity1.setCreateDate(sdf.format(ttReportManageAct.getCreateDate()));
reportEntity1.setUpdateDate(sdf.format(ttReportManageAct.getUpdateDate()));
reportDao.updateById(reportEntity1);
reportLog(reportEntity.getName(),"修改");
}
try {