package com.lxzn.nc.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.lxzn.framework.domain.nc.DeviceInfo;
|
import com.lxzn.framework.domain.nc.DocRelative;
|
|
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<DeviceInfo> findDeviceByDocId(String docId);
|
|
/**
|
* 查询关联关系
|
* @param docId
|
* @param classificationId
|
* @param attributionType
|
* @param attributionId
|
* @return
|
*/
|
DocRelative findDocRelative(String docId, String classificationId, Integer attributionType, String attributionId);
|
}
|