|
@@ -56,9 +56,39 @@ public class CqXxxqController extends JeecgController<CqXxxq, ICqXxxqService> {
|
|
|
cqXxxq.setEstate("优");
|
|
|
cqXxxq.setSchooamount("2");
|
|
|
cqXxxq.setStudentamount("45");
|
|
|
-
|
|
|
return Result.OK(cqXxxqService.cqxx(cqXxxq));
|
|
|
}
|
|
|
+ //获取有几个地市
|
|
|
+ /**
|
|
|
+ * 获取有几个地市
|
|
|
+ *
|
|
|
+ * @param
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @AutoLog(value = "获取地市")
|
|
|
+ @ApiOperation(value = "获取地市", notes = "获取地市")
|
|
|
+ @GetMapping(value = "/huoquds")
|
|
|
+ public Result<List<String>> huoquds() {
|
|
|
+ return Result.OK(cqXxxqService.huoquds());
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * 根据地市获取等级
|
|
|
+ */
|
|
|
+ @AutoLog(value = "根据地市获取等级")
|
|
|
+ @ApiOperation(value = "根据地市获取等级", notes = "根据地市获取等级")
|
|
|
+ @GetMapping(value = "/huoqudsxxdj")
|
|
|
+ public Result<List<String>> huoqudsxxdj(String districtname) {
|
|
|
+ return Result.OK(cqXxxqService.huoqudsxxdj(districtname));
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * 根据地市获取几个年级
|
|
|
+ */
|
|
|
+ @AutoLog(value = "根据地市获取年级")
|
|
|
+ @ApiOperation(value = "根据地市获取年级", notes = "根据地市获取年级")
|
|
|
+ @GetMapping(value = "/huoqudsxxnj")
|
|
|
+ public Result<List<String>> huoqudsxxnj(String districtname) {
|
|
|
+ return Result.OK(cqXxxqService.huoqudsxxnj(districtname));
|
|
|
+ }
|
|
|
/**
|
|
|
* 分页以抽签学校查询
|
|
|
*
|