Lius
2023-11-17 00c2240a834316ef1321b858f939e929b405b6be
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EquipmentDocumentController.java
@@ -126,7 +126,7 @@
        String type = json.getString("type");
        EquipmentDocument equipmentDocument = json.toJavaObject(EquipmentDocument.class);
        equipmentDocument.setType(fileType);
        equipmentDocument.setFileType(fileType);
        equipmentDocumentService.save(equipmentDocument);
        // 文件变更
        if (isFileChange) {
@@ -166,7 +166,7 @@
        String type = json.getString("type");
        EquipmentDocument equipmentDocument = json.toJavaObject(EquipmentDocument.class);
        equipmentDocument.setType(fileType);
        equipmentDocument.setFileType(fileType);
        equipmentDocumentService.saveOrUpdate(equipmentDocument);
        // 文件变更
        if (isFileChange) {