|
|
@@ -1895,7 +1895,7 @@ public class ShipServiceImpl extends ServiceImpl<ShipMapper, PjShip> implements
|
|
|
if ("1".equals(goodsDesc.getWhether()) && ObjectUtils.isNull(item.getDot())) {
|
|
|
throw new RuntimeException("商品:" + goodsDesc.getCname() + ",请选择批次号");
|
|
|
}
|
|
|
- if (!"TKSHGD".contains(ship.getBizTypeName())) {
|
|
|
+ if (!"TKSHGD".equals(ship.getBizTypeName())) {
|
|
|
PjOrderItems orderItems = pjOrderItems.stream().filter(e -> e.getId().equals(item.getSrcItemId())).findFirst().orElse(null);
|
|
|
if (orderItems != null) {
|
|
|
if (orderItems.getGoodsNum().compareTo(orderItems.getSendNum().add(item.getSendNum())) < 0) {
|