Files
yanpeng200212 a8890c81e9 新增质量模块(工艺执行书 / 样茧试缫)与报表中心
质量模块:
- 11 张工艺执行书表:封面、试产、选剥茧(含混茧明细)、试缫与大样、煮茧(含分车间配温、副煮车间)、自动缫(含大样)、后缫
- 10 张样茧试缫表:原料小样/综合样主表 + 选茧、解舒、茧幅、切剖、清洁洁净、茧丝百回纤度
- 服务与接口、主控指针回写(列表 √ 标记)、封面编号自增、报表数据包
- 前端 8 张报表打印版式、7 类工艺单据与 6 类调查录入弹窗、字段驱动表单/表格组件
- 菜单种子新增「质量」目录,样茧子表增加 YjssType 判别列,避免原料小样与综合样自增 Id 重号串数据

报表中心:
- 报表模板管理、锐浪 grhtml5 加载与预览、全屏设计面板、数据源 Provider(落丝记录、职工花名册)

其他:同步工作进度 1-11 文档、开发数据库快照、.gitignore 忽略运行日志目录
2026-10-22 10:30:37 +08:00

83 lines
2.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace F9WebAiTest.Application.Dtos.SYS.Reports;
public record ReportListDto(
long Id,
string Code,
string Name,
string Category,
string Description,
int SortOrder,
bool IsActive,
long ReportFileId,
bool HasTemplate,
DateTime CreatedAt,
DateTime? UpdatedAt);
public record ReportDetailDto(
long Id,
string Code,
string Name,
string Category,
string Description,
string DataSql,
string DataParams,
string Config,
int SortOrder,
bool IsActive,
long ReportFileId,
bool HasTemplate,
DateTime CreatedAt,
DateTime? UpdatedAt);
public record ReportViewDto(
long Id,
string Code,
string Name,
string Category,
string Description,
int SortOrder,
bool HasTemplate);
public class ReportCreateDto
{
public string Code { get; set; } = "";
public string Name { get; set; } = "";
public string? Category { get; set; }
public string? Description { get; set; }
public string? DataSql { get; set; }
public string? DataParams { get; set; }
public string? Config { get; set; }
public int SortOrder { get; set; }
/// <summary>
/// 报表模板(.grf 的 JSON 文本)。与报表配置一起保存,无需再单独上传模板文件。
/// 为空表示本次不改动模板。
/// </summary>
public string? TemplateJson { get; set; }
}
public class ReportUpdateDto
{
public string Code { get; set; } = "";
public string Name { get; set; } = "";
public string? Category { get; set; }
public string? Description { get; set; }
public string? DataSql { get; set; }
public string? DataParams { get; set; }
public string? Config { get; set; }
public int SortOrder { get; set; }
/// <summary>
/// 报表模板(.grf 的 JSON 文本)。与报表配置一起保存,无需再单独上传模板文件。
/// 为空表示本次不改动模板(保留原模板)。
/// </summary>
public string? TemplateJson { get; set; }
}
/// <summary>在线编辑模板源码后直接保存的内容(免下载 / 上传 .grf)</summary>
public class ReportTemplateContentDto
{
/// <summary>模板全文:GR6 时代的 UTF-8 JSON 文本,或 GR7 设计器的 "_WR" 压缩文本</summary>
public string? Content { get; set; }
}