|
@@ -45,7 +45,7 @@ public class DemReportInfoController {
|
|
|
@RequestParam(value = "sourceType", required = false) String sourceType,
|
|
|
@RequestParam(value = "pageNum", required = false, defaultValue = "1") Integer pageNum,
|
|
|
@RequestParam(value = "pageSize", required = false, defaultValue = "10") Integer pageSize) {
|
|
|
- return ApiResult.success(demReportInfoService.reportInfoList(companyId,sourceType,pageNum, pageSize));
|
|
|
+ return ApiResult.success(demReportInfoService.reportInfoList(companyId, sourceType, pageNum, pageSize));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -82,5 +82,18 @@ public class DemReportInfoController {
|
|
|
public ApiResult<List<DemReportInfo>> reportById(@RequestParam(value = "id", required = false) Integer id) {
|
|
|
return ApiResult.success(demReportInfoService.reportById(id));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 报告读取状态更新
|
|
|
+ *
|
|
|
+ * @param companyId 单位ID
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Log(title = "报告读取状态更新", businessType = BusinessType.UPDATE)
|
|
|
+ @PutMapping("updateReadStatus")
|
|
|
+ public ApiResult<Void> updateReadStatus(@RequestParam(value = "companyId") String companyId) {
|
|
|
+ demReportInfoService.updateReadStatus(companyId);
|
|
|
+ return ApiResult.success();
|
|
|
+ }
|
|
|
}
|
|
|
|