diff --git a/src/main/java/com/zzjee/wmutil/wmUtil.java b/src/main/java/com/zzjee/wmutil/wmUtil.java index 61630639..fb428ac8 100644 --- a/src/main/java/com/zzjee/wmutil/wmUtil.java +++ b/src/main/java/com/zzjee/wmutil/wmUtil.java @@ -411,7 +411,7 @@ public class wmUtil { SystemService systemService =ApplicationContextUtil.getContext().getBean(SystemService.class); List list = systemService.findHql(hql,checkvalue); - if(list!=null&&list.size()>0){ + if(list!=null&&list.size()>0&&list.get(0).getGoodsQua()>0.01){//判断库存不为0 ishavestock = true; } return ishavestock; diff --git a/src/main/webapp/webpage/com/zzjee/md/mdGoodsList.jsp b/src/main/webapp/webpage/com/zzjee/md/mdGoodsList.jsp index 5da4168b..d84fd5fd 100644 --- a/src/main/webapp/webpage/com/zzjee/md/mdGoodsList.jsp +++ b/src/main/webapp/webpage/com/zzjee/md/mdGoodsList.jsp @@ -61,10 +61,10 @@ - + -<%-- --%> +