mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 03:39:55 +08:00
update
This commit is contained in:
@@ -196,12 +196,12 @@ public class PileBasicInfoController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询桩对应的第三方平台桩编号列表
|
* 查询桩对应的第三方平台桩编号列表
|
||||||
* @param queryPileDTO
|
* @param dto
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/getThirdPartySnRelation")
|
@PostMapping("/getThirdPartySnRelation")
|
||||||
public TableDataInfo getThirdPartySnRelation(@RequestBody QueryPileDTO queryPileDTO) {
|
public TableDataInfo getThirdPartySnRelation(@RequestBody ThirdPartySnRelationDTO dto) {
|
||||||
List<ThirdPartySnRelationVO> list = thirdpartySnRelationService.getRelationVOList(queryPileDTO);
|
List<ThirdPartySnRelationVO> list = thirdpartySnRelationService.getRelationVOList(dto);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,10 +67,10 @@ public interface ThirdpartySnRelationMapper {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询第三方平台桩编号对应的列表
|
* 查询第三方平台桩编号对应的列表
|
||||||
* @param queryPileDTO
|
* @param dto
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<ThirdPartySnRelationVO> getRelationVOList(@Param("dto") QueryPileDTO queryPileDTO);
|
List<ThirdPartySnRelationVO> getRelationVOList(@Param("dto") ThirdPartySnRelationDTO dto);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改第三方平台对应编号
|
* 修改第三方平台对应编号
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ public interface IThirdpartySnRelationService {
|
|||||||
* @param queryPileDTO
|
* @param queryPileDTO
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<ThirdPartySnRelationVO> getRelationVOList(QueryPileDTO queryPileDTO);
|
List<ThirdPartySnRelationVO> getRelationVOList(ThirdPartySnRelationDTO dto);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改第三方平台对应编号
|
* 修改第三方平台对应编号
|
||||||
|
|||||||
@@ -94,12 +94,12 @@ public class ThirdpartySnRelationServiceImpl implements IThirdpartySnRelationSer
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询第三方平台桩编号对应的列表
|
* 查询第三方平台桩编号对应的列表
|
||||||
* @param queryPileDTO
|
* @param dto
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<ThirdPartySnRelationVO> getRelationVOList(QueryPileDTO queryPileDTO) {
|
public List<ThirdPartySnRelationVO> getRelationVOList(ThirdPartySnRelationDTO dto) {
|
||||||
List<ThirdPartySnRelationVO> list = thirdpartySnRelationMapper.getRelationVOList(queryPileDTO);
|
List<ThirdPartySnRelationVO> list = thirdpartySnRelationMapper.getRelationVOList(dto);
|
||||||
for (ThirdPartySnRelationVO thirdPartySnRelationVO : list) {
|
for (ThirdPartySnRelationVO thirdPartySnRelationVO : list) {
|
||||||
// 将第三方平台类型中文名称查询出来
|
// 将第三方平台类型中文名称查询出来
|
||||||
String thirdPartyType = thirdPartySnRelationVO.getThirdPartyType();
|
String thirdPartyType = thirdPartySnRelationVO.getThirdPartyType();
|
||||||
|
|||||||
@@ -275,7 +275,6 @@ export default {
|
|||||||
// 查询充电桩接口列表
|
// 查询充电桩接口列表
|
||||||
this.queryPileConnectorList();
|
this.queryPileConnectorList();
|
||||||
// 查询桩对应的第三方平台桩编号列表
|
// 查询桩对应的第三方平台桩编号列表
|
||||||
this.getThirdPartySnRelationList();
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@@ -396,12 +395,11 @@ export default {
|
|||||||
this.pileDetailLoading = false;
|
this.pileDetailLoading = false;
|
||||||
console.log("getPileDetailById结果:", this.pileDetail);
|
console.log("getPileDetailById结果:", this.pileDetail);
|
||||||
});
|
});
|
||||||
},
|
|
||||||
|
|
||||||
getThirdPartySnRelationList() {
|
|
||||||
const params = {
|
const params = {
|
||||||
pileSn: this.pileDetail.pileSn
|
pileSn: this.pileSn
|
||||||
}
|
}
|
||||||
|
console.log("params", params)
|
||||||
getThirdPartySnRelation(params).then((response) => {
|
getThirdPartySnRelation(params).then((response) => {
|
||||||
this.snRelationList = response.rows;
|
this.snRelationList = response.rows;
|
||||||
//默认添加一个状态
|
//默认添加一个状态
|
||||||
|
|||||||
Reference in New Issue
Block a user