From d19fe15e19ec6463c6e0aab08614c72fbab4f7a9 Mon Sep 17 00:00:00 2001 From: "Tommy\\2Fi-Staff" Date: Tue, 10 Feb 2026 21:36:36 +0800 Subject: [PATCH 1/3] report update --- .../service/StockTakeVarianceReportService.kt | 11 +- .../resources/jasper/StockBalanceReport.jrxml | 2 +- .../jasper/StockTakeVarianceReport.jrxml | 278 ++++++------------ 3 files changed, 89 insertions(+), 202 deletions(-) diff --git a/src/main/java/com/ffii/fpsms/modules/report/service/StockTakeVarianceReportService.kt b/src/main/java/com/ffii/fpsms/modules/report/service/StockTakeVarianceReportService.kt index 5f32c7a..cc5103e 100644 --- a/src/main/java/com/ffii/fpsms/modules/report/service/StockTakeVarianceReportService.kt +++ b/src/main/java/com/ffii/fpsms/modules/report/service/StockTakeVarianceReportService.kt @@ -82,16 +82,7 @@ open class StockTakeVarianceReportService( /* ====== 基本資料 ====== */ COALESCE(it.type, '') AS stockSubCategory, COALESCE(it.code, '') AS itemNo, - COALESCE( - CONCAT( - it.name, - CASE - WHEN it.description IS NULL OR it.description = '' THEN '' - ELSE CONCAT('\n', it.description) - END - ), - '' - ) AS itemName, + COALESCE(it.name, '') AS itemName, COALESCE(uc.udfudesc, '') AS unitOfMeasure, COALESCE(il.lotNo, '') AS lotNo, COALESCE(DATE_FORMAT(il.expiryDate, '%Y-%m-%d'), '') AS expiryDate, diff --git a/src/main/resources/jasper/StockBalanceReport.jrxml b/src/main/resources/jasper/StockBalanceReport.jrxml index 9a96a3e..6bb3e8d 100644 --- a/src/main/resources/jasper/StockBalanceReport.jrxml +++ b/src/main/resources/jasper/StockBalanceReport.jrxml @@ -164,7 +164,7 @@ - + diff --git a/src/main/resources/jasper/StockTakeVarianceReport.jrxml b/src/main/resources/jasper/StockTakeVarianceReport.jrxml index 30f192d..03200a1 100644 --- a/src/main/resources/jasper/StockTakeVarianceReport.jrxml +++ b/src/main/resources/jasper/StockTakeVarianceReport.jrxml @@ -57,12 +57,12 @@ - - + + - + - + @@ -73,7 +73,7 @@ - + @@ -84,7 +84,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -106,7 +106,7 @@ - + @@ -117,7 +117,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -136,10 +136,10 @@ - + - + @@ -150,7 +150,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -169,10 +169,10 @@ - + - + @@ -180,19 +180,10 @@ - + - - - - - - - - - - + @@ -200,30 +191,25 @@ - + - - + + - - - - - - - - + + + - + - + @@ -231,19 +217,10 @@ - + - - - - - - - - - - + @@ -251,21 +228,19 @@ - + - - - + + - - + - - + + - + @@ -273,19 +248,24 @@ - + - - + + + - + + + + + - + @@ -300,7 +280,7 @@ - + @@ -312,21 +292,21 @@ - - + + - + - + @@ -345,25 +325,7 @@ - - - - - - - - - - - - - - - - - - - + @@ -404,17 +366,12 @@ - - - - - - + - + @@ -457,135 +414,74 @@ - + - + - + - - - - - - - - - - + - + - + - - + - + - + - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - - - - - - - + - - - - - - - - - - + - + - - - - - - - - - - - - + - - - + + + - + - - + + @@ -594,56 +490,56 @@ - + - - + + - + - + - + - + - + - + - + - + - + From fdce824ada09a96dd59abe0d96e8562954903eab Mon Sep 17 00:00:00 2001 From: "Tommy\\2Fi-Staff" Date: Tue, 10 Feb 2026 21:42:54 +0800 Subject: [PATCH 2/3] no message --- src/main/resources/jasper/MaterialStockOutTraceability.jrxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/jasper/MaterialStockOutTraceability.jrxml b/src/main/resources/jasper/MaterialStockOutTraceability.jrxml index 52381f5..e33efb0 100644 --- a/src/main/resources/jasper/MaterialStockOutTraceability.jrxml +++ b/src/main/resources/jasper/MaterialStockOutTraceability.jrxml @@ -149,7 +149,7 @@ - + From a34821a6881cfc5959bd8cd6cb32ed65b154d7fd Mon Sep 17 00:00:00 2001 From: "Tommy\\2Fi-Staff" Date: Tue, 10 Feb 2026 22:19:08 +0800 Subject: [PATCH 3/3] report update --- src/main/resources/jasper/FGStockOutTraceabilityReport.jrxml | 2 +- src/main/resources/jasper/ItemQCReport.jrxml | 4 ++-- src/main/resources/jasper/MaterialStockOutTraceability.jrxml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/jasper/FGStockOutTraceabilityReport.jrxml b/src/main/resources/jasper/FGStockOutTraceabilityReport.jrxml index 5b96e71..79ec82d 100644 --- a/src/main/resources/jasper/FGStockOutTraceabilityReport.jrxml +++ b/src/main/resources/jasper/FGStockOutTraceabilityReport.jrxml @@ -185,7 +185,7 @@ - + diff --git a/src/main/resources/jasper/ItemQCReport.jrxml b/src/main/resources/jasper/ItemQCReport.jrxml index c9d2fc6..649f87e 100644 --- a/src/main/resources/jasper/ItemQCReport.jrxml +++ b/src/main/resources/jasper/ItemQCReport.jrxml @@ -109,7 +109,7 @@ - + @@ -312,7 +312,7 @@ - + diff --git a/src/main/resources/jasper/MaterialStockOutTraceability.jrxml b/src/main/resources/jasper/MaterialStockOutTraceability.jrxml index e33efb0..ca4f776 100644 --- a/src/main/resources/jasper/MaterialStockOutTraceability.jrxml +++ b/src/main/resources/jasper/MaterialStockOutTraceability.jrxml @@ -53,7 +53,7 @@ - +