|
@@ -177,7 +177,7 @@ public class CommonServiceImpl implements CommonService {
|
|
|
@Override
|
|
|
public List<BoatContactVo> selectBoatContactByMmsi(ShipDataRequest param) throws Exception{
|
|
|
String[] mmsis = param.getMmsi().split(",");
|
|
|
- if (mmsis != null && mmsis.length > 1){
|
|
|
+ if (mmsis != null && mmsis.length > 0){
|
|
|
if(mmsis.length > 500){
|
|
|
throw new EnumException("mmsi批量查询不得超过500条");
|
|
|
}
|