소스 검색

bug修改

chenweida 8 년 전
부모
커밋
daa7b16c35
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/statistics/StatisticsService.java

+ 7 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/statistics/StatisticsService.java

@ -4429,7 +4429,8 @@ public class StatisticsService extends BaseService {
        if (total == null) {
            return null;
        }
        result.put("resultList", getCoutList(rely, total, onRely));
        result.put("resultList", statisticsAllService.translateTeamLeaderName(getCoutList(rely, total, onRely)));
        return result;
    }
@ -4640,7 +4641,11 @@ public class StatisticsService extends BaseService {
        String sql = "select * from wlyy_people_num where code=? and year=? ";
        List<PopulationBase> peopleNum = jdbcTemplate.query(sql, new BeanPropertyRowMapper(PopulationBase.class), code, year);
        return peopleNum.get(0);
        if (peopleNum != null && peopleNum.size() > 0) {
            return peopleNum.get(0);
        } else {
            return null;
        }
    }
}