pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/parse/global/GlCreate.java
@@ -54,6 +54,16 @@ bsNoTail[ProtocolConstantV206V2.dataLenIndex] = (byte)len ; } public static void createLen4PUg(byte[] bytes) throws Exception { int len = bytes.length - 4; byte[] bs = ByteUtil.int2BCD_LE(len) ; if(bs != null && bs.length == 1){ bytes[1] = bs[0] ; }else if(bs != null && bs.length > 1){ bytes[1] = bs[0] ; bytes[2] = bs[1] ; } } /** * 生成IC卡编码