From b6833ab41416dd68a30f7cd368a802aa3a0a2e21 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 11 七月 2024 20:32:10 +0800 Subject: [PATCH] 1、完善代码; 2、生成新模块pipIrr-mwTest-rtu --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java index 0817c1b..3e347ff 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/CommonV1_0_1.java @@ -202,25 +202,25 @@ }; } - /** - * 澶勭悊IC鍗$紪鍙凤紝闈虫�诲埗瀹氱殑鍗忚瑕佹眰10浣岻C鍗$紪鍙� - * @param icCardNo - * @return - */ - public static String[] dealIcCardNo(String icCardNo){ - if(icCardNo.length() > 10){ - String tail = icCardNo.substring(icCardNo.length() - 10) ; - String head = icCardNo.substring(0, icCardNo.length() - 10) ; - return new String[]{head , tail} ; - }else if(icCardNo.length() < 10){ - while(icCardNo.length() != 10){ - icCardNo = "0" + icCardNo ; - } - return new String[]{null , icCardNo} ; - }else{ - return new String[]{null , icCardNo} ; - } - } +// /** +// * 澶勭悊IC鍗$紪鍙凤紝闈虫�诲埗瀹氱殑鍗忚瑕佹眰10浣岻C鍗$紪鍙� +// * @param icCardNo +// * @return +// */ +// public static String[] dealIcCardNo(String icCardNo){ +// if(icCardNo.length() > 10){ +// String tail = icCardNo.substring(icCardNo.length() - 10) ; +// String head = icCardNo.substring(0, icCardNo.length() - 10) ; +// return new String[]{head , tail} ; +// }else if(icCardNo.length() < 10){ +// while(icCardNo.length() != 10){ +// icCardNo = "0" + icCardNo ; +// } +// return new String[]{null , icCardNo} ; +// }else{ +// return new String[]{null , icCardNo} ; +// } +// } /* * 鍒嗘瀽鐗堟湰鍙� -- Gitblit v1.8.0