feat: 新增十一地市表格上传与结果查看

This commit is contained in:
han0
2024-07-09 09:53:43 +08:00
parent 2b08e7337c
commit d265ba121f
17 changed files with 17 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("ASPHALT_DOMESTIC") @TableName("ASPHALT_DOMESTIC")
@ApiModel(value = "AsphaltDomestic对象", description = "国产沥青") @ApiModel(value = "AsphaltDomestic对象", description = "国产沥青")
@Deprecated
public class AsphaltDomestic extends Model<AsphaltDomestic> { public class AsphaltDomestic extends Model<AsphaltDomestic> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -26,6 +26,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("ASPHALT_IMPORTED") @TableName("ASPHALT_IMPORTED")
@ApiModel(value = "AsphaltImported对象", description = "进口沥青") @ApiModel(value = "AsphaltImported对象", description = "进口沥青")
@Deprecated
public class AsphaltImported extends Model<AsphaltImported> { public class AsphaltImported extends Model<AsphaltImported> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -26,6 +26,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("CEMENT") @TableName("CEMENT")
@ApiModel(value = "Cement对象", description = "水泥") @ApiModel(value = "Cement对象", description = "水泥")
@Deprecated
public class Cement extends Model<Cement> { public class Cement extends Model<Cement> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -25,6 +25,7 @@ import lombok.Setter;
@Setter @Setter
@TableName("OIL") @TableName("OIL")
@ApiModel(value = "Oil对象", description = "成品油") @ApiModel(value = "Oil对象", description = "成品油")
@Deprecated
public class Oil extends Model<Oil> { public class Oil extends Model<Oil> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -10,6 +10,7 @@ import java.math.BigDecimal;
import java.time.LocalDate; import java.time.LocalDate;
@Data @Data
@Deprecated
public class SteelEntity<T extends Model<?>> extends Model<T> { public class SteelEntity<T extends Model<?>> extends Model<T> {
private String name; private String name;
private String spec; private String spec;

View File

@@ -26,6 +26,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("STEEL_PLATE") @TableName("STEEL_PLATE")
@ApiModel(value = "SteelPlate对象", description = "中厚板") @ApiModel(value = "SteelPlate对象", description = "中厚板")
@Deprecated
public class SteelPlate extends SteelEntity<SteelPlate> { public class SteelPlate extends SteelEntity<SteelPlate> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -23,6 +23,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("STEEL_REBAR") @TableName("STEEL_REBAR")
@ApiModel(value = "SteelRebar对象", description = "钢筋") @ApiModel(value = "SteelRebar对象", description = "钢筋")
@Deprecated
public class SteelRebar extends SteelEntity<SteelRebar> { public class SteelRebar extends SteelEntity<SteelRebar> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -25,6 +25,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("STEEL_SECTION") @TableName("STEEL_SECTION")
@ApiModel(value = "SteelSection对象", description = "型钢") @ApiModel(value = "SteelSection对象", description = "型钢")
@Deprecated
public class SteelSection extends SteelEntity<SteelSection>{ public class SteelSection extends SteelEntity<SteelSection>{
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -26,6 +26,7 @@ import org.apache.poi.ss.usermodel.Row;
@Setter @Setter
@TableName("STEEL_STRAND") @TableName("STEEL_STRAND")
@ApiModel(value = "SteelStrand对象", description = "钢绞线") @ApiModel(value = "SteelStrand对象", description = "钢绞线")
@Deprecated
public class SteelStrand extends SteelEntity<SteelStrand> { public class SteelStrand extends SteelEntity<SteelStrand> {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@@ -11,6 +11,7 @@ import java.util.Map;
@Service @Service
@Deprecated
public class AsphaltDomesticService extends DataService<BaseMapper<AsphaltDomestic>, AsphaltDomestic> { public class AsphaltDomesticService extends DataService<BaseMapper<AsphaltDomestic>, AsphaltDomestic> {
public LambdaQueryWrapper<AsphaltDomestic> indexQuery(AsphaltDomestic data) { public LambdaQueryWrapper<AsphaltDomestic> indexQuery(AsphaltDomestic data) {
LambdaQueryWrapper<AsphaltDomestic> query = new LambdaQueryWrapper<>(); LambdaQueryWrapper<AsphaltDomestic> query = new LambdaQueryWrapper<>();

View File

@@ -11,6 +11,7 @@ import java.util.Map;
@Service @Service
@Deprecated
public class AsphaltImportedService extends DataService<BaseMapper<AsphaltImported>, AsphaltImported> { public class AsphaltImportedService extends DataService<BaseMapper<AsphaltImported>, AsphaltImported> {
public LambdaQueryWrapper<AsphaltImported> indexQuery(AsphaltImported data) { public LambdaQueryWrapper<AsphaltImported> indexQuery(AsphaltImported data) {
LambdaQueryWrapper<AsphaltImported> query = new LambdaQueryWrapper<>(); LambdaQueryWrapper<AsphaltImported> query = new LambdaQueryWrapper<>();

View File

@@ -10,6 +10,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
@Service @Service
@Deprecated
public class CementService extends DataService<BaseMapper<Cement>, Cement> { public class CementService extends DataService<BaseMapper<Cement>, Cement> {
public LambdaQueryWrapper<Cement> indexQuery(Cement data) { public LambdaQueryWrapper<Cement> indexQuery(Cement data) {

View File

@@ -10,6 +10,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
@Service @Service
@Deprecated
public class OilService extends DataService<BaseMapper<Oil>, Oil> { public class OilService extends DataService<BaseMapper<Oil>, Oil> {
public LambdaQueryWrapper<Oil> indexQuery(Oil data) { public LambdaQueryWrapper<Oil> indexQuery(Oil data) {
LambdaQueryWrapper<Oil> query = new LambdaQueryWrapper<>(); LambdaQueryWrapper<Oil> query = new LambdaQueryWrapper<>();

View File

@@ -13,6 +13,7 @@ import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@Service @Service
@Deprecated
public class SteelPlateService extends DataService<BaseMapper<SteelPlate>, SteelPlate> { public class SteelPlateService extends DataService<BaseMapper<SteelPlate>, SteelPlate> {
@Override @Override
public LambdaQueryWrapper<SteelPlate> indexQuery(SteelPlate data) { public LambdaQueryWrapper<SteelPlate> indexQuery(SteelPlate data) {

View File

@@ -10,6 +10,7 @@ import java.util.*;
@Service @Service
@Deprecated
public class SteelRebarService extends DataService<BaseMapper<SteelRebar>, SteelRebar> { public class SteelRebarService extends DataService<BaseMapper<SteelRebar>, SteelRebar> {
@Override @Override
public LambdaQueryWrapper<SteelRebar> indexQuery(SteelRebar data) { public LambdaQueryWrapper<SteelRebar> indexQuery(SteelRebar data) {

View File

@@ -11,6 +11,7 @@ import java.util.Map;
@Service @Service
@Deprecated
public class SteelSectionService extends DataService<BaseMapper<SteelSection>, SteelSection> { public class SteelSectionService extends DataService<BaseMapper<SteelSection>, SteelSection> {
@Override @Override
public LambdaQueryWrapper<SteelSection> indexQuery(SteelSection data) { public LambdaQueryWrapper<SteelSection> indexQuery(SteelSection data) {

View File

@@ -10,6 +10,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
@Service @Service
@Deprecated
public class SteelStrandService extends DataService<BaseMapper<SteelStrand>, SteelStrand> { public class SteelStrandService extends DataService<BaseMapper<SteelStrand>, SteelStrand> {
@Override @Override