From 18fc70a0c4f2bd6c69ccfd58c1b01edc03d87e73 Mon Sep 17 00:00:00 2001 From: Administrator <zhubaomin> Date: 星期二, 23 七月 2024 15:45:45 +0800 Subject: [PATCH] 2024-07-23 朱宝民 PC端及小程序自动关阀(定时、定量),项目信息移入配置文件 --- 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