|
|
@ -130,7 +130,7 @@ public class ThrProductsController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<UdiRelevanceResponse> udiRelevanceResponses = udiRelevanceService.filterUdiRelevance(filterUdiInfoRequest);
|
|
|
|
List<UdiRelevanceResponse> udiRelevanceResponses = udiRelevanceService.filterUdiRelevance(filterUdiInfoRequest);
|
|
|
|
if (udiRelevanceResponses != null && udiRelevanceResponses.size() > 0) {
|
|
|
|
if (udiRelevanceResponses != null && udiRelevanceResponses.size() > 0) {
|
|
|
|
return "该产品已与UDI码关联,无法删除!";
|
|
|
|
return "改产品已被选入耗材字典请先移除!";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
boolean b = thrProductsService.deleteById(id);
|
|
|
|
boolean b = thrProductsService.deleteById(id);
|
|
|
|