From af67fb927c3f30fa70df834f0e97f0b4a91e6119 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 10 四月 2025 14:58:22 +0800
Subject: [PATCH] 修改

---
 src/main/java/com/example/client/service/DismantTrackService.java |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/src/main/java/com/example/client/service/DismantTrackService.java b/src/main/java/com/example/client/service/DismantTrackService.java
index b4f85dd..916b802 100644
--- a/src/main/java/com/example/client/service/DismantTrackService.java
+++ b/src/main/java/com/example/client/service/DismantTrackService.java
@@ -70,7 +70,7 @@
         JLabel JLabel0 = new JLabel("宸ョ▼");
         JComboBox comboBox = new JComboBox();
 
-        comboBox.setPreferredSize(new Dimension(112, 28));
+        comboBox.setPreferredSize(new Dimension(110, 28));
         for (int i = 0; i < shipList.size(); i++) {
             shipMap.put(shipList.get(i).getShipNo(), shipList.get(i).getId());
             comboBox.addItem(shipList.get(i).getShipNo());
@@ -79,23 +79,24 @@
 
         JLabel JLabel1 = new JLabel("閮ㄩ棬");
         JComboBox<JComboBoxItem> comboBox1 = new JComboBox<>(deptList);
-        comboBox1.setPreferredSize(new Dimension(112, 28));
+        comboBox1.setPreferredSize(new Dimension(110, 28));
 
         JComboBoxItem[] teamList1 = sysTeamGroupClassService.getTeamList(deptList[0].getId());
 
         JLabel JLabel2 = new JLabel("涓撲笟");
         JComboBox<JComboBoxItem> comboBox2 = new JComboBox<>(teamList1);
-        comboBox2.setPreferredSize(new Dimension(112, 28));
+        comboBox2.setPreferredSize(new Dimension(110, 28));
 
         JLabel JLabel3 = new JLabel("鑸卞");
         JComboBox<JComboBoxItem> comboBox3 = new JComboBox<>(cabinList);
-        comboBox3.setPreferredSize(new Dimension(112, 28));
+        comboBox3.setPreferredSize(new Dimension(110, 28));
 
         JLabel JLabel4 = new JLabel("绫诲埆");
         JComboBox<String> comboBox4 = new JComboBox<>(typeList);
-        comboBox4.setPreferredSize(new Dimension(112, 28));
+        comboBox4.setPreferredSize(new Dimension(110, 28));
 
-        JTextField sb = new JTextField(10);
+        JTextField sb = new JTextField();
+        sb.setPreferredSize(new Dimension(130, 28));
         JButton query = new JButton("鏌ヨ");
 
         top.add(JLabel0, new GBC(0, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5));
@@ -113,7 +114,7 @@
         top.add(query, new GBC(6, 1, 1, 1).setAnchor(GBC.SOUTHWEST).setInsets(5));
 
         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);
             return null;
@@ -139,7 +140,7 @@
                 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);
@@ -178,7 +179,7 @@
                         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);
@@ -208,7 +209,7 @@
                 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);
@@ -236,7 +237,7 @@
                 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);
@@ -264,7 +265,7 @@
                 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);
@@ -287,7 +288,7 @@
         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);

--
Gitblit v1.9.1