md
This commit is contained in:
parent
e0a1510f81
commit
a7b7cbb74b
@ -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);
|
||||
|
||||
@ -66,9 +66,6 @@
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
||||
<include refid="selectEmisDestinationVo"/>
|
||||
<where>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user