Merge remote-tracking branch 'origin/master'

This commit is contained in:
mashuai 2026-01-22 15:24:08 +08:00
commit d83f760625
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));
}