jiazx0107@163.com
2023-06-25 1a47d9eef4cfe9385ce66b791de84db54a5ba87c
igds-inout/src/main/java/com/ld/igds/m/service/HInoutNoticeService.java
@@ -276,7 +276,7 @@
        }
        hql += " where companyId =:companyId and deptId =:deptId";
        Map<String, Object> args = new HashMap<String, Object>();
        Map<String, Object> args = new HashMap<>();
        args.put("companyId", ContextUtil.getCompanyId());
        args.put("deptId", ContextUtil.subDeptId(null));
@@ -302,11 +302,10 @@
        str = (String) parameter.get("key");
        if (StringUtils.isNoneEmpty(str)) {
            hql += " and (customerId like:customerId or customerName like:customerName) ";
            args.put("customerId", "%" + str + "%");
            hql += " and (name like:name or customerName like:customerName) ";
            args.put("name", "%" + str + "%");
            args.put("customerName", "%" + str + "%");
        }
        hql += " order by id ";