From 0a71eb4f8fce7f3dd4ac87e6735ff540a50266a2 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期日, 30 六月 2024 10:24:34 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/LedThread.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/LedThread.java b/src/main/java/com/zy/core/thread/LedThread.java
index 966b3ae..75a0f53 100644
--- a/src/main/java/com/zy/core/thread/LedThread.java
+++ b/src/main/java/com/zy/core/thread/LedThread.java
@@ -120,12 +120,11 @@
                     String strQty = matDto.getCount().toString();
                     int idx = strQty.lastIndexOf(".");
                     if(idx >= 0){
-                        strQty.substring(0,idx);
+                        strQty = strQty.substring(0,idx);
                     }
-                    page.newLine(matDto.getBatch() + "[鏁伴噺" + strQty +"]");
-
                     page.newLine(matDto.getMatnr());
                     page.newLine(matDto.getMaknx());
+                    page.newLine("[鏁伴噺锛�" + strQty +  "/" +  matDto.getTotal().intValue()+"]");
 //                    page.newLine(matDto.getMaknx() + "[鏁伴噺" + strQty +"]");
 //                    page.newLine(matDto.getMaknx() + "銆愭暟閲�" + matDto.getCount() +"銆�");
                 }

--
Gitblit v1.9.1