添加动态航班整体处理框架

This commit is contained in:
zhouxiunai
2018-12-04 11:37:45 +08:00
parent af4809efca
commit 747232bc89
6 changed files with 100 additions and 21 deletions
@@ -0,0 +1,29 @@
package com.gzzn.omms.msgexchangeapi.utils;
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.entity.msg.schd.dnld.FLTR;
import com.gzzn.omms.msgexchangeapi.redis.RedisService;
@RunWith(SpringRunner.class)
@SpringBootTest
public class RedisServiceTest {
@Autowired
RedisService redisService;
@Test
public void testReids()
{
//准备数据
FLTR flightInfo = new FLTR();
flightInfo.setFlid("12333");
flightInfo.setAcft("acft");
redisService.set(flightInfo.getFlid(), flightInfo);
}
}