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

加上author

parent 6239780a
......@@ -26,7 +26,7 @@ import java.util.Map;
/**
* 文件导出工具
* @author abc
* @author guofanfan
* @date 2019/01/08
*/
public class FileExport {
......
......@@ -9,6 +9,8 @@ import java.util.NoSuchElementException;
/**
* 导入工具类
* @author guofanfan
*
*/
public class FileUtil {
public static <T> List<T> importExcel(MultipartFile file, Integer titleRows, Integer headerRows, Class<T> pojoClass)
......
......@@ -29,6 +29,9 @@ import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author guofanfan
*/
@Slf4j
@RequestMapping("/api/basic")
@RestController
......@@ -144,6 +147,8 @@ public class ApiBasicManagementController {
// log.error("xx:",ex);
// }
//}
@ApiOperation("下载模块")
@GetMapping("/downloadExcel")
public void downloadExcel(HttpServletResponse response, HttpServletRequest request) {
......@@ -182,7 +187,7 @@ public class ApiBasicManagementController {
return ResponseVO.error("不能为空");
} else if (apiPromotion.equals("0")) {
return ResponseVO.error("统招");
}else {
} else {
return apiBasicManagementService.apiIssue(apiCodes);
}
......
......@@ -21,7 +21,9 @@ import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.sql.Timestamp;
import java.util.List;
/**
* @author guofanfan
*/
@Slf4j
@RequestMapping("/tenant/basic")
@RestController
......
......@@ -9,7 +9,9 @@ import org.apache.ibatis.annotations.Param;
import java.sql.Timestamp;
import java.util.List;
/**
* @author guofanfan
*/
@Mapper
public interface ApiBasicManagementMapper extends BaseMapper<OcpApiBase> {
List<OcpApiBaseVo> selectApiExport(List<String> list);
......
......@@ -228,7 +228,8 @@ public class TenanBaseDto extends OcpTenantGroup {
this.tenantGroupLevel = tenantGroupLevel;
}
public void setClassIfy(String classIfy) {
this.classIfy = classIfy;
}
// public OcpTenantGroup setClassIfy(String classIfy) {
// this.classIfy = classIfy;
// return null;
// }
}
......@@ -6,7 +6,9 @@ import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @author guofanfan
*/
@Data
@ApiModel(value = "菜单栏目Vo", description = "菜单栏目Vo")
public class Menu implements Serializable {
......
......@@ -11,7 +11,9 @@ import org.springframework.beans.factory.annotation.Value;
import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;
/**
* @author guofanfan
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
......
......@@ -15,7 +15,9 @@ import com.pms.ocp.model.vo.ResponseVO;
import java.sql.Timestamp;
import java.util.List;
/**
* @author guofanfan
*/
public interface ApiBasicManagementService extends IService<OcpApiBase> {
/**
* 导出的查询
......
......@@ -15,6 +15,9 @@ import com.pms.ocp.model.vo.ResponseVO;
import java.sql.Timestamp;
import java.util.List;
/**
* @author guofanfan
*/
public interface TenantBasicManagementService extends IService<OcpTenantBase> {
/**
* 条件查询
......
......@@ -9,7 +9,7 @@
<result property="tenantUrl" column="tenant_url"/>
<result property="clusterName" column="cluster_name"/>
<result property="spaceName" column="space_name"/>
<result property="deploymentName" column="deployment_name"/>
<!-- <result property="deploymentName" column="deployment_name"/>-->
<result property="tenantZone" column="tenant_zone"/>
<result property="tenantCtime" column="tenant_ctime"/>
<result property="tenantUnit" column="tenant_unit" jdbcType="VARCHAR"/>
......
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