parent
8464dfb63f
commit
549d9efc28
|
|
@ -314,9 +314,9 @@ public class InterestBearingFromListPlugin extends AbstractReportFormPlugin impl
|
|||
for (int i = 0; i < children.size(); i++) {
|
||||
AbstractReportColumn abstractReportColumn = children.get(i);
|
||||
String localeValue_zh_cn = abstractReportColumn.getCaption().getLocaleValue_zh_CN();
|
||||
if (localeValue_zh_cn.length() >= 4) {
|
||||
String year= String.valueOf(shkd_stratyear+i);
|
||||
// 用 "2025" 替换前四个字符
|
||||
if (localeValue_zh_cn.length() >= 4 && localeValue_zh_cn.substring(0, 4).matches("\\d{4}")) {//前四位是数字
|
||||
String year= String.valueOf(shkd_stratyear+(i/2));
|
||||
// 用 年份 替换前四个字符
|
||||
String newlocaleValue_zh_cn = year + localeValue_zh_cn.substring(4);
|
||||
LocaleString l = new LocaleString();
|
||||
l.put("zh_CN",newlocaleValue_zh_cn);
|
||||
|
|
|
|||
Loading…
Reference in New Issue