add:添加编号查询

This commit is contained in:
zhangzq
2024-12-10 00:07:58 +08:00
parent 82bf7a2060
commit d4c1f85f8c
2 changed files with 15 additions and 4 deletions

View File

@@ -195,9 +195,11 @@ public class PmFormDataServiceImpl extends ServiceImpl<PmFormDataMapper, PmFormD
String productArea = dataDto.getForm_data().getString("product_area");
dataDto.setProduct_area(productArea);
List<PmFormDataDto> children = childMap.get(dataDto.getId());
for (PmFormDataDto child : children) {
String childProductArea = child.getForm_data().getString("product_area");
child.setProduct_area(childProductArea);
if (children!=null){
for (PmFormDataDto child : children) {
String childProductArea = child.getForm_data().getString("product_area");
child.setProduct_area(childProductArea);
}
}
dataDto.setChildren(children);
}