jiazx0107@163.com
2023-10-22 dfd793f14e51c48c3322f1b36f543179043bd45d
igds-inout/src/main/java/com/ld/igds/inout/service/HInoutReportService.java
@@ -18,7 +18,7 @@
        String hql = " from " + InoutRecord.class.getName()
                + " where companyId=:companyId ";
        Map<String, Object> args = new HashMap<String, Object>();
        Map<String, Object> args = new HashMap<>();
        args.put("companyId", ContextUtil.getCompanyId());
        if (null != param) {
@@ -38,14 +38,8 @@
            if (StringUtils.isNotEmpty(str)) {
                hql += " and type=:type ";
                args.put("type", str);
            }
            str = (String) param.get("type");
            if (StringUtils.isEmpty(str)) {
            }else{
                hql += " and type <> 'LOSS' and type <> 'OVER'";
            } else {
                hql += " and type=:type ";
                args.put("type", str);
            }
            str = (String) param.get("customerId");