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);
|
}
|