YYC
2023-07-11 9d1eb684e0b0a3f6a9107db3cc64fc782989a654
igds-api-phone/src/main/java/com/ld/igds/phone35/service/impl/HPhoneServiceImpl.java
@@ -92,7 +92,7 @@
     */
    public List<InoutRecord> listInoutRecord(Phone35InoutCommonParam param) {
        String hql = " from " + InoutRecord.class.getName() + " where companyId =:companyId"
                + " and recordStatus <>:recordStatus1 and recordStatus <>:recordStatus2";
                + " and recordStatus <>:recordStatus1 ";
        Map<String, Object> args = new HashMap<String, Object>();
        args.put("companyId", param.getCompanyId());
@@ -141,12 +141,12 @@
     * @return
     */
    public InoutRecord getInoutRecord(String companyId, String deptId, String id, String intelCard) {
        String hql = " from " + InoutRecord.class.getName() + " where" + " recordStatus <>:recordStatus1 and recordStatus <>:recordStatus2";
        String hql = " from " + InoutRecord.class.getName() + " where" + " recordStatus <>:recordStatus1 ";
        Map<String, Object> args = new HashMap<String, Object>();
        args.put("recordStatus1", InoutConstant.RECORD_STATUS_DEL);
        if (StringUtils.isNotEmpty(companyId)) {
            hql += " and companyId =:companyId";
            args.put("companyId", companyId);
@@ -163,7 +163,7 @@
            hql += " and intelCard =:intelCard";
            args.put("intelCard", intelCard);
        }
        hql += " order by registerTime";
        hql += " order by registerTime desc";
        List<InoutRecord> list = this.query(hql, args);
        if (null == list || list.isEmpty()) {