YYC
2023-07-05 7fff423ea251afed364dc523fb5be4d0b23f39b1
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 ";