mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.springframework.web.bind.annotation.*;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* 充电桩枪口信息Controller
|
||||
@@ -86,7 +85,7 @@ public class PileConnectorInfoController extends BaseController {
|
||||
logger.info("查询接口列表 param:{}", JSON.toJSONString(dto));
|
||||
try {
|
||||
// 修改对接第三方平台的枪口状态
|
||||
updateThirdPartyConnectorStatus(dto);
|
||||
selectThirdPartyConnectorStatus(dto);
|
||||
} catch (Exception e) {
|
||||
logger.error("修改对接第三方平台的枪口状态 error");
|
||||
}
|
||||
@@ -158,10 +157,10 @@ public class PileConnectorInfoController extends BaseController {
|
||||
|
||||
/**
|
||||
* 修改第三方平台枪口状态
|
||||
* @see PileController#updateThirdPartyConnectorStatus(com.jsowell.pile.dto.QueryConnectorListDTO)
|
||||
* @see PileController#selectThirdPartyConnectorStatus(com.jsowell.pile.dto.QueryConnectorListDTO)
|
||||
* 两个方法完全相同,如有修改需同步修改
|
||||
*/
|
||||
private void updateThirdPartyConnectorStatus(QueryConnectorListDTO dto) {
|
||||
private void selectThirdPartyConnectorStatus(QueryConnectorListDTO dto) {
|
||||
if (dto == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user