File tree Expand file tree Collapse file tree
SpringSecurity-Action/src/main/java/com/byron/ss/action
SpringSecurity-Common/src/main/java/com/byron/ss/common/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,27 +207,10 @@ public String doList() {
207207// return "/myIndex.jsp";
208208 }
209209
210- private String getRsscCodeOptions (String rsscCode ) {
211- StringBuilder sb = new StringBuilder ();
212- String sql = "select distinct rssc_code,rssc_code as test from ts_point" ;
213- List <Object []> list = this .usersManager .getEntityDao ().getFieldsBySql (sql );
214- if (null != list ) {
215- for (Object [] item : list ) {
216- if (null != rsscCode && !rsscCode .equals (item [0 ])) {
217- sb .append ("<option value='" + item [0 ] +"'>" ).append (item [0 ]).append ("</option>" );
218- } else {
219- sb .append ("<option value='" + item [0 ] +"' selected>" ).append (item [0 ]).append ("</option>" );
220- }
221- }
222- }
223-
224- return sb .toString ();
225- }
226210
227211 public String doSavePage () {
228212 HttpServletRequest request = this .getRequest ();
229213
230- request .setAttribute ("rsscCodeOptions" , this .getRsscCodeOptions ("" ));
231214
232215 request .setAttribute ("context" , "/ss/Users/userSave.jsp" );
233216 request .setAttribute ("left" , systemLeft );
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public class ConfigUtil {
99 static {
1010 InputStream ips =
1111 ConfigUtil .class .getClassLoader ()
12- .getResourceAsStream ("config/ezSales .properties" );
12+ .getResourceAsStream ("config/config .properties" );
1313 try {
1414 props .load (ips );
1515 } catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments