后管站点管理页面新增查询地锁列表二维码

This commit is contained in:
Lemon
2023-08-11 10:56:12 +08:00
parent 34e2033e0c
commit 23c7b63a89
3 changed files with 385 additions and 347 deletions

View File

@@ -38,9 +38,6 @@ public class PileController extends BaseController {
@Autowired
private IPileConnectorInfoService pileConnectorInfoService;
@Autowired
private IPileBasicInfoService pileBasicInfoService;
@Autowired
private IPileBillingTemplateService pileBillingTemplateService;
@@ -152,24 +149,4 @@ public class PileController extends BaseController {
return response;
}
/**
* 获取地锁列表信息
* @param stationId
* @return
*/
@GetMapping("/getGroundLockInfo/{stationId}")
public RestApiResponse<?> getGroundLockInfo(@PathVariable("stationId") String stationId) {
logger.info("获取地锁列表信息 params:{}", stationId);
RestApiResponse<?> response = null;
try {
List<GroundLockInfoVO> list = pileBasicInfoService.getGroundLockInfo(stationId);
response = new RestApiResponse<>(list);
} catch (Exception e) {
logger.error("获取地锁列表信息 error, ", e);
response = new RestApiResponse<>(e);
}
logger.info("获取地锁列表信息 result:{}", response);
return response;
}
}