public Boolean deleteByUniqueIndexsystemNameelementName(String systemName, String elementName) {
   HtmlElementConfig htmlElementConfig = new HtmlElementConfig();
   htmlElementConfig.setSystemName(systemName);
   htmlElementConfig.setElementName(elementName);
   int result =
       htmlElementConfigMapper.deleteByUniqueIndexsystemNameelementName(htmlElementConfig);
   return result == 0 ? false : true;
 }
 @Override
 public Boolean batchDelete(List<HtmlElementConfig> htmlElementConfigList) {
   // 事务控制
   TransactionStatus status = null;
   try {
     // 开始事务
     status =
         this.initTansactionStatus(transactionManager, TransactionDefinition.PROPAGATION_REQUIRED);
     for (HtmlElementConfig htmlElementConfig : htmlElementConfigList) {
       htmlElementConfigMapper.deleteByUniqueIndexsystemNameelementName(htmlElementConfig);
     }
     transactionManager.commit(status);
     return true;
   } catch (Exception e) {
     transactionManager.rollback(status);
     logger.error("批量删除失败", e);
     return false;
   }
 }