diff --git a/src/main/java/com/biutag/supervision/pojo/vo/ExportNegativeVo.java b/src/main/java/com/biutag/supervision/pojo/vo/ExportNegativeVo.java index 0debb44..9a77b77 100644 --- a/src/main/java/com/biutag/supervision/pojo/vo/ExportNegativeVo.java +++ b/src/main/java/com/biutag/supervision/pojo/vo/ExportNegativeVo.java @@ -112,6 +112,9 @@ public class ExportNegativeVo { @ExcelProperty({"核办情况","涉及人员"}) private String blames; + @ExcelProperty({"核办情况","是否追责"}) + private String isHoldAccountable; + @ExcelProperty({"核办情况","责任追责"}) private String handleResultName; diff --git a/src/main/java/com/biutag/supervision/service/NegativeTaskService.java b/src/main/java/com/biutag/supervision/service/NegativeTaskService.java index ae0f11c..c30cfb4 100644 --- a/src/main/java/com/biutag/supervision/service/NegativeTaskService.java +++ b/src/main/java/com/biutag/supervision/service/NegativeTaskService.java @@ -143,6 +143,15 @@ public class NegativeTaskService extends ServiceImpl StrUtil.isBlank(blame.getHandleResultName()) || blame.getHandleResultName().contains("不予追责"))) { + vo.setIsHoldAccountable("否"); + } else { + vo.setIsHoldAccountable("是"); + } + } for (NegativeBlame negativeBlame : blameList.stream().filter(blame -> StrUtil.isNotBlank(blame.getBlameName())).toList()) { ExportNegativeBlameVo blameVo = new ExportNegativeBlameVo(); BeanUtils.copyProperties(vo, blameVo);