linwei
2024-01-18 ddf6452d487465e6fdfabc154bc46e0d2d0c6823
src/main/java/org/springblade/modules/task/service/impl/TaskReportForRepairsServiceImpl.java
@@ -89,8 +89,13 @@
    * @return
    */
   @Override
   public TaskReportStatistics getStatisticsCount() {
      return baseMapper.getStatisticsCount(AuthUtil.getUserId());
   public TaskReportStatistics getStatisticsCount(String houseCode) {
      String neiCode = "";
      Dept dept = deptService.getById(AuthUtil.getDeptId());
      if (null != dept) {
         neiCode = dept.getRegionCode();
      }
      return baseMapper.getStatisticsCount(AuthUtil.getUserId(), houseCode, neiCode);
   }
   /**