Wie unten gezeigt:
@Override public String GetEplopyeeSUp (String EmployeeId) {String str = ""; STR = GetToPoeBysUpselas (EmployeeId, Str); return str.substring (0, str. Lastindexof (",")); } @Override public String GetPoyPoeBysUpSelas (String EmployeEID, String Str) {str+= "'"+Mitarbeiter+"',"; System.out.println (str); String SQL = "SELECT U.EMPLICEID von TBL_SYSTEM_USER U WHERE SUPERVISORID = '"+EmployeeId+"'"; Liste <String> list = jdbctemplate.queryForList (SQL, String.class); if (list! }} return str; }Das obige ist der vollständige Inhalt des von Java Infinite Tree (Recursion) Super Practical Case, das Sie vom Herausgeber zu Ihnen gebracht haben. Ich hoffe, jeder wird Wulin.com mehr unterstützen ~