| | |
| | | JComboBoxItem[] teamList = sysTeamGroupClassService.getTeamList(null); |
| | | JComboBoxItem[] cabinList = cabinService.getList(); |
| | | String[] typeList = new String[]{ |
| | | "改装", "加装", "换装", "改进性修理","" |
| | | "","改装", "加装", "换装", "修理","改进性修理" |
| | | }; |
| | | List<DjJdgzShip> shipList = djJdgzShipService.getList(); |
| | | Map<String, Long> shipMap = new HashMap<>(); |
| | |
| | | jLeft.add(top, BorderLayout.NORTH); |
| | | |
| | | List<ColumnDto> columnDto = new ArrayList<>(); |
| | | list = level3Service.getList(null, deptList[0].getId(), teamList[0].getId(), cabinList[0].getId(), typeList[0],null); |
| | | list = level3Service.getList(shipList.get(0).getId(), deptList[0].getId(), teamList[0].getId(), cabinList[0].getId(), typeList[0],null,null); |
| | | |
| | | if (list == null || list.size() == 0) { |
| | | JOptionPane.showMessageDialog(null, "还未录入三级网络图数据", "提示", JOptionPane.WARNING_MESSAGE); |
| | |
| | | String type = comboBox4.getSelectedItem().toString(); |
| | | |
| | | Long shipId = shipMap.get(content); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null,null); |
| | | |
| | | CommonTable.refreshTable(list, columnDto, subTable); |
| | | subTable.setRowHeight(25); |
| | |
| | | String type = comboBox4.getSelectedItem().toString(); |
| | | |
| | | Long shipId = shipMap.get(content); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null,null); |
| | | |
| | | CommonTable.refreshTable(list, columnDto, subTable); |
| | | subTable.setRowHeight(25); |
| | |
| | | String type = comboBox4.getSelectedItem().toString(); |
| | | |
| | | Long shipId = shipMap.get(content); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null,null); |
| | | |
| | | CommonTable.refreshTable(list, columnDto, subTable); |
| | | subTable.setRowHeight(25); |
| | |
| | | String type = comboBox4.getSelectedItem().toString(); |
| | | |
| | | Long shipId = shipMap.get(content); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null,null); |
| | | |
| | | CommonTable.refreshTable(list, columnDto, subTable); |
| | | subTable.setRowHeight(25); |
| | |
| | | String type = comboBox4.getSelectedItem().toString(); |
| | | |
| | | Long shipId = shipMap.get(content); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null); |
| | | list = level3Service.getList(shipId, dept.getId(), team.getId(), cabin.getId(), type,null,null); |
| | | |
| | | CommonTable.refreshTable(list, columnDto, subTable); |
| | | subTable.setRowHeight(25); |
| | |
| | | query.addActionListener(new ActionListener() { |
| | | @Override |
| | | public void actionPerformed(ActionEvent e) { |
| | | list = level3Service.getList(null, null, null, null, null,sb.getText()); |
| | | list = level3Service.getList(null, null, null, null, null,null,sb.getText()); |
| | | |
| | | CommonTable.refreshTable(list, columnDto, subTable); |
| | | subTable.setRowHeight(25); |