mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
预约充电
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.jsowell.pile.dto.PileReservedDTO;
|
||||
import com.jsowell.pile.domain.PileReservationInfo;
|
||||
|
||||
public interface PileReservationInfoService {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(PileReservationInfo record);
|
||||
|
||||
int insertOrUpdate(PileReservationInfo record);
|
||||
|
||||
int insertOrUpdateSelective(PileReservationInfo record);
|
||||
|
||||
int insertSelective(PileReservationInfo record);
|
||||
|
||||
PileReservationInfo selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(PileReservationInfo record);
|
||||
|
||||
int updateByPrimaryKey(PileReservationInfo record);
|
||||
|
||||
int updateBatch(List<PileReservationInfo> list);
|
||||
|
||||
int batchInsert(List<PileReservationInfo> list);
|
||||
|
||||
int updateBatchSelective(List<PileReservationInfo> list);
|
||||
|
||||
List<PileReservationInfo> getReservationsByMemberIdAndPileSn(String memberId, String pileSn);
|
||||
|
||||
/**
|
||||
* 启动预约
|
||||
* @param dto
|
||||
*/
|
||||
void activateReserved(PileReservedDTO dto);
|
||||
|
||||
/**
|
||||
* 关闭预约
|
||||
* @param dto
|
||||
*/
|
||||
void deactivateReserved(PileReservedDTO dto);
|
||||
|
||||
/**
|
||||
* 根据充电枪口编号发送预约指令
|
||||
* @param pileConnectorCode
|
||||
*/
|
||||
void pushReservedByPileConnectorCode(String pileConnectorCode);
|
||||
|
||||
/**
|
||||
* 拔枪时,根据充电桩枪口编号关闭仅一次的预约
|
||||
* @param pileConnectorCode
|
||||
*/
|
||||
void cancelOneTimeReservation(String pileConnectorCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user