报表添加接线方式、一二次值判断
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.njcn.harmonic.pojo.param.excel;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author xy
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
public class ExcelParam implements Serializable {
|
||||
|
||||
@ApiModelProperty("模板分类名称")
|
||||
@NotBlank(message = "模板分类名称不可为空")
|
||||
private String modelTypeName;
|
||||
|
||||
@ApiModelProperty("模板分类类型")
|
||||
private String modelType;
|
||||
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sort;
|
||||
|
||||
|
||||
@Data
|
||||
public static class ListExcelParam implements Serializable {
|
||||
|
||||
@ApiModelProperty("模板分类id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("模板id")
|
||||
private List<String> modelIds;
|
||||
}
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public static class UpdateExcelParam extends ExcelParam implements Serializable {
|
||||
|
||||
@ApiModelProperty("模板id")
|
||||
private String id;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -34,4 +34,6 @@ public class ExcelRptTemp extends BaseEntity {
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private String wiringMethod;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.njcn.harmonic.pojo.po.excel;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.njcn.db.bo.BaseEntity;
|
||||
import java.io.Serializable;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author xy
|
||||
* @since 2026-01-27
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("sys_excel")
|
||||
public class SysExcel extends BaseEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 报表类型名称
|
||||
*/
|
||||
private String excelName;
|
||||
|
||||
private String excelType;
|
||||
|
||||
private Integer sort;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.njcn.harmonic.pojo.po.excel;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author xy
|
||||
* @since 2026-01-27
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("sys_excel_relation")
|
||||
public class SysExcelRelation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* sys_excel的主键id
|
||||
*/
|
||||
private String sysExcelId;
|
||||
|
||||
/**
|
||||
* sys_excel_rpt_temp的主键id
|
||||
*/
|
||||
private String sysExcelRptTempId;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user