|
|
@@ -2689,7 +2689,7 @@ public class OtcTradeOrderServiceImpl implements OtcTradeOrderService {
|
|
|
if(!Objects.equals(oldvoyageId, newvoyageId)){
|
|
|
return CommonResult.error(ORDER_NOT_VOYAGE_CHANGE);
|
|
|
}
|
|
|
- if(policyList!=null && createVO.getIsYd() == 1){
|
|
|
+ if((policyList!=null && policyList.size() > 0) && createVO.getIsYd() == 1){
|
|
|
return CommonResult.error(ORDER_NOT_ORDER_CHANGE);
|
|
|
}
|
|
|
//现在给整个订单号的加锁
|