From a857feef16fdd2ea9295f0be82a8fdaa34f13595 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 24 四月 2025 18:10:30 +0800 Subject: [PATCH] 修改 --- src/main/java/com/example/client/service/HandoverAddOrUpdate.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/example/client/service/HandoverAddOrUpdate.java b/src/main/java/com/example/client/service/HandoverAddOrUpdate.java index 7bddad5..e5155c7 100644 --- a/src/main/java/com/example/client/service/HandoverAddOrUpdate.java +++ b/src/main/java/com/example/client/service/HandoverAddOrUpdate.java @@ -2,6 +2,7 @@ import com.example.client.dto.ColumnDto; import com.example.client.dto.JComboBoxItem; +import com.example.client.utils.BoxIteUtils; import com.example.client.utils.CommonTable; import com.example.client.utils.GBC; import com.example.client.utils.UploadFile; @@ -64,7 +65,7 @@ JLabel JLabel0 = new JLabel("宸ョ▼"); JComboBox<JComboBoxItem> comboBox = new JComboBox<>(projectList); if(data.getLevel1NetworkId()!=null){ - comboBox.setSelectedItem(new JComboBoxItem(data.getLevel1NetworkId(),data.getProjectName())); + comboBox.setSelectedItem(BoxIteUtils.GetSelectItemById(projectList, data.getLevel1NetworkId())); } JLabel JLabel1 = new JLabel("浜ゆ柟T闃�"); -- Gitblit v1.9.1