mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 解析VIN
This commit is contained in:
@@ -19,6 +19,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
@@ -328,7 +329,8 @@ public class YKCUtils {
|
||||
* 解析vin
|
||||
*/
|
||||
public static String parseVin(byte[] vinCodeByteArr) {
|
||||
return BytesUtil.ascii2Str(vinCodeByteArr);
|
||||
// return BytesUtil.ascii2Str(vinCodeByteArr);
|
||||
return new String(vinCodeByteArr, StandardCharsets.US_ASCII);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user