mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-07 19:40:07 +08:00
远程停止充电 校验交易流水号
This commit is contained in:
@@ -95,7 +95,7 @@ public class PileRemoteController extends BaseController {
|
||||
if (StringUtils.isBlank(dto.getPileSn()) || StringUtils.isBlank(dto.getConnectorCode())) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
|
||||
}
|
||||
pileRemoteService.remoteStopCharging(dto.getPileSn(), dto.getConnectorCode(), null);
|
||||
pileRemoteService.remoteStopCharging(dto.getPileSn(), dto.getConnectorCode(), dto.getTransactionCode());
|
||||
ajaxResult = AjaxResult.success();
|
||||
} catch (BusinessException e) {
|
||||
ajaxResult = AjaxResult.error(e.getCode(), e.getMessage());
|
||||
|
||||
@@ -25,6 +25,8 @@ public class QueryPileDTO extends BasicPileDTO{
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
private String transactionCode;
|
||||
|
||||
/**
|
||||
* 桩编码+枪口号
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user