Commit d03235da authored by 郭凡凡's avatar 郭凡凡

服务应用列表

parent db9774e4
......@@ -91,7 +91,6 @@ public class ExcelUtils {
}
Workbook workbook = ExcelExportUtil.exportExcel(new ExportParams(fileName, fileName, ExcelType.XSSF), pojoClass, list);
response.setCharacterEncoding("UTF-8");
response.setHeader("content-Type", "application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(fileName, "UTF-8") + ".xls");
ServletOutputStream out = response.getOutputStream();
......
......@@ -211,7 +211,6 @@ public class ApiBasicManagementController {
@GetMapping("/apiBaseTreeList")
public ResponseVO<List<OcpApiBase>> apiBaseTreeList(String apiGroupCompanyCode, String apiGroupCode) {
List<OcpApiBase> apiBaseList = apiBasicManagementService.apiBaseTreeApiList(apiGroupCompanyCode, apiGroupCode);
return ResponseVO.ok(apiBaseList);
}
......
......@@ -117,7 +117,11 @@ public class TenantBasicManagementServiceImpl extends ServiceImpl<TenantBasicMan
for (String s : tenantCode) {
OcpTenantSubs ocpTenantSubs = new OcpTenantSubs();
ocpTenantSubs.setTenantCode(s);
ocpTenantSubs.setSubsCompanyCode("1");
if (StringUtils.isEmpty(companyCode)) {
ocpTenantSubs.setSubsCompanyCode(companyCode);
} else {
ocpTenantSubs.setSubsCompanyCode("1");
}
ocpTenantSubs.setSubsLogTenantAtime(Timestamp.valueOf(LocalDateTime.now()));
ocpTenantSubs.setSubsLogTenantCtime(Timestamp.valueOf(LocalDateTime.now()));
ocpTenantSubs.setSubsLogTenantMtime(Timestamp.valueOf(LocalDateTime.now()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment