Browse Source

优化交车准备状态显示

master
dimengzhe 2 years ago
parent
commit
49609e5da5
  1. 2
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/bushandoverpreparevehicle/BusHandoverPrepareVehicleService.java

2
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/bushandoverpreparevehicle/BusHandoverPrepareVehicleService.java

@ -154,7 +154,7 @@ public class BusHandoverPrepareVehicleService extends MybatisBaseService<BusHand
//根据随车资料主表sid查询随车资料的记录
List<HandoverInformationIntemVo> listTwo = busVehicleInformationService.selectByMainSid(busVehicleInformationHandover.getSid());
list.removeAll(Collections.singleton(null));
if(listTwo.size() <=1){
if(listTwo.size() ==1){
HandoverInformationIntemVo handoverInformationIntemVo = listTwo.get(0);
if(StringUtils.isBlank(handoverInformationIntemVo.getRecTime())){
vo.setOnBoardDataState(false);

Loading…
Cancel
Save