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

服务应用列表

parent db9774e4
...@@ -91,7 +91,6 @@ public class ExcelUtils { ...@@ -91,7 +91,6 @@ public class ExcelUtils {
} }
Workbook workbook = ExcelExportUtil.exportExcel(new ExportParams(fileName, fileName, ExcelType.XSSF), pojoClass, list); Workbook workbook = ExcelExportUtil.exportExcel(new ExportParams(fileName, fileName, ExcelType.XSSF), pojoClass, list);
response.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8");
response.setHeader("content-Type", "application/vnd.ms-excel"); response.setHeader("content-Type", "application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(fileName, "UTF-8") + ".xls"); response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(fileName, "UTF-8") + ".xls");
ServletOutputStream out = response.getOutputStream(); ServletOutputStream out = response.getOutputStream();
......
...@@ -211,7 +211,6 @@ public class ApiBasicManagementController { ...@@ -211,7 +211,6 @@ public class ApiBasicManagementController {
@GetMapping("/apiBaseTreeList") @GetMapping("/apiBaseTreeList")
public ResponseVO<List<OcpApiBase>> apiBaseTreeList(String apiGroupCompanyCode, String apiGroupCode) { public ResponseVO<List<OcpApiBase>> apiBaseTreeList(String apiGroupCompanyCode, String apiGroupCode) {
List<OcpApiBase> apiBaseList = apiBasicManagementService.apiBaseTreeApiList(apiGroupCompanyCode, apiGroupCode); List<OcpApiBase> apiBaseList = apiBasicManagementService.apiBaseTreeApiList(apiGroupCompanyCode, apiGroupCode);
return ResponseVO.ok(apiBaseList); return ResponseVO.ok(apiBaseList);
} }
......
...@@ -117,7 +117,11 @@ public class TenantBasicManagementServiceImpl extends ServiceImpl<TenantBasicMan ...@@ -117,7 +117,11 @@ public class TenantBasicManagementServiceImpl extends ServiceImpl<TenantBasicMan
for (String s : tenantCode) { for (String s : tenantCode) {
OcpTenantSubs ocpTenantSubs = new OcpTenantSubs(); OcpTenantSubs ocpTenantSubs = new OcpTenantSubs();
ocpTenantSubs.setTenantCode(s); ocpTenantSubs.setTenantCode(s);
if (StringUtils.isEmpty(companyCode)) {
ocpTenantSubs.setSubsCompanyCode(companyCode);
} else {
ocpTenantSubs.setSubsCompanyCode("1"); ocpTenantSubs.setSubsCompanyCode("1");
}
ocpTenantSubs.setSubsLogTenantAtime(Timestamp.valueOf(LocalDateTime.now())); ocpTenantSubs.setSubsLogTenantAtime(Timestamp.valueOf(LocalDateTime.now()));
ocpTenantSubs.setSubsLogTenantCtime(Timestamp.valueOf(LocalDateTime.now())); ocpTenantSubs.setSubsLogTenantCtime(Timestamp.valueOf(LocalDateTime.now()));
ocpTenantSubs.setSubsLogTenantMtime(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