updates
This commit is contained in:
parent
85029b83f8
commit
29efeb309b
|
|
@ -287,14 +287,14 @@ public class YxHistoryMajorEnrollController extends JeecgController<YxHistoryMaj
|
||||||
List<YxHistoryMajorEnroll> updateList = new ArrayList<>();
|
List<YxHistoryMajorEnroll> updateList = new ArrayList<>();
|
||||||
List<YxHistoryMajorEnroll> list = ExcelImportUtil.importExcel(file.getInputStream(), YxHistoryMajorEnroll.class, params);
|
List<YxHistoryMajorEnroll> list = ExcelImportUtil.importExcel(file.getInputStream(), YxHistoryMajorEnroll.class, params);
|
||||||
for (YxHistoryMajorEnroll yxHistoryMajorEnroll : list) {
|
for (YxHistoryMajorEnroll yxHistoryMajorEnroll : list) {
|
||||||
index++;
|
|
||||||
schoolCode = yxHistoryMajorEnroll.getSchoolCode();//学校代码
|
schoolCode = yxHistoryMajorEnroll.getSchoolCode();//学校代码
|
||||||
schoolName = yxHistoryMajorEnroll.getSchoolName();//学校名称
|
schoolName = yxHistoryMajorEnroll.getSchoolName();//学校名称
|
||||||
if(schoolCode.equals("6170")){
|
|
||||||
System.out.println("aaaa");
|
|
||||||
}
|
|
||||||
majorName = yxHistoryMajorEnroll.getMajorName();//专业名称
|
majorName = yxHistoryMajorEnroll.getMajorName();//专业名称
|
||||||
batch = yxHistoryMajorEnroll.getBatch();//批次
|
batch = yxHistoryMajorEnroll.getBatch();//批次
|
||||||
|
if (StringUtils.isBlank(schoolCode) && StringUtils.isBlank(schoolName) && StringUtils.isBlank(majorName)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
index++;
|
||||||
year = yxHistoryMajorEnroll.getYear();
|
year = yxHistoryMajorEnroll.getYear();
|
||||||
enrollmentCode = yxHistoryMajorEnroll.getEnrollmentCode();//招生代码
|
enrollmentCode = yxHistoryMajorEnroll.getEnrollmentCode();//招生代码
|
||||||
majorType = yxHistoryMajorEnroll.getMajorType();//专业类型
|
majorType = yxHistoryMajorEnroll.getMajorType();//专业类型
|
||||||
|
|
|
||||||
|
|
@ -72,10 +72,14 @@ public class YxCalculationMajor implements Serializable {
|
||||||
@Excel(name = "录取方式缩写", width = 15)
|
@Excel(name = "录取方式缩写", width = 15)
|
||||||
@ApiModelProperty(value = "录取方式缩写")
|
@ApiModelProperty(value = "录取方式缩写")
|
||||||
private String rulesEnrollProbabilitySx;
|
private String rulesEnrollProbabilitySx;
|
||||||
/**录取方式*/
|
/**对外录取方式*/
|
||||||
@Excel(name = "录取方式", width = 15)
|
@Excel(name = "对外录取方式", width = 15)
|
||||||
@ApiModelProperty(value = "录取方式")
|
@ApiModelProperty(value = "对外录取方式")
|
||||||
private java.lang.String rulesEnrollProbability;
|
private java.lang.String rulesEnrollProbability;
|
||||||
|
/**对外录取方式运算符*/
|
||||||
|
@Excel(name = "对外录取方式运算符", width = 15)
|
||||||
|
@ApiModelProperty(value = "对外录取方式运算符")
|
||||||
|
private java.lang.String probabilityOperator;
|
||||||
/**批次*/
|
/**批次*/
|
||||||
@Excel(name = "批次", width = 15)
|
@Excel(name = "批次", width = 15)
|
||||||
@ApiModelProperty(value = "批次")
|
@ApiModelProperty(value = "批次")
|
||||||
|
|
@ -92,10 +96,7 @@ public class YxCalculationMajor implements Serializable {
|
||||||
@Excel(name = "录取率", width = 15)
|
@Excel(name = "录取率", width = 15)
|
||||||
@ApiModelProperty(value = "录取率")
|
@ApiModelProperty(value = "录取率")
|
||||||
private java.math.BigDecimal enrollProbability;
|
private java.math.BigDecimal enrollProbability;
|
||||||
/**录取概率计算规则运算符*/
|
|
||||||
@Excel(name = "录取概率计算规则运算符", width = 15)
|
|
||||||
@ApiModelProperty(value = "录取概率计算规则运算符")
|
|
||||||
private java.lang.String probabilityOperator;
|
|
||||||
/**创建日期*/
|
/**创建日期*/
|
||||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue