YYC
2023-10-24 703c4642be0a57c3b8eaee327d0a95eb0e79de8d
igds-core/src/main/java/com/ld/igds/check/service/HCheckStandardService.java
@@ -21,14 +21,6 @@
        Map<String, Object> args = new HashMap<String, Object>();
        args.put("companyId", ContextUtil.getCompanyId());
        if(param != null){
            String str = (String) param.get("deptId");
            if (StringUtils.isEmpty(str)) {
                str = ContextUtil.subDeptId(ContextUtil.getLoginUser());
            }
            hql += " and deptId =:deptId ";
            args.put("deptId", str);
        }
        hql += " order by foodVariety";
@@ -43,9 +35,6 @@
            }
            if(null == data.getId()){
               data.setId(ContextUtil.getTimeId());
            }
            if(null == data.getDeptId()){
                data.setDeptId(ContextUtil.subDeptId(ContextUtil.getLoginUser()));
            }
            if(null == data.getUpperLimit()) data.setUpperLimit(0.0);