@ -535,6 +535,12 @@ public class BusHandoverPrepareService extends MybatisBaseService<BusHandoverPre
List < BusHandoverPrepareVehicle > busHandoverPrepareVehicleList = busHandoverPrepareVehicleService . selectByApplySid ( dto . getSid ( ) ) ;
busHandoverPrepareVehicleList . removeAll ( Collections . singleton ( null ) ) ;
if ( ! busHandoverPrepareVehicleList . isEmpty ( ) ) {
List < String > vinSidList = busHandoverPrepareVehicleList . stream ( ) . map ( v - > v . getVinSid ( ) ) . collect ( Collectors . toList ( ) ) ;
//查询车辆的随车资料是否都已移交
List < String > countList = busVehicleInformationHandoverService . selectByVinSid ( vinSidList ) ;
if ( ! countList . isEmpty ( ) ) {
return rb . setMsg ( "车辆:" + String . join ( "," , countList ) + "随车资料未完成交接" ) ;
}
String sid = dto . getSid ( ) ;
for ( BusHandoverPrepareVehicle handoverPrepareVehicle : busHandoverPrepareVehicleList ) {
BusHandoverWaitDto busHandoverWaitDto = new BusHandoverWaitDto ( ) ;
@ -542,7 +548,7 @@ public class BusHandoverPrepareService extends MybatisBaseService<BusHandoverPre
busHandoverWaitDto . setCustomerName ( busHandoverPrepare . getCustomerName ( ) ) ;
busHandoverWaitDto . setCustomerSid ( busHandoverPrepare . getCustomerSid ( ) ) ;
busHandoverWaitDto . setVinNo ( handoverPrepareVehicle . getVinNo ( ) ) ;
busHandoverWaitDto . setVinNo ( handoverPrepareVehicle . getVinSid ( ) ) ;
busHandoverWaitDto . setVinSid ( handoverPrepareVehicle . getVinSid ( ) ) ;
busHandoverWaitDto . setModelSid ( busHandoverPrepare . getModelSid ( ) ) ;
busHandoverWaitDto . setModelName ( busHandoverPrepare . getModel ( ) ) ;
busHandoverWaitDto . setPayStateKey ( handoverPrepareVehicle . getSubscriptionKey ( ) ) ;