Commit b8768286 by lyhuang

remove unused autowired

parent 94138452
...@@ -8,7 +8,6 @@ import org.apache.commons.lang.StringUtils; ...@@ -8,7 +8,6 @@ import org.apache.commons.lang.StringUtils;
import org.jsoup.helper.StringUtil; import org.jsoup.helper.StringUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
...@@ -27,6 +26,7 @@ import com.ctrip.fun.common.vo.user.UserQuery; ...@@ -27,6 +26,7 @@ import com.ctrip.fun.common.vo.user.UserQuery;
//import cc.rssoft.framework.config.service.ConfigService; //import cc.rssoft.framework.config.service.ConfigService;
//import cc.rssoft.framework.springutil.ApplicationHelper; //import cc.rssoft.framework.springutil.ApplicationHelper;
//import cc.rssoft.framework.websocket.WebsocketService; //import cc.rssoft.framework.websocket.WebsocketService;
...@@ -51,15 +51,13 @@ import cc.rssoft.rsmw.sdk.command.response.IsExtenResponse; ...@@ -51,15 +51,13 @@ import cc.rssoft.rsmw.sdk.command.response.IsExtenResponse;
* @author jyf * @author jyf
* *
*/ */
public class NewStateEventHandler extends AbstractEventHandler { public class NewStateEventHandler extends AbstractEventHandler {
private final Logger logger = LoggerFactory.getLogger(this.getClass()); private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private CallCenterService ccService; private CallCenterService ccService;
@Autowired
private UserService userService; private UserService userService;
@Override @Override
...@@ -256,6 +254,15 @@ public class NewStateEventHandler extends AbstractEventHandler { ...@@ -256,6 +254,15 @@ public class NewStateEventHandler extends AbstractEventHandler {
return uid; return uid;
} }
public CallCenterService getCcService() {
return ccService;
}
public UserService getUserService() {
return userService;
}
public void setCcService(CallCenterService ccService) { public void setCcService(CallCenterService ccService) {
this.ccService = ccService; this.ccService = ccService;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment