| | |
| | | return vmList; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 通过 ObjectType 和 ObjectID 获取 Purpose 下默认 |
| | | /// </summary> |
| | | [Route("GetDefaultByObjectTypeAndObjectIDOfPurpose@V1.0")] |
| | | [HttpGet] |
| | | public BimfaceFileRelationStdDto GetDefaultByObjectTypeAndObjectIDOfPurpose([FromQuery][Required] ObjectOfPurposeInput input) |
| | | { |
| | | var model = new Yw.Service.BimfaceFileRelation().GetDefaultByObjectTypeAndObjectIDOfPurpose(input.ObjectType, input.ObjectID, input.Purpose); |
| | | return model == null ? null : new BimfaceFileRelationStdDto(model); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |