Explorar el Código

周转率新增品名查询

fgd hace 1 año
padre
commit
84914040ad

+ 5 - 0
sd-business/src/main/java/com/sd/business/entity/board/dto/TurnoverRateBoardSelectDto.java

@@ -21,6 +21,11 @@ public class TurnoverRateBoardSelectDto {
     private Integer bomClassify;
 
     /**
+     * bom品名
+     */
+    private String bomSpecName;
+
+    /**
      * 宽
      */
     private BigDecimal width;

+ 1 - 0
sd-business/src/main/java/com/sd/business/service/order/impl/OrderSalesShipmentStatisticsServiceImpl.java

@@ -99,6 +99,7 @@ public class OrderSalesShipmentStatisticsServiceImpl extends ServiceImpl<OrderSa
         wrapper.eq("b", Bom::getChromatophore, dto.getChromatophore());
         wrapper.like("bs", BomSpec::getWidth, dto.getWidth());
         wrapper.like("bs", BomSpec::getHeight, dto.getHeight());
+        wrapper.like("bs", BomSpec::getName, dto.getBomSpecName());
         wrapper.groupBy("osss.bom_spec_id");
         List<TurnoverRateSalesShipmentStatisticsBo> statisticsVoList = this.baseMapper.getTurnoverRateSalesShipmentStatisticsList(wrapper);
         if (ObjectUtil.isEmpty(statisticsVoList)) {