Commit 79e55a7b by 高晓磊

获取场站所有砂石判断无库存就不给展示

parent 81040d2a
......@@ -270,6 +270,9 @@ public class InventoryServiceImpl implements InventoryService {
if(item.getBigDecimal("price")==null || item.getBigDecimal("price").compareTo(BigDecimal.ZERO)<1){
continue;
}
if(item.getBigDecimal("amount")==null || item.getBigDecimal("amount").compareTo(BigDecimal.ZERO)<1){
continue;
}
StationDinasTypeRelation r = new StationDinasTypeRelation();
r.setStationId(item.get("station").getUuid("id"));
r.setStationName(item.get("station").getString("stationName"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment