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