代马帅提交

This commit is contained in:
syruan 2025-10-31 13:31:26 +08:00
parent 6aa9887316
commit ed79555cd7
1 changed files with 6 additions and 0 deletions

View File

@ -509,6 +509,12 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
if (detail.getTypeId() != null) {
List<MaCodeVo> maCodeVoList = maCodeMap.get(detail.getTypeId().toString());
if (!CollectionUtils.isEmpty(maCodeVoList)) {
if (StringUtils.isNotBlank(publishTask)) {
// 获取到maCodeVoList中publishTask与detail中publishTask相同的
maCodeVoList = maCodeVoList.stream()
.filter(maCode -> StringUtils.equals(maCode.getPublishTask(), publishTask))
.collect(Collectors.toList());
}
detail.setMaCodeVoList(maCodeVoList);
}
}