项目管理添加与机构关联逻辑,bug修复等
This commit is contained in:
@ -4,6 +4,8 @@ package com.fastbee.data.controller.project;
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.fastbee.common.annotation.Log;
|
||||
import com.fastbee.common.enums.BusinessType;
|
||||
import com.fastbee.common.utils.poi.ExcelUtil;
|
||||
import com.fastbee.project.domain.Project;
|
||||
import com.fastbee.project.service.IProjectService;
|
||||
@ -65,6 +67,7 @@ public class ProjectController extends BaseController
|
||||
*/
|
||||
@ApiOperation("导出项目列表")
|
||||
@PreAuthorize("@ss.hasPermi('iot:project:export')")
|
||||
@Log(title = "巡检路线", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Project project)
|
||||
{
|
||||
@ -116,4 +119,13 @@ public class ProjectController extends BaseController
|
||||
{
|
||||
return toAjax(projectService.deleteProjectByProjectIds(projectIds));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取未绑定项目的机构列表
|
||||
*/
|
||||
@GetMapping("/unbindDeptList")
|
||||
@ApiOperation("获取未绑定项目的机构列表")
|
||||
public AjaxResult getUnbindProjectDeptList(){
|
||||
return success(projectService.getUnbindDeptList());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user