添加动态航班整体处理框架
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user