Prechádzať zdrojové kódy

修改发货必填附件

Yangzw 9 mesiacov pred
rodič
commit
0d30d78297

+ 1 - 1
feifan-module-mall/feifan-module-trade-biz/src/main/java/cn/newfeifan/mall/module/trade/service/order/TradeOrderUpdateServiceImpl.java

@@ -353,7 +353,7 @@ public class TradeOrderUpdateServiceImpl implements TradeOrderUpdateService {
     @TradeOrderLog(operateType = TradeOrderOperateTypeEnum.ADMIN_DELIVERY)
     public void deliveryOrder(TradeOrderDeliveryReqVO deliveryReqVO) {
         //校验发货信息不能都为空
-        if (deliveryReqVO.getLogisticsNo() == null && deliveryReqVO.getDeliveryRemark() == null) {
+        if (deliveryReqVO.getLogisticsNo() == null && deliveryReqVO.getAttachment() == null) {
             throw exception(ORDER_DELIVERY_DETAILS_IS_NULL);
         }