mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
打印日志
This commit is contained in:
@@ -135,15 +135,15 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService {
|
||||
String connectorCode = command.getConnectorCode();
|
||||
String transactionCode = command.getTransactionCode();
|
||||
if (StringUtils.isEmpty(pileSn) || StringUtils.isEmpty(connectorCode) ) {
|
||||
log.warn("远程启动充电, 充电桩编号和枪口号不能为空");
|
||||
log.error("远程启动充电, 充电桩编号和枪口号不能为空");
|
||||
return;
|
||||
}
|
||||
if (StringUtils.isEmpty(transactionCode)) {
|
||||
log.warn("远程启动充电, 交易流水号不能为空");
|
||||
log.error("远程启动充电, 交易流水号不能为空");
|
||||
return;
|
||||
}
|
||||
if (command.getChargeAmount() == null || BigDecimal.ZERO.equals(command.getChargeAmount())) {
|
||||
log.warn("远程启动充电, 充电金额不能为0");
|
||||
log.error("远程启动充电, 充电金额不能为0");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user