Rev 1876 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1876 | Rev 1918 | ||
---|---|---|---|
Line 123... | Line 123... | ||
123 | service2.put("service","/wsjson/api/app/ws-course-pedagogic-results-list"); |
123 | service2.put("service","/wsjson/api/app/ws-course-pedagogic-results-list"); |
124 | service2.put("name","getPedagogicReport4Period"); |
124 | service2.put("name","getPedagogicReport4Period"); |
125 | service2.put("parameter1","code = siges code"); |
125 | service2.put("parameter1","code = siges code"); |
126 | service2.put("parameter2","period = \"S1,S2\""); |
126 | service2.put("parameter2","period = \"S1,S2\""); |
127 | service2.put("parameter3","year = \"201617,201718,...\""); |
127 | service2.put("parameter3","year = \"201617,201718,...\""); |
128 | service2.put("return","uma tabela em JSON com toda a informação de reusltados do pedagogico nesse ano"); |
128 | service2.put("return","uma tabela em JSON com toda a informação de reusltados do pedagogico nesse ano"); |
129 | 129 | ||
130 | JSONObject service3 = new JSONObject(); |
130 | JSONObject service3 = new JSONObject(); |
131 | service3.put("service","/wsjson/api/app/ws-units-dtp-stats"); |
131 | service3.put("service","/wsjson/api/app/ws-units-dtp-stats"); |
132 | service3.put("name","getCourseUnitDtpStats"); |
132 | service3.put("name","getCourseUnitDtpStats"); |
133 | service3.put("parameter1","code = siges code"); |
133 | service3.put("parameter1","code = siges code"); |
134 | service3.put("parameter2","period = \"S1,S2\""); |
134 | service3.put("parameter2","period = \"S1,S2\""); |
135 | service3.put("parameter3","year = \"201617,201718,...\""); |
135 | service3.put("parameter3","year = \"201617,201718,...\""); |
136 | service3.put("return","uma tabela em JSON com toda a informação de estatistica do preenchimento das pastas DTP"); |
136 | service3.put("return","uma tabela em JSON com toda a informação de estatistica do preenchimento das pastas DTP"); |
137 | 137 | ||
138 | 138 | ||
139 | JSONArray services = new JSONArray(); |
139 | JSONArray services = new JSONArray(); |
140 | services.put(service1); |
140 | services.put(service1); |
141 | services.put(service2); |
141 | services.put(service2); |
Line 160... | Line 160... | ||
160 | IServiceManager sm = ServiceManager.getInstance(); |
160 | IServiceManager sm = ServiceManager.getInstance(); |
161 | json = (String) sm.execute("123", "LoadCourseReportsSections", new Object[]{"9119","201516"}); |
161 | json = (String) sm.execute("123", "LoadCourseReportsSections", new Object[]{"9119","201516"}); |
162 | System.out.println(json); |
162 | System.out.println(json); |
163 | } |
163 | } |
164 | */ |
164 | */ |
165 | } |
- | |
166 | 165 | } |
|
- | 166 |