提交 c4115d6c authored 作者: zjm's avatar zjm

fix(单位模块,Pdf): 修改了根据上级区域id查询相关bug,pdf工作交接换成可以有下滑线的

添加了根据单位id查询全部下级对象
上级 f7ccbf2b
......@@ -2244,7 +2244,7 @@ public class JavaToPdfHtmlFreeMarker {
Template template = freemarkerCfg.getTemplate("bill13.html");
template.setEncoding("UTF-8");
List<DocumentDevice> list = workHandoverDoc.getWorkHandoverDeviceList();
List<List<DocumentDevice>> listList = toWorkHandoverDeviceList(list);
List<List<DocumentDevice>> listList = toWorkHandoverDeviceList2(list);
Integer count = listList.size();
for (int i = 1; i <= 3; i++) {
Integer page = 1;
......
......@@ -35,7 +35,7 @@ public class AreaCache {
}
public List<Area> findAllByFatherId(Integer fatherId) {
return new ArrayList<>(idMap.values()).stream().filter(area -> area.getFatherId().equals(fatherId)).collect(Collectors.toList());
return new ArrayList<>(idMap.values()).stream().filter(area -> fatherId.equals(area.getFatherId())).collect(Collectors.toList());
}
public Area findByName(String name) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论