|
|
@@ -986,7 +986,7 @@ public class ShipServiceImpl extends ServiceImpl<ShipMapper, PjShip> implements
|
|
|
.eq(PjOrder::getWhetherFinancing, "1")
|
|
|
.eq(PjOrder::getBsType, "RZCG")
|
|
|
.ge(PjOrder::getBusinesDate, dateTime)
|
|
|
- .apply("goods_total_ship_num > out_goods_total_ship_num")
|
|
|
+ .apply("goods_total_ship_num >= out_goods_total_ship_num")
|
|
|
.orderByAsc(PjOrder::getBusinesDate)
|
|
|
);
|
|
|
List<Long> ordIds = orderList.stream().map(PjOrder::getId).collect(Collectors.toList());
|
|
|
@@ -998,7 +998,7 @@ public class ShipServiceImpl extends ServiceImpl<ShipMapper, PjShip> implements
|
|
|
.eq(PjOrderItems::getBizType, "RZCG")
|
|
|
.in(PjOrderItems::getGoodsId, goodsList)
|
|
|
.in(PjOrderItems::getPid, ordIds)
|
|
|
- .apply("send_num > out_goods_total_ship_num")
|
|
|
+ .apply("send_num >= out_goods_total_ship_num")
|
|
|
.orderByAsc(PjOrderItems::getCreateTime)
|
|
|
);
|
|
|
BigDecimal amountSum = new BigDecimal("0.00");
|