报表字典补充

This commit is contained in:
wangxin
2018-07-17 11:36:19 +08:00
parent 85a7d08275
commit 4b5089dcc5
3 changed files with 7 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ public class NtcXzReportController extends BaseController {
model.addAttribute("titles", titles);
try {
ReportResult<NtcAttrTypeReport> result=new ReportResult<>();
StringBuffer url=new StringBuffer(Constants.LOG_BASE_URL+Constants.NTC_TAG_REPORT);
StringBuffer url=new StringBuffer(Constants.LOG_BASE_URL+Constants.NTC_ATTRTYPE_REPORT);
Gson gson=Constants.gsonbuilder.create();
String json=result.getReport(url.toString(), bean);
result = gson.fromJson(json, new TypeToken<ReportResult<NtcAttrTypeReport>>() {