mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
bugfix 生成桩号报错
This commit is contained in:
@@ -119,7 +119,7 @@ public class PileService {
|
||||
List<String> snList = null;
|
||||
if (StringUtils.equals(SoftwareProtocolEnum.YOU_DIAN.getValue(), softwareProtocol)) {
|
||||
snList = snUtils.generateEBikeSN(dto.getNum());
|
||||
} else if (StringUtils.equals(SoftwareProtocolEnum.YUN_KUAI_CHONG.getValue(), softwareProtocol)){
|
||||
} else if (StringUtils.equals(SoftwareProtocolEnum.YUN_KUAI_CHONGV150.getValue(), softwareProtocol)){
|
||||
snList = snUtils.generateEVPileSN(dto.getNum());
|
||||
} else {
|
||||
throw new BusinessException(ReturnCodeEnum.valueOf("软件协议不正确"));
|
||||
|
||||
Reference in New Issue
Block a user