|
|
@@ -828,11 +828,11 @@ public class KwoTradeOrderService {
|
|
|
if (Objects.isNull(param.getEndTime())) {
|
|
|
throw new BusinessException("结束时间不能为空!");
|
|
|
}
|
|
|
+ if (StringUtils.isBlank(param.getDeliveryType())) {
|
|
|
+ throw new BusinessException("交付类型不能为空!");
|
|
|
+ }
|
|
|
ContractInfo contractInfo = param.getContractInfo();
|
|
|
if (Objects.equals(source, OrderSourceEnum.SALE.getType())) {
|
|
|
- if (StringUtils.isBlank(param.getDeliveryType())) {
|
|
|
- throw new BusinessException("交付类型不能为空!");
|
|
|
- }
|
|
|
if (Objects.isNull(contractInfo)) {
|
|
|
throw new BusinessException("代客下单合同信息不能为空");
|
|
|
}
|