Commit 05e33af0 by xiaoyj

解决问题

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22019 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent d1465c3f
......@@ -54,7 +54,7 @@ public class DeviceCtroller {
*/
@RequestMapping(value = "/insertDevice", method = { RequestMethod.GET, RequestMethod.POST })
public ResultObject insertDevice(HttpServletRequest request,String deviceNos,String indentNo) {
if (StringUtils.isEmpty(indentNo) || StringUtils.isEmpty(indentNo)) {
if (StringUtils.isEmpty(deviceNos) || StringUtils.isEmpty(indentNo)) {
return new ResultObject(ResultCodeEnum.PARAM_ERROR.getCode(), ResultCodeEnum.PARAM_ERROR.getMsg());
}
String[] arr=deviceNos.split(",");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!