|
@@ -11,10 +11,12 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @Author Joburgess
|
|
@@ -37,6 +39,12 @@ public class ExamLocationController extends BaseController {
|
|
|
return succeed(examLocationService.queryPage(queryInfo));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("获取所在机构所有考点")
|
|
|
+ @GetMapping(value = "/getTenantAllLocations")
|
|
|
+ public HttpResponseResult<List<ExamLocation>> getTenantAllLocations(@Param("tenantId") String tenantId){
|
|
|
+ return succeed(examLocationService.getTenantAllLocations(TenantContextHolder.getTenantId()));
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("查询考点详情")
|
|
|
@ApiImplicitParam(name = "id", value = "机构ID", required = true, dataType = "Integer", paramType = "path")
|
|
|
@GetMapping(value = "/query")
|