@ -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 条件