diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadMapper.xml b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadMapper.xml index 3aacc3207..683252672 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadMapper.xml +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadMapper.xml @@ -154,7 +154,6 @@ left join logpm_distribution_parcel_list ldpl on ldsa.order_code = ldpl.order_code where ldpl.is_deleted = 0 and ldpl.order_package_status = '20' - and and ldpl.is_deleted = 0 and ldpl.is_transfer = 1 and ldpl.waybill_number is not null diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java index 4ba1bcf3d..073057e28 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java @@ -2970,16 +2970,9 @@ public class OpenOrderServiceImpl implements IOpenOrderService { } String newRemark = openOrderDTO.getRemark(); String remark = waybillEntity.getRemark(); - if (!StringUtil.isBlank(remark)) { - if (!remark.equals(newRemark)) { - stringBuilder.append("备注:").append(remark).append("-->").append(newRemark).append(";"); - waybillEntity.setRemark(newRemark); - } - } else { - if (!StringUtil.isBlank(newRemark)) { - stringBuilder.append("备注:").append(remark).append("-->").append(newRemark).append(";"); - waybillEntity.setRemark(newRemark); - } + if(!ObjectUtil.equals(remark,newRemark)){ + stringBuilder.append("备注:").append(remark).append("-->").append(newRemark).append(";"); + waybillEntity.setRemark(newRemark); } return stringBuilder.toString(); diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java index 590a10a58..21f11dd11 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java @@ -1359,6 +1359,19 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl