对账单表格款项列错行问题

This commit is contained in:
190526879@qq.com 2024-08-14 10:19:54 +08:00
parent e908bbbaef
commit 4980dc2e8d
1 changed files with 5 additions and 5 deletions

View File

@ -723,7 +723,7 @@ public class WordUtil {
row.getCell(7).setText("余额".trim());
row.getCell(7).setWidth("1800");
row.getCell(8).setText("款项".trim());
row.getCell(8).setWidth("1500");
row.getCell(8).setWidth("1800");
List<Map<String, Object>> list = ListOrMapForJson.getlistForJson(targetStr);
if (list != null && list.size() > 1) {
for (Map<String, Object> map : list) {
@ -759,7 +759,7 @@ public class WordUtil {
row.getCell(7).setWidth("1800");
// 款项
row.getCell(8).setText(skipNull(map.get("cdefine1"), 2));
row.getCell(8).setWidth("1500");
row.getCell(8).setWidth("1800");
}
} else {
for (Map<String, Object> map : list) {
@ -791,7 +791,7 @@ public class WordUtil {
row.getCell(7).setWidth("1800");
// 款项
row.getCell(8).setText(skipNull(map.get("cdefine1"), 2));
row.getCell(8).setWidth("1500");
row.getCell(8).setWidth("1800");
}
row = table.createRow();
if ("2".equals(infos.get("flag") + "")) {
@ -845,7 +845,7 @@ public class WordUtil {
row.getCell(6).setText("收款".trim());
row.getCell(6).setWidth("1800");
row.getCell(7).setText("款项".trim());
row.getCell(7).setWidth("1500");
row.getCell(7).setWidth("1800");
List<Map<String, Object>> list = ListOrMapForJson.getlistForJson(targetStr);
if (list != null && list.size() > 0) {
for (Map<String, Object> map : list) {
@ -878,7 +878,7 @@ public class WordUtil {
row.getCell(6).setWidth("1800");
// 款项
row.getCell(7).setText(skipNull(map.get("cdefine1"), 2));
row.getCell(7).setWidth("1500");
row.getCell(7).setWidth("1800");
}
} else {
row = table.createRow();