jiazx0107@163.com
2023-11-04 43ce77a85d8297a53dc25430fff10ead57296167
igds-manager/src/main/java/com/ld/igds/oa/service/HDeptDeviceService.java
@@ -35,10 +35,11 @@
    //=====================================库区设备=======================================//
    public void pageData(Page<DeptDevice> page, Map<String, Object> param)
            throws Exception {
        String hql = " from " + DeptDevice.class.getName() + " where companyId=:companyId";
        String hql = " from " + DeptDevice.class.getName() + " where companyId =:companyId and deptId =:deptId";
        Map<String, Object> args = new HashMap<>();
        args.put("companyId", ContextUtil.getCompanyId());
        args.put("deptId", ContextUtil.subDeptId(null));
        if (null != param) {
            hql = buildHql(hql, param, args);