mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-14 23:08:35 +08:00
update 电单车
This commit is contained in:
@@ -5,6 +5,8 @@ import com.jsowell.common.protocol.SyncPromise;
|
|||||||
import com.jsowell.common.util.BytesUtil;
|
import com.jsowell.common.util.BytesUtil;
|
||||||
import com.jsowell.common.util.RandomUtil;
|
import com.jsowell.common.util.RandomUtil;
|
||||||
import com.jsowell.common.util.RpcUtil;
|
import com.jsowell.common.util.RpcUtil;
|
||||||
|
import com.jsowell.common.util.StringUtils;
|
||||||
|
import com.jsowell.common.util.id.IdUtils;
|
||||||
import com.jsowell.pile.domain.ebike.AbsEBikeMessage;
|
import com.jsowell.pile.domain.ebike.AbsEBikeMessage;
|
||||||
import com.jsowell.pile.domain.ebike.serversend.EBikeMessageCmd82;
|
import com.jsowell.pile.domain.ebike.serversend.EBikeMessageCmd82;
|
||||||
import com.jsowell.pile.domain.ykcCommond.StartChargingCommand;
|
import com.jsowell.pile.domain.ykcCommond.StartChargingCommand;
|
||||||
@@ -36,9 +38,9 @@ public class EBikeSendCommandServiceImpl implements EBikeSendCommandService {
|
|||||||
String pileSn = command.getPileSn();
|
String pileSn = command.getPileSn();
|
||||||
String connectorCode = command.getConnectorCode();
|
String connectorCode = command.getConnectorCode();
|
||||||
String transactionCode = command.getTransactionCode();
|
String transactionCode = command.getTransactionCode();
|
||||||
// if (StringUtils.isBlank(transactionCode)) {
|
if (StringUtils.isBlank(transactionCode)) {
|
||||||
// transactionCode = IdUtils.generateTransactionCode(pileSn, connectorCode);
|
transactionCode = IdUtils.generateTransactionCode(pileSn, connectorCode);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// 组装参数
|
// 组装参数
|
||||||
EBikeMessageCmd82 message = new EBikeMessageCmd82();
|
EBikeMessageCmd82 message = new EBikeMessageCmd82();
|
||||||
|
|||||||
Reference in New Issue
Block a user