单据查询问题修改

test^2
郑明梁 2 years ago
parent 73c14e4e01
commit 334523f8c9

@ -126,12 +126,12 @@ public class UdiRelevanceServiceImpl extends ServiceImpl<UdiRelevanceDao, UdiRel
} else {
udiRelevanceResponses = selectGroupByNameCode(nameCode, false);
}
if (udiRelevanceResponses.size() == 1) {
UdiRelevanceResponse udiRelevanceResponse = udiRelevanceResponses.get(0);
if (udiRelevanceResponse == null || udiRelevanceResponse.getProductType() == ConstantStatus.PRODUCT_TYPE_THIRD) {
return selectByMainId(nameCode);
}
}
// if (udiRelevanceResponses.size() == 1) {
// UdiRelevanceResponse udiRelevanceResponse = udiRelevanceResponses.get(0);
// if (udiRelevanceResponse == null || udiRelevanceResponse.getProductType() == ConstantStatus.PRODUCT_TYPE_THIRD) {
// return selectByMainId(nameCode);
// }
// }
return udiRelevanceResponses;

Loading…
Cancel
Save