From 96a619620c8268f523cb8ce5c18fa3fc11bc5b03 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 15 五月 2024 14:11:16 +0800
Subject: [PATCH] 增加了单数据源的Configuration,在SpringBoot的启动类Application中对其排除

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
index 16f5543..f428bde 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/global/GlCreate.java
@@ -93,6 +93,17 @@
         Integer icCardNo2Int = Integer.parseInt(icCardNo2) ;
         ByteUtilUnsigned.short2Bytes_LE(bs, icCardNo2Int.shortValue(), index);
     }
+
+    public static void createDt(byte[] bs, int index) throws Exception {
+        bs[index] = Byte.parseByte(DateTime.ss()) ;
+        bs[index + 1] = Byte.parseByte(DateTime.mm()) ;
+        bs[index + 2] = Byte.parseByte(DateTime.HH()) ;
+        bs[index + 3] = Byte.parseByte(DateTime.dd()) ;
+        bs[index + 4] = Byte.parseByte(DateTime.MM()) ;
+        bs[index + 5] = Byte.parseByte(DateTime.yy()) ;
+    }
+
+
     public static void createPw(byte[] bs, int index) throws Exception {
         bs[index] = 0;
         bs[index + 1] = 0;

--
Gitblit v1.8.0