新增根据行政区划代码查询项目列表接口。
This commit is contained in:
@ -4,7 +4,6 @@ import cn.hutool.http.HttpRequest;
|
||||
import cn.hutool.http.HttpUtil;
|
||||
import cn.hutool.json.JSONObject;
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import com.fastbee.common.exception.ServiceException;
|
||||
import com.google.zxing.BarcodeFormat;
|
||||
import com.google.zxing.EncodeHintType;
|
||||
import com.google.zxing.MultiFormatWriter;
|
||||
|
@ -133,7 +133,6 @@ public class ProjectController extends BaseController
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询项目管理机构的当前管理的行政区划树状列表
|
||||
*/
|
||||
@ -150,4 +149,13 @@ public class ProjectController extends BaseController
|
||||
public AjaxResult getProjectAreaTreeTop(@Param("projectId") Long deptId,@Param("startLevel") Integer startLevel){
|
||||
return success(projectService.getProjectAreaTreeAll(deptId, startLevel));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据行政区划信息查询项目列表
|
||||
*/
|
||||
@GetMapping("/projectListByArea")
|
||||
@ApiOperation("根据行政区划信息查询项目列表")
|
||||
public AjaxResult getProjectListByArea(@Param("areaCode") Long areaCode){
|
||||
return success(projectService.getProjectListByArea(areaCode));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user