|
@@ -81,7 +81,7 @@ public class SysProfileController extends BaseController {
|
|
|
/**
|
|
/**
|
|
|
* 获取用户所选要查看数据的车间
|
|
* 获取用户所选要查看数据的车间
|
|
|
*/
|
|
*/
|
|
|
- @ApiOperation(value = "获取用户所选要查看数据的车间", response = TableDataInfo.class)
|
|
|
|
|
|
|
+ @ApiOperation(value = "段领导或中心领导 上次查看检测表所选的车间", response = TableDataInfo.class)
|
|
|
@GetMapping("/getSelectedDept")
|
|
@GetMapping("/getSelectedDept")
|
|
|
public AjaxResult getSelectedDept() {
|
|
public AjaxResult getSelectedDept() {
|
|
|
LoginUser loginUser = getLoginUser();
|
|
LoginUser loginUser = getLoginUser();
|
|
@@ -100,15 +100,13 @@ public class SysProfileController extends BaseController {
|
|
|
}
|
|
}
|
|
|
AjaxResult ajax = AjaxResult.success();
|
|
AjaxResult ajax = AjaxResult.success();
|
|
|
ajax.put("selectedDeptId", deptId);
|
|
ajax.put("selectedDeptId", deptId);
|
|
|
- // 接口兼容
|
|
|
|
|
- ajax.put("selectedDeptIds", deptId);
|
|
|
|
|
return ajax;
|
|
return ajax;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 更新用户所选要查看数据的车间
|
|
* 更新用户所选要查看数据的车间
|
|
|
*/
|
|
*/
|
|
|
- @ApiOperation(value = "更新用户所选要查看数据的车间", response = AjaxResult.class)
|
|
|
|
|
|
|
+ @ApiOperation(value = "更新段领导或中心领导 查看检测表所选的车间", response = AjaxResult.class)
|
|
|
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
|
|
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/putSelectedDept/{deptId}")
|
|
@PutMapping("/putSelectedDept/{deptId}")
|
|
|
public AjaxResult putSelectedDept(@PathVariable Long deptId) {
|
|
public AjaxResult putSelectedDept(@PathVariable Long deptId) {
|