lyh
2025-04-01 4e2be858f4ccbb7490b59ed584fd1c829eb4d556
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package org.jeecg.modules.dnc.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.dnc.entity.DeviceInfo;
import org.jeecg.modules.dnc.entity.DocRelative;
import org.jeecg.modules.mdc.entity.MdcEquipment;
 
import java.util.List;
 
public interface IDocRelativeService extends IService<DocRelative> {
 
    /**
     * 删除文档信息
     * @param attrType
     * @param attrId
     * @return
     */
    boolean deleteByDocAttr(Integer attrType, String attrId);
 
    /**
     * 删除文档
     * @param id
     * @return
     */
    boolean deleteByDocId(String id);
 
    /**
     * 删除设备下的文档接口
     * @param docId
     * @param attrType
     * @param attrId
     * @return
     */
    boolean deleteDocByAttr(String docId, Integer attrType,  String attrId);
 
    /**
     * 删除设备下的文档接口
     * @param docId
     * @param attrType
     * @param attrId
     * @return
     */
    boolean deleteCopyDocByAttrNext(String docId, Integer attrType,  String attrId);
 
    /**
     * 查询文档下的所有关联设备信息
     * @param docId
     * @return
     */
    List<MdcEquipment> findDeviceByDocId(String docId);
}