// 验证名称重名
 public boolean validateName(Integer id, String name) {
   MeetingRoom t = new MeetingRoom();
   if (id == null) {
     id = 0;
   }
   t.getMap().put("id", id);
   t.getMap().put("name", name);
   t.getMap().put("name_valid", "true");
   int count = meetingRoomDao.selectEntityCount(t);
   if (count > 0) {
     return false;
   } else {
     return true;
   }
 }
 /**
  * @Description 根据多个Id删除
  *
  * @param ids
  * @return JsonResult
  * @author davidwan
  */
 public JsonResult removeByIds(String ids) {
   MeetingRoom entity = new MeetingRoom();
   entity.getMap().put("ids", ids.split(","));
   int result = meetingRoomDao.deleteEntity(entity);
   if (result > 0) {
     // 添加操作日志
     systemLogService.create(EnumLogModule.会议室管理.getValue(), "批量删除会议室", "批量删除会议室ID:" + ids);
     return new JsonResult(true);
   } else {
     return new JsonResult(false);
   }
 }