Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //stations AS
- sql_query = "from IMSStation " +
- "where sta_id = ? and technology_type = 'AS'" +
- " order by treaty_number";
- ServletActionContext.getRequest().setAttribute("stations_as_list", dbManager.excecuteQueryWithParams(sql_query, values, types));
- //stations HA
- sql_query = "from IMSStation " +
- "where sta_id = ? and technology_type = 'HA'" +
- " order by treaty_number";
- ServletActionContext.getRequest().setAttribute("stations_ha_list", dbManager.excecuteQueryWithParams(sql_query, values, types));
- //stations IS
- sql_query = "from IMSStation " +
- "where sta_id = ? and technology_type = 'IS'" +
- " order by treaty_number";
- ServletActionContext.getRequest().setAttribute("stations_is_list", dbManager.excecuteQueryWithParams(sql_query, values, types));
- //stations PS
- sql_query = "from IMSStation " +
- "where sta_id = ? and technology_type = 'PS'" +
- " order by treaty_number";
- ServletActionContext.getRequest().setAttribute("stations_ps_list", dbManager.excecuteQueryWithParams(sql_query, values, types));
- //stations RN
- sql_query = "from IMSStation " +
- "where sta_id = ? and technology_type = 'RN'" +
- " order by treaty_number";
- ServletActionContext.getRequest().setAttribute("stations_rn_list", dbManager.excecuteQueryWithParams(sql_query, values, types));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement