修改关联第三方仓库和单据提交bug

ww
郑明梁 2 years ago
parent 75d82bbc44
commit 7246bd6f18

@ -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);

@ -11,6 +11,7 @@ public class FilterThrInvWarehouseRequest extends ListPageRequest {
private Integer id; private Integer id;
private Integer pid; private Integer pid;
private String code; private String code;
private Integer status;
private String name; private String name;
private Boolean advanceType; private Boolean advanceType;
private Boolean isDefault; private Boolean isDefault;

@ -15,6 +15,9 @@
<if test="pid != '' and pid != null"> <if test="pid != '' and pid != null">
AND pid = #{pid} AND pid = #{pid}
</if> </if>
<if test="status != null">
AND thrInv.status = #{status}
</if>
<if test="code != '' and code != null"> <if test="code != '' and code != null">
AND code = #{code} AND code = #{code}
</if> </if>

Loading…
Cancel
Save