完善计划机位和登机桥联动变更,同时加入基础数据缓存

This commit is contained in:
zhouxiunai
2019-01-28 15:46:06 +08:00
parent 3373457171
commit 9f80b92587
9 changed files with 478 additions and 9 deletions
@@ -0,0 +1,29 @@
package com.gzzn.omms.msgexchangeapi.basicdata;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.gzzn.omms.msgexchangeapi.basicdata.entity.OrmsStand;
import com.gzzn.omms.msgexchangeapi.basicdata.service.IOrmsStandService;
@RunWith(SpringRunner.class)
@SpringBootTest
public class OrmsStandServiceImplTest {
@Autowired
IOrmsStandService ormsStandService;
@Test
public void testFindAll()
{
List<OrmsStand> lsOrmsStands = ormsStandService.findAll();
assertThat(lsOrmsStands).isNotEmpty();
}
}