|
@@ -156,12 +156,13 @@ public class StatisticReportServiceImpl implements StatisticReportService {
|
|
|
|
|
|
private void genReport(StatisticReport report, String type) {
|
|
private void genReport(StatisticReport report, String type) {
|
|
Date now = new Date();
|
|
Date now = new Date();
|
|
|
|
+ String username = SecurityUtils.getUsername();
|
|
if (type.equals(INSERT)) {
|
|
if (type.equals(INSERT)) {
|
|
- report.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
|
|
+ report.setCreateBy(username);
|
|
report.setCreateTime(now);
|
|
report.setCreateTime(now);
|
|
}
|
|
}
|
|
|
|
|
|
- report.setUpdateBy(SecurityUtils.getUsername());
|
|
|
|
|
|
+ report.setUpdateBy(username);
|
|
report.setUpdateTime(now);
|
|
report.setUpdateTime(now);
|
|
}
|
|
}
|
|
|
|
|