删除单批次查询缓存
This commit is contained in:
parent
a562efe488
commit
6b390b6788
|
@ -87,10 +87,11 @@ public class CenterController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/getRateByAllBatch")
|
@GetMapping("/getRateByAllBatch")
|
||||||
@Cacheable(value = "getRateByAllBatch", key = "'getRateByAllBatch' + #college+#major+#level")
|
// @Cacheable(value = "getRateByAllBatch", key = "'getRateByAllBatch' + #college+#major+#level")
|
||||||
public Result<JSONObject> getRateByAllBatch(@RequestParam("college") String college,@RequestParam("major") String major, @RequestParam("level") String level) {
|
public Result<JSONObject> getRateByAllBatch(@RequestParam("college") String college,@RequestParam("major") String major, @RequestParam("level") String level) {
|
||||||
// System.out.println(college + " " + level);
|
// System.out.println(college + " " + level);
|
||||||
if (level.equals("cet4")) {
|
if (level.equals("cet4")) {
|
||||||
|
|
||||||
return cet4Service.getRateByAllBatch(college,major);
|
return cet4Service.getRateByAllBatch(college,major);
|
||||||
} else if (level.equals("cet6")) {
|
} else if (level.equals("cet6")) {
|
||||||
Cet_6 cet = new Cet_6();
|
Cet_6 cet = new Cet_6();
|
||||||
|
|
Loading…
Reference in New Issue