if (isEmpty(activeObus)) { | if (isEmpty(activeObus)) { | ||||
return null; | return null; | ||||
} | } | ||||
response.setInfo("车牌有在用的OBU,OBU编号:"+activeObus.get(0).getObuId()); | |||||
if(hasText(response.getInfo())) { | |||||
response.setInfo(response.getInfo()+";车牌有在用的OBU,OBU编号:" + activeObus.get(0).getObuId()); | |||||
}else { | |||||
response.setInfo("车牌有在用的OBU,OBU编号:" + activeObus.get(0).getObuId()); | |||||
} | |||||
return response; | return response; | ||||
} | } | ||||
} | } |