Compare commits

..

No commits in common. "82f944e03426e7d18356cfad48bc12668ea0e4a1" and "088c2a8b5b1951462c8a9d7c307d5b629a097fac" have entirely different histories.

1 changed files with 2 additions and 10 deletions

View File

@ -8,8 +8,6 @@ import io.renren.modules.date_snapshot.entity.SysDateSnapshotEntity;
import io.renren.modules.date_snapshot.service.SysDateSnapshotService;
import io.renren.modules.processForm.service.TAbilityApplicationService;
import io.renren.modules.resource.service.ResourceService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -23,8 +21,6 @@ import java.util.*;
*/
@Service
public class SysDateSnapshotServiceImpl extends CrudServiceImpl<SysDateSnapshotDao, SysDateSnapshotEntity, SysDateSnapshotDTO> implements SysDateSnapshotService {
private static final Logger logger = LoggerFactory.getLogger(SysDateSnapshotServiceImpl.class);
@Autowired
private TAbilityApplicationService tAbilityApplicationService;
@Autowired
@ -52,12 +48,8 @@ public class SysDateSnapshotServiceImpl extends CrudServiceImpl<SysDateSnapshotD
put("count", countApply);
put("type", "资源申请量");
}});
try {
if (resultMap.containsKey("total")) {
addAll((Collection<? extends Map<String, Object>>) resultMap.get("total"));
}
} catch (Exception exception) {
logger.error("获取资源数量失败", exception);
if (resultMap.containsKey("total")) {
addAll((Collection<? extends Map<String, Object>>) resultMap.get("total"));
}
}};