rk
4 天以前 f51c9e1bc0e82cbebd0e05130fb9a754317cbfa2
server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/openapi/TelecomApiController.java
@@ -10,7 +10,8 @@
import com.doumee.core.utils.DESUtil;
import com.doumee.dao.business.JkLineMapper;
import com.doumee.dao.business.dto.TelecomCabinetLogDTO;
import com.doumee.dao.business.vo.TelecomJkCabinetLogVO;
import com.doumee.dao.business.dto.TelecomLineInfoDTO;
import com.doumee.dao.business.vo.*;
import com.doumee.dao.openapi.request.*;
import com.doumee.dao.openapi.response.*;
import com.doumee.dao.system.model.SystemUser;
@@ -44,7 +45,7 @@
    private JkCabinetLogService jkCabinetLogService;
    @Autowired
    private JkLineService jkLineService;
    private JkSketchService jkSketchService;
    @LoginNoRequired
@@ -56,4 +57,39 @@
    }
    @LoginNoRequired
    @PreventRepeat
    @ApiOperation("电信-车辆线路")
    @PostMapping("/getLineForTelecom")
    public ApiResponse<List<TelecomJkLineListVO>> getLineForTelecom (@RequestBody TelecomLineInfoDTO dto) {
        return ApiResponse.success(jkSketchService.getLineForTelecom(dto));
    }
    @LoginNoRequired
    @PreventRepeat
    @ApiOperation("电信-线路总计与主子线路数据")
    @PostMapping("/getTelecomLineCount")
    public ApiResponse<TelecomLineCountVO> getTelecomLineCount (@RequestBody TelecomLineInfoDTO dto) {
        return ApiResponse.success(jkSketchService.getTelecomLineCount(dto));
    }
    @LoginNoRequired
    @PreventRepeat
    @ApiOperation("电信-线路优化对比数据")
    @PostMapping("/getTelecomLineDistance")
    public ApiResponse<List<TelecomCategoryDataVO>> getTelecomLineDistance (@RequestBody TelecomLineInfoDTO dto) {
        return ApiResponse.success(jkSketchService.getTelecomLineDistance(dto));
    }
    @LoginNoRequired
    @PreventRepeat
    @ApiOperation("电信-线路数据")
    @PostMapping("/getTelecomLineInfo")
    public ApiResponse<List<TelecomLineDataVO>> getTelecomLineInfo (@RequestBody TelecomLineInfoDTO dto) {
        return ApiResponse.success(jkSketchService.getTelecomLineInfo(dto));
    }
}