Commit 43ab74de authored by chenzhao's avatar chenzhao

修改代码

parent e20393d3
......@@ -268,7 +268,7 @@ public class PointController extends AbstractBaseController {
List<PointClassify> pointClassifies = iPointClassifyDao.queryByPointIdAndEquipmentId(pointId,equipMentId);
if (pointClassifies.size() > 0){
throw new RuntimeException(pointClassifies.get(0).getName() + "已存在,不可添加");
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