Commit 57ff5efb by wangnb

设备控制类命名规范--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28050 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 8e9230df
package com.glsx.ordercenter.controller; package com.glsx.ordercenter.controller;
import java.util.Arrays; import com.glsx.common.annotation.AuthCheck;
import java.util.List; import com.glsx.common.constants.ResultObject;
import com.glsx.common.utils.UserUtils;
import javax.servlet.http.HttpServletRequest; import com.glsx.ordercenter.constants.ResultCodeEnum;
import com.glsx.ordercenter.pojo.SysDevice;
import com.glsx.ordercenter.service.DeviceService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -12,14 +13,8 @@ import org.springframework.web.bind.annotation.RequestMethod; ...@@ -12,14 +13,8 @@ import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import com.glsx.common.annotation.AuthCheck; import javax.servlet.http.HttpServletRequest;
import com.glsx.common.constants.ResultObject; import java.util.List;
import com.glsx.common.utils.UserUtils;
import com.glsx.ordercenter.constants.ResultCodeEnum;
import com.glsx.ordercenter.pojo.SysDevice;
import com.glsx.ordercenter.pojo.SysIndent;
import com.glsx.ordercenter.service.DeviceService;
import com.glsx.ordercenter.service.IndentService;
/** /**
* @author xiaoyj * @author xiaoyj
...@@ -30,7 +25,7 @@ import com.glsx.ordercenter.service.IndentService; ...@@ -30,7 +25,7 @@ import com.glsx.ordercenter.service.IndentService;
@RestController @RestController
@AuthCheck @AuthCheck
@RequestMapping("/device") @RequestMapping("/device")
public class DeviceCtroller { public class DeviceController {
@Autowired @Autowired
private DeviceService deviceService; private DeviceService deviceService;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!