Browse Source

优化非机预警调用时机

develop
王兴琳 5 months ago
parent
commit
09303f90d7
  1. 3
      zc-business/src/main/java/com/zc/business/controller/NonAutomaticWarningController.java

3
zc-business/src/main/java/com/zc/business/controller/NonAutomaticWarningController.java

@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
@ -279,7 +280,7 @@ public class NonAutomaticWarningController extends BaseController {
return AjaxResult.error();
}
// @PostConstruct
@PostConstruct
public AjaxResult eventSubscriptionPostConstruct() throws Exception {
NonAutomaticWarning stringStringHashMap = new NonAutomaticWarning();
JSONObject nonAutomaticWarning = JSONObject.parseObject(configService.selectConfigByKey("nonAutomaticWarning"));

Loading…
Cancel
Save