This commit is contained in:
linfso 2024-05-25 17:33:42 +08:00
parent e0a1510f81
commit a7b7cbb74b
2 changed files with 2 additions and 3 deletions

View File

@ -87,6 +87,7 @@ public class EmisDestinationServiceImpl implements IEmisDestinationService
// 根据大区获取目的网点
EmisDestination queryEmisDestination = new EmisDestination();
queryEmisDestination.setCountryAreaId(areaId);
queryEmisDestination.setStatus(1);
List<EmisDestination> destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
if(!CollectionUtil.isEmpty(destinationList)){
return destinationList.get(0);
@ -95,6 +96,7 @@ public class EmisDestinationServiceImpl implements IEmisDestinationService
// 根据国家查询
queryEmisDestination = new EmisDestination();
queryEmisDestination.setCountry(country);
queryEmisDestination.setStatus(1);
destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
if(!CollectionUtil.isEmpty(destinationList)){
return destinationList.get(0);

View File

@ -66,9 +66,6 @@
</select>
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
<include refid="selectEmisDestinationVo"/>
<where>