lixiaojun
2024-12-04 bce72e28513fface09c5a777e26b010afb17ac28
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
52
53
54
55
56
57
58
59
60
namespace Yw.CAL
{
    /// <summary>
    /// 标签
    /// </summary>
    public interface IBimfaceFileRelation : IBaseCAL<AddBimfaceFileRelationInput, UpdateBimfaceFileRelationInput, BimfaceFileRelationDto>, IUpdateSorter
    {
 
        /// <summary>
        /// 通过 ObjectType 和 ObjectID 获取
        /// </summary> 
        Task<List<BimfaceFileRelationDto>> GetByObjectTypeAndObjectID(string ObjectType, long ObjectID);
 
        /// <summary>
        /// 
        /// </summary>
        Task<List<BimfaceFileRelationDto>> GetByObjectTypeAndObjectIDOfPurpose(string ObjectType, long ObjectID, string Purpose);
 
        /// <summary>
        /// 
        /// </summary>
        Task<BimfaceFileRelationDto> GetDefaultByObjectTypeAndObjectIDOfPurpose(string ObjectType, long ObjectID, string Purpose);
 
        /// <summary>
        /// 
        /// </summary>
        Task<long> InsertObject(AddBimfaceFileRelationInput input);
 
        /// <summary>
        /// 
        /// </summary>
        Task<long> InsertPage(AddBimfaceFileRelationInput input);
 
        /// <summary>
        /// 
        /// </summary>
        Task<bool> UpdatePurpose(long ID, string Purpose);
 
        /// <summary>
        /// 
        /// </summary>
        Task<bool> UpdateContent(long ID, string Content);
 
        /// <summary>
        /// 
        /// </summary>
        Task<bool> IsExistByBimfaceFileID(long BimfaceFileID);
 
        /// <summary>
        /// 
        /// </summary>
        Task<bool> DeleteExByID(long ID);
 
        /// <summary>
        /// 
        /// </summary>
        Task<bool> DeleteAllByID(long ID);
 
    }
}