jiazx0107@163.com
2023-06-24 6f45f4a29ce38525f3f9e3931bcedfc77bde765e
igds-inout/src/main/java/com/ld/igds/inout/view/InoutDataPR.java
@@ -73,14 +73,6 @@
    }
    /**
     * 删除数据 inoutDataPR#delInoutData
     */
    @DataResolver
    public String delInoutData(InoutData data) throws Exception {
        return inoutManager.delInoutData(data, false);
    }
    /**
     * inoutDataPR#errorInoutData 出入库数据执行 异常终止
     *
     * @param data
@@ -88,6 +80,7 @@
     * @throws Exception
     */
    @DataResolver
    @Transactional
    public String errorInoutData(InoutData data) throws Exception {
        return inoutManager.errorInoutData(data);
    }
@@ -119,9 +112,6 @@
        if (InoutConstant.RECORD_STATUS_DEL.equals(data.getRecordStatus())) {
            return "删除的数据不支持打印!";
        }
        if (InoutConstant.RECORD_STATUS_ERROR.equals(data.getRecordStatus())) {
            return "异常终止的数据不支持打印!";
        }
        if (!InoutConstant.PROGRESS_RECORD.equals(data.getProgress())) {
            return "未完成的数据不支持打印!";
        }
@@ -145,9 +135,6 @@
        if (InoutConstant.RECORD_STATUS_DEL.equals(data.getRecordStatus())) {
            return null;
        }
        if (InoutConstant.RECORD_STATUS_ERROR.equals(data.getRecordStatus())) {
            return null;
        }
        if (!InoutConstant.PROGRESS_RECORD.equals(data.getProgress())) {
            return null;
        }
@@ -166,9 +153,6 @@
    public String printCheckBill(InoutData data) throws Exception {
        if (InoutConstant.RECORD_STATUS_DEL.equals(data.getRecordStatus())) {
            return "删除的数据不支持打印!";
        }
        if (InoutConstant.RECORD_STATUS_ERROR.equals(data.getRecordStatus())) {
            return "异常终止的数据不支持打印!";
        }
        return inoutReportManager.inCheckBill(data);
    }