|
@@ -86,13 +86,13 @@ public class DemReportInfoController {
|
|
/**
|
|
/**
|
|
* 报告读取状态更新
|
|
* 报告读取状态更新
|
|
*
|
|
*
|
|
- * @param companyId 单位ID
|
|
|
|
|
|
+ * @param id 主键ID
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Log(title = "报告读取状态更新", businessType = BusinessType.UPDATE)
|
|
@Log(title = "报告读取状态更新", businessType = BusinessType.UPDATE)
|
|
- @PutMapping("updateReadStatus")
|
|
|
|
- public ApiResult<Void> updateReadStatus(@RequestParam(value = "companyId") String companyId) {
|
|
|
|
- demReportInfoService.updateReadStatus(companyId);
|
|
|
|
|
|
+ @PatchMapping("/updateReadStatus/{id}")
|
|
|
|
+ public ApiResult<Void> updateReadStatus(@PathVariable(value = "id") String id) {
|
|
|
|
+ demReportInfoService.updateReadStatus(id);
|
|
return ApiResult.success();
|
|
return ApiResult.success();
|
|
}
|
|
}
|
|
}
|
|
}
|