updates 显示24省控线
This commit is contained in:
parent
0fea2ca6ae
commit
589c362390
|
|
@ -147,6 +147,9 @@ public class MiniRecommendMajorController {
|
||||||
}
|
}
|
||||||
//根据录取方式,计算折合分数
|
//根据录取方式,计算折合分数
|
||||||
for (String rulesEnrollProbability : maps.keySet()) {
|
for (String rulesEnrollProbability : maps.keySet()) {
|
||||||
|
if (StringUtils.isBlank(rulesEnrollProbability)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
Optional<YxSchoolMajor> any = schooMajorList.stream().filter(s -> s.getRulesEnrollProbability().equals(rulesEnrollProbability)).findAny();
|
Optional<YxSchoolMajor> any = schooMajorList.stream().filter(s -> s.getRulesEnrollProbability().equals(rulesEnrollProbability)).findAny();
|
||||||
if (any.isPresent()) {
|
if (any.isPresent()) {
|
||||||
YxSchoolMajor yxSchoolMajor = any.get();
|
YxSchoolMajor yxSchoolMajor = any.get();
|
||||||
|
|
|
||||||
|
|
@ -103,17 +103,29 @@ public class YxHistoryScoreControlLineController extends JeecgController<YxHisto
|
||||||
for (YxHistoryScoreControlLine historyScoreControlLine : historyScoreControlLineList) {
|
for (YxHistoryScoreControlLine historyScoreControlLine : historyScoreControlLineList) {
|
||||||
year = historyScoreControlLine.getYear();
|
year = historyScoreControlLine.getYear();
|
||||||
batch = historyScoreControlLine.getBatch();
|
batch = historyScoreControlLine.getBatch();
|
||||||
if (YxConstant.nowYear.equals(year)) {
|
// if (YxConstant.nowYear.equals(year)) {
|
||||||
if (!"高职高专".equals(batch)) {
|
// if (!"高职高专".equals(batch)) {
|
||||||
historyScoreControlLine.setCulturalScore(YxConstant.bigDecimal0);
|
// historyScoreControlLine.setCulturalScore(YxConstant.bigDecimal0);
|
||||||
historyScoreControlLine.setCulturalScoreXk(YxConstant.bigDecimal0);
|
// historyScoreControlLine.setCulturalScoreXk(YxConstant.bigDecimal0);
|
||||||
historyScoreControlLine.setSpecialScore(YxConstant.bigDecimal0);
|
// historyScoreControlLine.setSpecialScore(YxConstant.bigDecimal0);
|
||||||
historyScoreControlLine.setSpecialScoreXk(YxConstant.bigDecimal0);
|
// historyScoreControlLine.setSpecialScoreXk(YxConstant.bigDecimal0);
|
||||||
|
// }else{
|
||||||
|
// historyScoreControlLine.setCulturalScore(YxConstant.bigDecimal0);
|
||||||
|
// historyScoreControlLine.setCulturalScoreXk(YxConstant.bigDecimal0);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
if ("2024".equals(year)) {
|
||||||
|
if (batch.equals("本科B段")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if(batch.equals("本科A段")){
|
||||||
|
historyScoreControlLine.setBatch("本科批");
|
||||||
|
}
|
||||||
|
list = dataMaps.getOrDefault(year,new ArrayList<>());
|
||||||
|
list.add(historyScoreControlLine);
|
||||||
|
dataMaps.put(year,list);
|
||||||
}else{
|
}else{
|
||||||
historyScoreControlLine.setCulturalScore(YxConstant.bigDecimal0);
|
|
||||||
historyScoreControlLine.setCulturalScoreXk(YxConstant.bigDecimal0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
list = dataMaps.getOrDefault(year,new ArrayList<>());
|
list = dataMaps.getOrDefault(year,new ArrayList<>());
|
||||||
if ("本科A段".equals(batch)) {
|
if ("本科A段".equals(batch)) {
|
||||||
YxHistoryScoreControlLine yxHistoryScoreControlLine1 = new YxHistoryScoreControlLine();
|
YxHistoryScoreControlLine yxHistoryScoreControlLine1 = new YxHistoryScoreControlLine();
|
||||||
|
|
@ -124,6 +136,9 @@ public class YxHistoryScoreControlLineController extends JeecgController<YxHisto
|
||||||
list.add(historyScoreControlLine);
|
list.add(historyScoreControlLine);
|
||||||
dataMaps.put(year,list);
|
dataMaps.put(year,list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
json = JSONObject.toJSONString(dataMaps);
|
json = JSONObject.toJSONString(dataMaps);
|
||||||
redisUtil.set(key,json,3600);
|
redisUtil.set(key,json,3600);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,6 @@ public class YxVolunteerServiceImpl extends ServiceImpl<YxVolunteerMapper, YxVol
|
||||||
@Resource
|
@Resource
|
||||||
private YxVolunteerRecordMapper yxVolunteerRecordMapper;
|
private YxVolunteerRecordMapper yxVolunteerRecordMapper;
|
||||||
|
|
||||||
final static BigDecimal bigDecimal100 = new BigDecimal("100");//100倍率
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public VolunteerDTO getActiveByCreate(String createBy) {
|
public VolunteerDTO getActiveByCreate(String createBy) {
|
||||||
VolunteerDTO volunteerDTO = new VolunteerDTO();
|
VolunteerDTO volunteerDTO = new VolunteerDTO();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue