|
@@ -76,4 +76,12 @@ public class ReportController extends BaseController {
|
|
|
public AjaxResult remove(@PathVariable Long[] ids){
|
|
|
return toAjax(reportService.removeByIds(Arrays.asList(ids)));
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据orcId获取报告单信息")
|
|
|
+ @PreAuthorize("@ss.hasPermi('work:report:list')")
|
|
|
+ @GetMapping(value = "/getReportByObrId/{orcId}")
|
|
|
+ public AjaxResult getReportByObrId(@PathVariable("orcId") String orcId){
|
|
|
+ return AjaxResult.success(reportService.getOrcReportByObcId(orcId));
|
|
|
+ }
|
|
|
}
|