|
@@ -39,7 +39,7 @@ import springfox.documentation.annotations.ApiIgnore;
|
|
|
@AllArgsConstructor
|
|
|
public class LeaveController extends BladeController implements CacheNames {
|
|
|
|
|
|
- private final ILeaveService leaveService;
|
|
|
+ // private final ILeaveService leaveService;
|
|
|
|
|
|
/**
|
|
|
* 详情
|
|
@@ -48,7 +48,8 @@ public class LeaveController extends BladeController implements CacheNames {
|
|
|
*/
|
|
|
@GetMapping("detail")
|
|
|
public R<ProcessLeave> detail(Long businessId) {
|
|
|
- ProcessLeave detail = leaveService.getById(businessId);
|
|
|
+ // ProcessLeave detail = leaveService.getById(businessId);
|
|
|
+ ProcessLeave detail = new ProcessLeave();
|
|
|
detail.getFlow().setAssigneeName(UserCache.getUser(detail.getCreateUser()).getName());
|
|
|
return R.data(detail);
|
|
|
}
|