This commit is contained in:
linfso 2024-05-08 09:35:27 +08:00
parent 1ace91a1c4
commit 1ba2002da6
2 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,8 @@ public class EmisDestinationController extends BaseController
},value= EmisDestination.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
public AjaxResult getDestSite(String country,String lineCode,String province,String city,String county,String address)
{
if(StringUtils.isAnyEmpty(lineCode,province)){
// lineCode,
if(StringUtils.isAnyEmpty(province)){
return AjaxResult.error("参数错误,线路和省份不能为空!");
}

View File

@ -103,7 +103,7 @@ public class EmisDestinationServiceImpl implements IEmisDestinationService
if(areaId != null && areaId> 0 ){
// 查询目的地,优先根据区域查询,如果查询不到则按线路查询
queryEmisDestination = new EmisDestination();
queryEmisDestination.setLineCode(lineCode);
// queryEmisDestination.setLineCode(lineCode);
queryEmisDestination.setCountryAreaId(areaId);
destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
if(!CollectionUtil.isEmpty(destinationList)){