| | |
| | | } |
| | | |
| | | @Override |
| | | public int deleteSysControllers(List<Integer> ids) { |
| | | public int deleteSysControllers(List<Long> ids) { |
| | | try { |
| | | return this.sysControllerDao.deleteSysControllers(ids); |
| | | } catch (DataAccessException e) { |
| | |
| | | |
| | | } |
| | | //主控类型 |
| | | Map<String, String> typeMap = new HashMap<>(); |
| | | Map<String, Long> typeMap = new HashMap<>(); |
| | | if (typeList != null && typeList.size() > 0) { |
| | | typeList.forEach(type->{ |
| | | typeMap.put(type.getMetaValue(), type.getId()); |
| | |
| | | } |
| | | valuesList.add(cellInfo); |
| | | } |
| | | |
| | | if (valuesList.size() != 3){ |
| | | break; |
| | | } |
| | | |
| | | //重名判断 |
| | | String controlName = valuesList.get(0); |
| | | if (controllerInfo.contains(controlName)){ |
| | |
| | | } |
| | | |
| | | @Override |
| | | public SysController getSysController(Integer id) { |
| | | public SysController getSysController(Long id) { |
| | | try { |
| | | return this.sysControllerDao.getSysController(id); |
| | | } catch (DataAccessException e) { |