This commit is contained in:
Lemon
2024-06-05 09:10:01 +08:00
parent 9d2962714a
commit e6c37d618a
2 changed files with 7 additions and 8 deletions

View File

@@ -144,8 +144,8 @@ public class PileController extends BaseController {
logger.info("查询充电枪口列表 params:{}", JSON.toJSONString(dto));
RestApiResponse<?> response = null;
try {
// 修改对接第三方平台的枪口状态
updateThirdPartyConnectorStatus(dto);
// 查询对接第三方平台的枪口状态
selectThirdPartyConnectorStatus(dto);
} catch (Exception e) {
logger.error("修改对接第三方平台的枪口状态 error");
}
@@ -191,10 +191,10 @@ public class PileController extends BaseController {
/**
* 修改第三方平台枪口状态
* @see PileConnectorInfoController#updateThirdPartyConnectorStatus(com.jsowell.pile.dto.QueryConnectorListDTO)
* @see PileConnectorInfoController#selectThirdPartyConnectorStatus(com.jsowell.pile.dto.QueryConnectorListDTO)
* 两个方法完全相同,如有修改需同步修改
*/
private void updateThirdPartyConnectorStatus(QueryConnectorListDTO dto) {
private void selectThirdPartyConnectorStatus(QueryConnectorListDTO dto) {
if (dto == null) {
return;
}