This commit is contained in:
hayu 2026-01-22 15:22:55 +08:00
parent d17284eef8
commit debcdb7238
1 changed files with 1 additions and 1 deletions

View File

@ -383,9 +383,9 @@ public class ComplexQueryController extends BaseController {
@GetMapping("/getMachineHistoryRecordList")
public AjaxResult getMachineHistoryRecordList(MachineHistoryRecordBean bean) {
bean.setUserId(SecurityUtils.getLoginUser().getUserid());
startPage();
Long deptId = typeService.getUserDeptId();
bean.setCompanyId(deptId);
startPage();
List<MachineHistoryRecordBean> list = complexQueryService.getMachineHistoryRecordList(bean);
return AjaxResult.success(getDataTable(list));
}