mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 10:30:12 +08:00
加字段,设备归属方id
This commit is contained in:
@@ -21,14 +21,12 @@ import com.jsowell.pile.dto.amap.EditAmapFlagDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.BindParkingPlatformDTO;
|
||||
import com.jsowell.pile.service.PileStationInfoService;
|
||||
import com.jsowell.pile.service.ThirdPartyParkingConfigService;
|
||||
import com.jsowell.pile.service.ThirdPartySettingInfoService;
|
||||
import com.jsowell.pile.service.ThirdPartyStationRelationService;
|
||||
import com.jsowell.pile.vo.base.ThirdPartyStationRelationVO;
|
||||
import com.jsowell.pile.vo.web.PileStationVO;
|
||||
import com.jsowell.pile.vo.web.StationSelectVO;
|
||||
import com.jsowell.service.PileService;
|
||||
import com.jsowell.thirdparty.amap.service.AMapService;
|
||||
import com.jsowell.thirdparty.common.CommonService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -51,12 +49,6 @@ public class PileStationInfoController extends BaseController {
|
||||
@Autowired
|
||||
private PileService pileService;
|
||||
|
||||
@Autowired
|
||||
private ThirdPartySettingInfoService thirdPartySettingInfoService;
|
||||
|
||||
@Autowired
|
||||
private CommonService commonService;
|
||||
|
||||
@Autowired
|
||||
private AMapService aMapService;
|
||||
|
||||
|
||||
@@ -39,6 +39,11 @@ public class ThirdPartyStationRelation extends BaseEntity {
|
||||
@Excel(name = "三方配置类型")
|
||||
private String thirdPartyType;
|
||||
|
||||
/**
|
||||
* 设备归属方id
|
||||
*/
|
||||
private String equipmentOwnerId;
|
||||
|
||||
/**
|
||||
* 启动方式(1-我方启动)
|
||||
*/
|
||||
|
||||
@@ -113,5 +113,10 @@ public interface ThirdPartyStationRelationService {
|
||||
*/
|
||||
List<StationInfoVO> selectStationList(String thirdPlatformType);
|
||||
|
||||
/**
|
||||
* 根据站点id查询该站点对接了哪些第三方平台
|
||||
* @param stationId
|
||||
* @return
|
||||
*/
|
||||
List<ThirdPartyStationRelationVO> getRelationInfoListV2(String stationId);
|
||||
}
|
||||
|
||||
@@ -10,22 +10,45 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class ThirdPartyStationRelationVO {
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 第三方平台类型
|
||||
*/
|
||||
private String thirdPartyType;
|
||||
|
||||
/**
|
||||
* 第三方平台名称
|
||||
*/
|
||||
private String thirdPartyName;
|
||||
|
||||
/**
|
||||
* 设备所属商户id
|
||||
*/
|
||||
private String equipmentOwnerId;
|
||||
|
||||
/**
|
||||
* 启动模式
|
||||
*/
|
||||
private String startMode;
|
||||
|
||||
/**
|
||||
* url地址
|
||||
*/
|
||||
private String urlAddress;
|
||||
|
||||
/**
|
||||
* 密钥信息
|
||||
*/
|
||||
private String operatorId;
|
||||
private String operatorSecret;
|
||||
private String signSecret;
|
||||
private String dataSecret;
|
||||
private String dataSecretIv;
|
||||
|
||||
|
||||
/**
|
||||
* 对方平台密钥信息
|
||||
*/
|
||||
|
||||
@@ -336,6 +336,7 @@
|
||||
SELECT
|
||||
t1.station_id AS stationId,
|
||||
t1.third_party_type AS thirdPartyType,
|
||||
t1.equipment_owner_id as equipmentOwnerId,
|
||||
t2.platform_name AS thirdPartyName,
|
||||
t2.start_mode AS startMode,
|
||||
t2.url_prefix AS urlAddress,
|
||||
|
||||
Reference in New Issue
Block a user