Commit 7541c1cb authored by zhangsen's avatar zhangsen

巡检相关bug xiugai

parent 1135944a
...@@ -1573,6 +1573,19 @@ public class PointController extends AbstractBaseController { ...@@ -1573,6 +1573,19 @@ public class PointController extends AbstractBaseController {
} }
} }
@TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(value = "新增巡查对象", notes = "新增巡查对象")
@GetMapping(value = "/xcdxIsExits", produces = "application/json;charset=UTF-8")
public CommonResponse xcdxIsExits(Long pointId,String equipMentId){
List<PointClassify> pointClassifies = iPointClassifyDao.queryByPointIdAndEquipmentId(pointId,equipMentId);
if (pointClassifies.size() > 0){
return CommonResponseUtil.success(false);
}
return CommonResponseUtil.success(true);
}
/** /**
* 查询巡检点信息 * 查询巡检点信息
* *
......
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