| | |
| | | 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()); |
| | |
| | | |
| | | 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)); |
| | |
| | | } |
| | | model.setDataVector(data, columnIdentifiers); |
| | | table.setModel(model); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(650); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(80); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(550); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(150); |
| | | |
| | | table.getColumnModel().getColumn(0).setCellRenderer(new TableViewRenderer()); |
| | | table.getColumnModel().getColumn(1).setCellRenderer(new TableCellRendererButton()); |
| | |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(550); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(150); |
| | | |
| | | |
| | | table.getColumnModel().getColumn(0).setCellRenderer(new TableViewRenderer()); |
| | | table.getColumnModel().getColumn(1).setCellRenderer(new TableCellRendererButton()); |
| | | table.getColumnModel().getColumn(1).setCellEditor(new TableCellEditorButton(null, null)); |
| | |
| | | |
| | | model.setDataVector(data, columnIdentifiers); |
| | | table.setModel(model); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(650); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(80); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(550); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(150); |
| | | |
| | | table.getColumnModel().getColumn(0).setCellRenderer(new TableViewRenderer()); |
| | | table.getColumnModel().getColumn(1).setCellRenderer(new TableCellRendererButton()); |
| | |
| | | |
| | | model.setDataVector(data, columnIdentifiers); |
| | | table.setModel(model); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(650); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(80); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(550); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(150); |
| | | |
| | | table.getColumnModel().getColumn(0).setCellRenderer(new TableViewRenderer()); |
| | | table.getColumnModel().getColumn(1).setCellRenderer(new TableCellRendererButton()); |
| | |
| | | |
| | | model.setDataVector(data, columnIdentifiers); |
| | | table.setModel(model); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(650); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(80); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(550); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(150); |
| | | |
| | | table.getColumnModel().getColumn(0).setCellRenderer(new TableViewRenderer()); |
| | | table.getColumnModel().getColumn(1).setCellRenderer(new TableCellRendererButton()); |
| | |
| | | |
| | | model.setDataVector(data, columnIdentifiers); |
| | | table.setModel(model); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(650); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(80); |
| | | table.getColumnModel().getColumn(0).setPreferredWidth(550); |
| | | table.getColumnModel().getColumn(1).setPreferredWidth(150); |
| | | |
| | | table.getColumnModel().getColumn(0).setCellRenderer(new TableViewRenderer()); |
| | | table.getColumnModel().getColumn(1).setCellRenderer(new TableCellRendererButton()); |
| | |
| | | "","æ¹è£
", "å è£
", "æ¢è£
", "ä¿®ç","æ¹è¿æ§ä¿®ç" |
| | | }; |
| | | JComboBoxItem[] isealCabin = { |
| | | new JComboBoxItem(10000L, ""), |
| | | new JComboBoxItem(0L, "å¦"), |
| | | new JComboBoxItem(1L, "æ¯"), |
| | | }; |
| | |
| | | "","æ¹è£
", "å è£
", "æ¢è£
", "ä¿®ç","æ¹è¿æ§ä¿®ç" |
| | | }; |
| | | JComboBoxItem[] isealCabin = { |
| | | new JComboBoxItem(10000L, ""), |
| | | new JComboBoxItem(0L, "å¦"), |
| | | new JComboBoxItem(1L, "æ¯"), |
| | | }; |
| | | |
| | | JLabel JLabel0 = new JLabel("å·¥ç¨"); |
| | | JComboBox<JComboBoxItem> comboBox = new JComboBox<>(projectList); |
| | | comboBox.setPreferredSize(new Dimension(200, 28)); |
| | | comboBox.setPreferredSize(new Dimension(210, 28)); |
| | | |
| | | JLabel JLabel1 = new JLabel("é¨é¨"); |
| | | JComboBox<JComboBoxItem> comboBox1 = new JComboBox<>(deptList); |
| | | comboBox1.setPreferredSize(new Dimension(140, 28)); |
| | | comboBox1.setMaximumSize(new Dimension(140, 28)); |
| | | |
| | | JComboBoxItem[] teamList1 = sysTeamGroupClassService.getTeamList(deptList[0].getId()); |
| | | |
| | | JLabel JLabel2 = new JLabel("ä¸ä¸"); |
| | | JComboBox<JComboBoxItem> comboBox2 = new JComboBox<>(teamList1); |
| | | comboBox2.setPreferredSize(new Dimension(140, 28)); |
| | | comboBox2.setMaximumSize(new Dimension(140, 28)); |
| | | |
| | | JLabel JLabel3 = new JLabel("è±å®¤"); |
| | | JComboBox<JComboBoxItem> comboBox3 = new JComboBox<>(cabinList); |
| | | comboBox3.setPreferredSize(new Dimension(140, 28)); |
| | | comboBox3.setPreferredSize(new Dimension(120, 28)); |
| | | comboBox3.setMaximumSize(new Dimension(120, 28)); |
| | | |
| | | JLabel JLabel4 = new JLabel("ç±»å«"); |
| | | JComboBox<String> comboBox4 = new JComboBox<>(typeList); |
| | | comboBox4.setPreferredSize(new Dimension(140, 28)); |
| | | comboBox4.setMaximumSize(new Dimension(140, 28)); |
| | | |
| | | JLabel JLabel5 = new JLabel("ç¶æ"); |
| | | JComboBox<JComboBoxItem> comboBox5 = new JComboBox<>(statusList); |
| | | comboBox5.setPreferredSize(new Dimension(140, 28)); |
| | | comboBox5.setPreferredSize(new Dimension(120, 28)); |
| | | comboBox5.setMaximumSize(new Dimension(120, 28)); |
| | | |
| | | JLabel JLabel78 = new JLabel("æ¯å¦å½±åå°è±"); |
| | | JComboBox<JComboBoxItem> comboBox7 = new JComboBox<>(isealCabin); |
| | | comboBox7.setPreferredSize(new Dimension(140, 28)); |
| | | comboBox7.setPreferredSize(new Dimension(120, 28)); |
| | | comboBox7.setMaximumSize(new Dimension(120, 28)); |
| | | |
| | | JTextField sb = new JTextField(16); |
| | | sb.setPreferredSize(new Dimension(140, 28)); |
| | | sb.setMaximumSize(new Dimension(140, 28)); |
| | | |
| | | JButton query = new JButton("æ¥è¯¢"); |
| | | |
| | | JButton btnTj = new JButton("ç»è®¡æ¥è¡¨"); |
| | |
| | | });*/ |
| | | |
| | | topJpanel.add(JLabel0, new GBC(0, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox, new GBC(1, 0, 3, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | topJpanel.add(comboBox, new GBC(1, 0, 3, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | topJpanel.add(JLabel1, new GBC(4, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox1, new GBC(5, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | topJpanel.add(comboBox1, new GBC(5, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | topJpanel.add(JLabel2, new GBC(7, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox2, new GBC(8, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | topJpanel.add(comboBox2, new GBC(8, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | topJpanel.add(JLabel3, new GBC(10, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox3, new GBC(11, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | topJpanel.add(comboBox3, new GBC(11, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | topJpanel.add(JLabel4, new GBC(13, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox4, new GBC(14, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | topJpanel.add(comboBox4, new GBC(14, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | topJpanel.add(JLabel5, new GBC(16, 0, 1, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox5, new GBC(17, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | topJpanel.add(comboBox5, new GBC(17, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | topJpanel.add(JLabel78, new GBC(19, 0, 3, 1).setAnchor(GBC.SOUTHEAST).setInsets(5)); |
| | | topJpanel.add(comboBox7, new GBC(22, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5)); |
| | | |
| | | topJpanel.add(comboBox7, new GBC(22, 0, 2, 1).setAnchor(GBC.SOUTHWEST).setInsets(5).setWeight(0,0)); |
| | | |
| | | topJpanel.add(btnTj, new GBC(1, 1, 3, 1).setInsets(5)); |
| | | topJpanel.add(btnJc, new GBC(4, 1, 3, 1).setInsets(5)); |
| | |
| | | } |
| | | }); |
| | | |
| | | System.out.println("comboBox width: " + comboBox.getPreferredSize().height); |
| | | System.out.println("comboBox2 width: " + comboBox2.getPreferredSize().height); |
| | | System.out.println("topJpanel width: " + topJpanel.getPreferredSize().height); |
| | | |
| | | return panel; |
| | | } |
| | | |
| | |
| | | syncTable("dj_jdgz_ship"); |
| | | } else if (mySite.equals("TD")) { |
| | | if (otherSite.equals("TD")) { |
| | | syncTable("dj_jdgz_network_level1"); |
| | | syncTable("dj_jdgz_network_level1_list"); |
| | | syncTable("dj_jdgz_network_level2"); |
| | | syncTable("dj_jdgz_network_level2_list"); |
| | | syncTable("dj_jdgz_network_level3"); |
| | | syncTable("dj_jdgz_network_level3_list"); |
| | | syncTable("dj_jdgz_track_record"); |
| | |
| | | syncTable("dj_jdgz_track_record"); |
| | | syncTable("dj_sys_oss"); |
| | | syncTable("dj_jdgz_dismant_track"); |
| | | /* syncTable("dj_sys_teamgroup_class"); |
| | | syncTable("sys_user");*/ |
| | | syncTable("dj_sys_teamgroup_class"); |
| | | syncTable("sys_user"); |
| | | syncTable("dj_jdgz_ship"); |
| | | } |
| | | } else if ("åå®¶".equals(mySite)) { |
| | |
| | | <if test="cabinId!=null"> |
| | | and a.cabin_id = ${cabinId} |
| | | </if> |
| | | <if test="isealCabin!=null"> |
| | | <if test="isealCabin!=10000 and isealCabin!=null"> |
| | | and a.iseal_cabin = ${isealCabin} |
| | | </if> |
| | | <if test="type!=null and type!=''"> |
| | |
| | | <if test="deptId!=null"> |
| | | and c.dept_id = ${deptId} |
| | | </if> |
| | | <if test="isealCabin!=null"> |
| | | <if test="isealCabin!=10000"> |
| | | and c.iseal_cabin = ${isealCabin} |
| | | </if> |
| | | <if test="teamId!=null"> |