/** 检查判断物料是否存在,存在返回1,不存在返回0 */ @Override public <ModelType> int checkMaterial(ModelType record) throws ServiceException { try { return basBomListDao.checkMaterial(record); } catch (Exception e) { throw new ServiceException(e.getMessage(), e); } }