@ -130,7 +130,7 @@ public class ThrProductsController {
}
List<UdiRelevanceResponse> udiRelevanceResponses = udiRelevanceService.filterUdiRelevance(filterUdiInfoRequest);
if (udiRelevanceResponses != null && udiRelevanceResponses.size() > 0) {
return "该产品已与UDI码关联,无法删除!";
return "改产品已被选入耗材字典请先移除!";
boolean b = thrProductsService.deleteById(id);
@ -11,6 +11,7 @@ public class FilterThrInvWarehouseRequest extends ListPageRequest {
private Integer id;
private Integer pid;
private String code;
private Integer status;
private String name;
private Boolean advanceType;
private Boolean isDefault;
@ -15,6 +15,9 @@
<if test="pid != '' and pid != null">
AND pid = #{pid}
</if>
<if test="status != null">
AND thrInv.status = #{status}
<if test="code != '' and code != null">
AND code = #{code}