From 1f963e2344833ff02087c05411b112147492bd00 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期六, 21 六月 2025 22:18:59 +0800
Subject: [PATCH] 添加钉钉推送消息功能

---
 src/test/java/com/gs/xky/XkyApplicationTests.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/test/java/com/gs/xky/XkyApplicationTests.java b/src/test/java/com/gs/xky/XkyApplicationTests.java
index 8f2383f..9caa7ad 100644
--- a/src/test/java/com/gs/xky/XkyApplicationTests.java
+++ b/src/test/java/com/gs/xky/XkyApplicationTests.java
@@ -40,6 +40,8 @@
     private MesInvItemArnService invItemArnService;
     @Autowired
     private PurchaseService service;
+    @Autowired
+    private DingtalkInfoService dingtalkInfoService;
 
     @Test
     void contextLoads() throws IOException {
@@ -58,7 +60,7 @@
     @Test
     void cs() throws IOException {
 
-        String str = "22250529195E;22250529EQHY;22250529HCM9;222505304W8Q;222505305XRK;22250530F6UC;22250530JQ31;22250531UF8T;222506013N09;222506015051;2225060152A2;2225060152EN;222506015AM7;222506015U07;2225060162K4;222506016C4C;222506017GEM;222506017YTU;222506019RWD;22250601A216;22250601C4C3;22250601GTT8;22250601GUGU;22250601H6Y7;22250601JN9X;22250601JVW5;22250601L6R5;22250601NANG;22250601NHK4;22250601NYAL;22250601Q669;22250601RGJX;22250601VCE2;22250601W6C6;22250601WFK1;22250601WH28;22250601XE2T;22250602M0MU;";
+        String str = "2225060624DY;";
 
 
         String[] split = str.split(";");
@@ -157,8 +159,9 @@
     }
 
     @Test
-    void cs3() throws IOException {
+    void cs3() throws Exception {
+        dingtalkInfoService.sendMessage("CGJY20250412166");
 
-//        service.syncPurchaseOrderDetails();
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3