Commit 78ba6319 authored by zhengjiawei's avatar zhengjiawei

bug

parent 2e51cba9
...@@ -96,7 +96,7 @@ public class EquipmentSpecificController extends BaseController{ ...@@ -96,7 +96,7 @@ public class EquipmentSpecificController extends BaseController{
@RequestParam(value = "pageSize",required = false) int pageSize, @RequestParam(value = "pageSize",required = false) int pageSize,
@RequestParam(value = "equipmentId",required = false) String equipmentId ) { @RequestParam(value = "equipmentId",required = false) String equipmentId ) {
Long aLong = null; Long aLong = null;
if (equipmentId != null && !"".equals(equipmentId.trim())){ if (!"null".equals(equipmentId) && equipmentId != null && !"".equals(equipmentId.trim())){
aLong = Long.valueOf(equipmentId); aLong = Long.valueOf(equipmentId);
} }
return CommonResponseUtil.success(equipmentSpecificService.getEquipmentBySpeV2(name, pageNumber, pageSize,aLong)); return CommonResponseUtil.success(equipmentSpecificService.getEquipmentBySpeV2(name, pageNumber, pageSize,aLong));
......
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 to comment