feat(credit): 添加数据类型字段支持
- 在CreditXgxf实体类中新增type字段并添加Swagger文档注解 - 在CreditXgxfController控制器中设置导入参数的type字段值 - 在CreditXgxfImportParam导入参数类中新增type字段并配置Excel映射 - 在CreditXgxfParam参数类中新增type字段并添加Swagger文档注解
This commit is contained in:
@@ -580,6 +580,7 @@ public class CreditXgxfController extends BaseController {
|
||||
CreditXgxf entity = new CreditXgxf();
|
||||
|
||||
entity.setCaseNumber(param.getCaseNumber());
|
||||
entity.setType(param.getType());
|
||||
entity.setDataType(param.getDataType());
|
||||
entity.setPlaintiffAppellant(param.getPlaintiffAppellant());
|
||||
entity.setAppellee(param.getAppellee());
|
||||
|
||||
@@ -36,6 +36,9 @@ public class CreditXgxf implements Serializable {
|
||||
@Schema(description = "链接地址")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "数据类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "限消令对象")
|
||||
private String dataType;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -15,6 +16,9 @@ public class CreditXgxfImportParam implements Serializable {
|
||||
@Excel(name = "案号")
|
||||
private String caseNumber;
|
||||
|
||||
@Excel(name = "数据类型")
|
||||
private String type;
|
||||
|
||||
@Excel(name = "限消令对象")
|
||||
private String dataType;
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@ public class CreditXgxfParam extends BaseParam {
|
||||
@Schema(description = "案号")
|
||||
private String caseNumber;
|
||||
|
||||
@Schema(description = "数据类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "限消令对象")
|
||||
private String dataType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user