对账单表格款项列错行问题
This commit is contained in:
parent
e908bbbaef
commit
4980dc2e8d
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue