fix: 去掉不必要的校验

haikang
huangfeng 1 year ago
parent b153a2d99f
commit 2197c2cb71

@ -54,7 +54,7 @@ public class NSensorController extends BasicController {
@GetMapping("listAll")
@ApiOperation("查询列表")
public Response<List<NSensor>> listAll(@NotNull(message = "主设备编号不能缺少") @Param("zsbid") Integer zsbid) throws Exception {
public Response<List<NSensor>> listAll(@Param("zsbid") Integer zsbid) throws Exception {
List<NSensor> result = service.listAll(zsbid);
return Response.success(result);
}

Loading…
Cancel
Save