package com.gkhy.safePlatform.safeCheck.controller; import com.gkhy.safePlatform.commons.enums.ResultCodes; import com.gkhy.safePlatform.commons.vo.ResultVO; import com.gkhy.safePlatform.safeCheck.model.dto.resp.SafeCheckQuotaTypeRespDTO; import com.gkhy.safePlatform.safeCheck.model.dto.resp.SafeCheckRegionTypeRespDTO; import com.gkhy.safePlatform.safeCheck.service.SafeCheckBaseManagerService; import org.checkerframework.checker.units.qual.A; import org.omg.CORBA.PUBLIC_MEMBER; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController @RequestMapping("/SafeCheckRegionType") public class SafeCheckRegionTypeController { @Autowired private SafeCheckBaseManagerService safeCheckBaseManagerService; /** * @description 区域或设施设备类型 目前只提供获取所有的类型,预留后面增删改查的空间 */ @GetMapping(value = "/select/listRegionType") public ResultVO> lisRegionType(){ List safeCheckRegionTypeRespDTOS = safeCheckBaseManagerService.listRegionType(); return new ResultVO<>(ResultCodes.OK, safeCheckRegionTypeRespDTOS); } }