mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
充电桩主动申请充电,平台生成订单号回复并启动充电
This commit is contained in:
@@ -38,6 +38,12 @@ public class PileAuthCard {
|
||||
@Excel(name = "物理卡号")
|
||||
private String physicsCard;
|
||||
|
||||
/**
|
||||
* 卡状态
|
||||
*/
|
||||
@Excel(name = "卡状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 所属用户的会员id
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.jsowell.pile.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 用户绑定卡DTO
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2023/3/17 15:16
|
||||
*/
|
||||
@Data
|
||||
public class BindingCardDTO {
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 逻辑卡号
|
||||
*/
|
||||
private String logicCard;
|
||||
|
||||
/**
|
||||
* 物理卡号
|
||||
*/
|
||||
private String physicsCard;
|
||||
|
||||
/**
|
||||
* 电话号码
|
||||
*/
|
||||
private String phoneNumber;
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
private String verificationCode;
|
||||
}
|
||||
@@ -21,6 +21,13 @@ public interface PileAuthCardMapper {
|
||||
*/
|
||||
public PileAuthCard selectPileAuthCardById(Long id);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡信息
|
||||
* @param pileAuthCard
|
||||
* @return
|
||||
*/
|
||||
PileAuthCard selectPileAuthCardInfo (PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
*
|
||||
|
||||
@@ -19,6 +19,13 @@ public interface IPileAuthCardService {
|
||||
*/
|
||||
public PileAuthCard selectPileAuthCardById(Long id);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡信息
|
||||
* @param pileAuthCard
|
||||
* @return
|
||||
*/
|
||||
PileAuthCard selectPileAuthCardInfo(PileAuthCard pileAuthCard);
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
*
|
||||
|
||||
@@ -31,6 +31,16 @@ public class PileAuthCardServiceImpl implements IPileAuthCardService {
|
||||
return pileAuthCardMapper.selectPileAuthCardById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡信息
|
||||
* @param pileAuthCard
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public PileAuthCard selectPileAuthCardInfo(PileAuthCard pileAuthCard) {
|
||||
return pileAuthCardMapper.selectPileAuthCardInfo(pileAuthCard);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询充电站鉴权卡列表
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user