From cd4a24e07e643b5be854f0a355e040e382062e2b Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 七月 2024 11:35:22 +0800
Subject: [PATCH] 添加标签样式需要的字段
---
north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java b/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
index 982af9d..4dd26b8 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
@@ -45,7 +45,12 @@
}
BasicOtherMoney basicOtherMoney = basicOtherMoneyList.get(0);
- String getColumn = basicOtherMoney.getColumn()==null?"0":basicOtherMoney.getColumn().replace("M","");
+ String getColumn = basicOtherMoney.getColumn()==null?
+ "0":
+ String.valueOf(basicOtherMoney.getId());
+// basicOtherMoney.getColumn().
+// replace("M","").
+// replace("S","");
int columnNum = Integer.parseInt(getColumn)+1;
BasicOtherMoney newBasicOtherMoney = new BasicOtherMoney();
newBasicOtherMoney.setColumn("M"+String.format("%02d", columnNum));
--
Gitblit v1.8.0