|
|
|
@ -11,11 +11,13 @@ import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
|
import com.epmet.commons.tools.exception.ExceptionUtils; |
|
|
|
import com.epmet.commons.tools.feign.ResultDataResolver; |
|
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.*; |
|
|
|
import com.epmet.commons.tools.utils.poi.excel.handler.FreezeAndFilter; |
|
|
|
@ -30,13 +32,15 @@ import com.epmet.dto.form.IcPublicServiceListFormDTO; |
|
|
|
import com.epmet.dto.form.IcSuperiorResourceAddEditFormDTO; |
|
|
|
import com.epmet.dto.result.IcPublicServiceListResultDTO; |
|
|
|
import com.epmet.dto.result.ImportTaskCommonResultDTO; |
|
|
|
import com.epmet.dto.result.lingshan.StatsByCategoryRstDTO; |
|
|
|
import com.epmet.dto.result.lingshan.LingShanScreenPublicServicePlaceListByCateRstDTO; |
|
|
|
import com.epmet.dto.result.lingshan.LingShanScreenStatsByCategoryRstDTO; |
|
|
|
import com.epmet.excel.IcPublicServiceExcel; |
|
|
|
import com.epmet.service.IcPublicServiceService; |
|
|
|
import com.epmet.utils.ImportTaskUtils; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
|
import org.apache.commons.io.IOUtils; |
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
import org.apache.poi.ss.usermodel.IndexedColors; |
|
|
|
import org.apache.poi.ss.usermodel.VerticalAlignment; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@ -228,7 +232,7 @@ public class IcPublicServiceController implements ResultDataResolver { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description: 分类统计 |
|
|
|
* @Description: 灵山大屏:分类统计 |
|
|
|
* @param orgType: |
|
|
|
* @param orgId: |
|
|
|
* @Return com.epmet.commons.tools.utils.Result<java.util.List<com.epmet.dto.result.lingshan.StatsByCategoryRstDTO>> |
|
|
|
@ -236,14 +240,29 @@ public class IcPublicServiceController implements ResultDataResolver { |
|
|
|
* @Date: 2023/5/30 9:20 AM |
|
|
|
*/ |
|
|
|
@GetMapping("lingshan/screen/statsByCategory") |
|
|
|
public Result<List<StatsByCategoryRstDTO>> lingshanScreenStatsByCategory(@RequestParam("orgType") String orgType, |
|
|
|
@RequestParam("orgId") String orgId) { |
|
|
|
public Result<List<LingShanScreenStatsByCategoryRstDTO>> lingshanScreenStatsByCategory(@RequestParam("orgType") String orgType, |
|
|
|
@RequestParam("orgId") String orgId) { |
|
|
|
|
|
|
|
List<StatsByCategoryRstDTO> l = icPublicServiceService.lingshanScreenStatsByCategory(orgType, orgId); |
|
|
|
return new Result<List<StatsByCategoryRstDTO>>().ok(l); |
|
|
|
List<LingShanScreenStatsByCategoryRstDTO> l = icPublicServiceService.lingshanScreenStatsByCategory(orgType, orgId); |
|
|
|
return new Result<List<LingShanScreenStatsByCategoryRstDTO>>().ok(l); |
|
|
|
} |
|
|
|
|
|
|
|
// @GetMapping("lingshan/screen/listByCategory")
|
|
|
|
// public Result<>
|
|
|
|
/** |
|
|
|
* @Description: 灵山大屏:查询组织下,某个类别的场所列表,带坐标,打点 |
|
|
|
* @param orgType: |
|
|
|
* @param orgId: |
|
|
|
* @param category: |
|
|
|
* @Return com.epmet.commons.tools.utils.Result<java.util.List<com.epmet.dto.result.lingshan.LingShanScreenPublicServicePlaceListByCateRstDTO>> |
|
|
|
* @Author: wangxianzhang |
|
|
|
* @Date: 2023/5/30 1:50 PM |
|
|
|
*/ |
|
|
|
@GetMapping("lingshan/screen/listByCategory") |
|
|
|
public Result<List<LingShanScreenPublicServicePlaceListByCateRstDTO>> lingshanScreenListByCategory(@RequestParam("orgType") String orgType, |
|
|
|
@RequestParam("orgId") String orgId, |
|
|
|
@RequestParam("category") String category) { |
|
|
|
|
|
|
|
List<LingShanScreenPublicServicePlaceListByCateRstDTO> rl = icPublicServiceService.lingshanScreenListByCategory(orgId, orgType, category); |
|
|
|
return new Result<List<LingShanScreenPublicServicePlaceListByCateRstDTO>>().ok(rl); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|