md
This commit is contained in:
parent
e0a1510f81
commit
a7b7cbb74b
@ -87,6 +87,7 @@ public class EmisDestinationServiceImpl implements IEmisDestinationService
|
|||||||
// 根据大区获取目的网点
|
// 根据大区获取目的网点
|
||||||
EmisDestination queryEmisDestination = new EmisDestination();
|
EmisDestination queryEmisDestination = new EmisDestination();
|
||||||
queryEmisDestination.setCountryAreaId(areaId);
|
queryEmisDestination.setCountryAreaId(areaId);
|
||||||
|
queryEmisDestination.setStatus(1);
|
||||||
List<EmisDestination> destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
|
List<EmisDestination> destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
|
||||||
if(!CollectionUtil.isEmpty(destinationList)){
|
if(!CollectionUtil.isEmpty(destinationList)){
|
||||||
return destinationList.get(0);
|
return destinationList.get(0);
|
||||||
@ -95,6 +96,7 @@ public class EmisDestinationServiceImpl implements IEmisDestinationService
|
|||||||
// 根据国家查询
|
// 根据国家查询
|
||||||
queryEmisDestination = new EmisDestination();
|
queryEmisDestination = new EmisDestination();
|
||||||
queryEmisDestination.setCountry(country);
|
queryEmisDestination.setCountry(country);
|
||||||
|
queryEmisDestination.setStatus(1);
|
||||||
destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
|
destinationList=emisDestinationMapper.selectEmisDestinationList(queryEmisDestination);
|
||||||
if(!CollectionUtil.isEmpty(destinationList)){
|
if(!CollectionUtil.isEmpty(destinationList)){
|
||||||
return destinationList.get(0);
|
return destinationList.get(0);
|
||||||
|
|||||||
@ -66,9 +66,6 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
|
||||||
<include refid="selectEmisDestinationVo"/>
|
<include refid="selectEmisDestinationVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user