fix:过滤库存查询页面库存为0的数据

main
HuangHuiKang 3 days ago
parent 41db99aab2
commit c5b552af80

@ -65,6 +65,7 @@ public interface ErpStockMapper extends BaseMapperX<ErpStockDO> {
.eqIfPresent(ErpStockDO::getAreaId, reqVO.getAreaId())
.eqIfPresent(ErpStockDO::getCategoryId, reqVO.getCategoryId())
.eqIfPresent(ErpStockDO::getCategoryType, reqVO.getCategoryType())
.ne(ErpStockDO::getCount, BigDecimal.ZERO)
.orderByDesc(ErpStockDO::getId);
// 单独处理 ids 条件

Loading…
Cancel
Save