refactor,feat: 批量代码重构与新增业务模块
1. 重命名枚举项与实体字段,修正类型引用 2. 新增IsNull扩展方法与多项字符串处理扩展 3. 新增大量业务DTO、服务接口与枚举定义 4. 重构RabbitMQ服务实现,替换旧版消息队列组件 5. 优化签到服务的宠物喂养事务逻辑 6. 移除冗余的项目引用与旧版消息队列代码 7. 新增Excel导出、导入模板相关工具方法
This commit is contained in:
@ -0,0 +1,73 @@
|
||||
|
||||
using QYZH.InteractiveMagazine.Common.Helpers;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.Models.Dto.DotMatrix
|
||||
{
|
||||
public class DotMatrixOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// 方法
|
||||
/// </summary>
|
||||
public string Method { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public long NoteId { get; set; }
|
||||
|
||||
private string _pdfUrl;
|
||||
/// <summary>
|
||||
/// pdf地址
|
||||
/// </summary>
|
||||
public string PdfUrl
|
||||
{
|
||||
get => DomainHelper.OssFullUrl(_pdfUrl);
|
||||
set => _pdfUrl = value;
|
||||
}
|
||||
|
||||
public List<DotMatrixMqOutput> DotMatrixs { get; set; } = new List<DotMatrixMqOutput>();
|
||||
}
|
||||
|
||||
public class DotMatrixMqOutput
|
||||
{
|
||||
public long DotId { get; set; }
|
||||
|
||||
private string _fileAddress;
|
||||
/// <summary>
|
||||
/// 点阵xml地址
|
||||
/// </summary>
|
||||
public string FileAddress
|
||||
{
|
||||
get => DomainHelper.OssFullUrl(_fileAddress);
|
||||
set => _fileAddress = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 页
|
||||
/// </summary>
|
||||
public List<DotMatrixPageDto> Pages { get; set; } = new List<DotMatrixPageDto>();
|
||||
}
|
||||
|
||||
public class DotMatrixPageDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 页码
|
||||
/// </summary>
|
||||
public string PageNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 连续数量
|
||||
/// </summary>
|
||||
public int PageNum { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user