feat: 根据用户id查
This commit is contained in:
parent
0c8a5ad9a0
commit
6c72ace72c
|
@ -115,6 +115,17 @@ public class ApprovalProcessController extends BaseController {
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ApiOperation("根据用户id查")
|
||||||
|
@PostMapping("/getByuserId/{id}")
|
||||||
|
public TableDataInfo getByuserId(@PathVariable Long id) {
|
||||||
|
List<ApprovalProcess> list = approvalsProcessService.lambdaQuery()
|
||||||
|
.eq(ApprovalProcess::getSubmitterId, id)
|
||||||
|
.list();
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
@ApiOperation("根据id查")
|
@ApiOperation("根据id查")
|
||||||
@PostMapping("/getById/{id}")
|
@PostMapping("/getById/{id}")
|
||||||
public AjaxResult getById(@PathVariable Long id) {
|
public AjaxResult getById(@PathVariable Long id) {
|
||||||
|
|
Loading…
Reference in New Issue