xufenglei
2017-12-04 b28a5002a58d8d0b37082da12e5b218f0951de47
src/main/java/com/moral/controller/ScreenController.java
@@ -12,11 +12,10 @@
import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.Resource;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
@@ -43,24 +42,24 @@
public class ScreenController {
   /** The screen service. */
   @Autowired
   @Resource
   private HistoryService historyService;
   /** The account service. */
   @Autowired
   @Resource
   private AccountService accountService;
   /** The device service. */
   @Autowired
   @Resource
   private DeviceService deviceService;
   /** The resource. */
   @Value(value = "classpath:system/alarmLevels.json")
   private Resource resource;
   private org.springframework.core.io.Resource resource;
   /** The redis template. */
   @javax.annotation.Resource
   RedisTemplate<String, String> redisTemplate;
   @Resource
   private RedisTemplate<String, String> redisTemplate;
   /** The level key. */
   private String levelKey = "alarm_level_config";