YYC
2023-07-25 21bf8b454eee7e80d9471e4424e7520c4f82f3a7
igds-inout/src/main/java/com/ld/igds/m/service/HInoutNoticeService.java
@@ -15,6 +15,7 @@
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import java.util.*;
@Repository
@@ -257,6 +258,7 @@
    /**
     * 根据参数查询出入库通知单
     *
     * @param parameter
     * @return
     */
@@ -274,12 +276,12 @@
        }else {
            hql += InoutNoticeOut.class.getName();
        }
        hql += " where companyId =:companyId and deptId =:deptId";
        hql += " where companyId =:companyId and deptId =:deptId and completeStatus =:completeStatus";
        Map<String, Object> args = new HashMap<>();
        args.put("companyId", ContextUtil.getCompanyId());
        args.put("deptId", ContextUtil.subDeptId(null));
        args.put("completeStatus", "NONE");
        String str = (String) parameter.get("customerId");
        if (StringUtils.isNotEmpty(str)) {
            hql += " and customerId =:customerId";
@@ -325,6 +327,7 @@
    /**
     * 根据id获取通知单信息
     *
     * @param id
     * @param type
     * @return