新增工资/仓储/生产日报等模块,移除旧考勤模块

- 新增 PayRoll(工资)、Wms(仓储)、Prod(车速/缫丝/考勤/丝片检测/丝片台账/纤检日报/质量日报) 模块
- 新增对应 Domain 实体、Application DTO/Service、Api Controller 与前端页面
- 移除旧 Attendance 考勤模块(Controller/Service/Entity/DTO 及 5 个前端页面),由 Prod/Kaoqin 取代
- 调整路由、仪表盘、Lsjl 流丝记录实体与服务
- 更新业务种子数据与 DbSeeder
- 补充工作进度文档 14-27
This commit is contained in:
yanpeng200212
2026-10-27 09:09:57 +08:00
parent 69c4052a64
commit 1f1b184411
119 changed files with 21576 additions and 1668 deletions
@@ -0,0 +1,105 @@
namespace F9WebAiTest.Application.Dtos.Prod;
// ==================== 秤大丝(成筒丝 CDS) ====================
/// <summary>秤大丝列表行(落丝记录 + 秤丝汇总)</summary>
public class CdsListItemDto
{
public long LsjlId { get; set; }
public DateTime WorkDate { get; set; }
public long DeptId { get; set; }
public string DeptName { get; set; } = "";
public int Jizu { get; set; }
public int Huishu { get; set; }
public string Guige { get; set; } = "";
public string ZhuangKouName { get; set; } = "";
public string Yanse { get; set; } = "";
public bool Isbanche { get; set; }
public string IsbancheName { get; set; } = "";
public int Chetaishu { get; set; }
public int ChetaiStart { get; set; }
public int ChetaiEnd { get; set; }
public double Hours { get; set; }
public int Tongshu { get; set; }
public int Meitongjianliang { get; set; }
public int YingchengNum { get; set; } // 应秤数 = 车台数 × 4 × (半车 ? 0.5 : 1)
public bool IsWeighed { get; set; } // 是否已秤
public int Num { get; set; } // 已秤数
public int Siliang { get; set; } // 已秤丝量(g)
public int Jianliang { get; set; } // 茧量(g)
public decimal Saozhe { get; set; } // 缫折
public decimal Taichan { get; set; } // 台产
}
/// <summary>秤大丝称重弹窗数据</summary>
public class CdsEditDto
{
public long LsjlId { get; set; }
public string DeptName { get; set; } = "";
public int Jizu { get; set; }
public int Huishu { get; set; }
public string ZhuangKouName { get; set; } = "";
public string Yanse { get; set; } = "";
public bool Isbanche { get; set; }
public string IsbancheName { get; set; } = "";
public string Guige { get; set; } = "";
public int ChetaiStart { get; set; }
public int ChetaiEnd { get; set; }
public int Chetaishu { get; set; }
public int YingchengNum { get; set; }
public List<CdsChetaiDto> Chetais { get; set; } = new();
}
/// <summary>秤大丝车台明细 DTO</summary>
public class CdsChetaiDto
{
public int Chetaihao { get; set; }
public int Sl1 { get; set; }
public int Sl2 { get; set; }
public int Sl3 { get; set; }
public int Sl4 { get; set; }
public int Num { get; set; } // 个数
public int Siliang { get; set; } // 小计丝量
}
/// <summary>秤大丝保存请求</summary>
public class CdsSaveDto
{
public long LsjlId { get; set; }
public List<CdsChetaiDto> Chetais { get; set; } = new();
}
// ==================== 公量纤度 ====================
/// <summary>公量纤度列表行(落丝记录 + 纤度检验平均纤度 + 公量纤度)</summary>
public class GlxdListItemDto
{
public long LsjlId { get; set; }
public DateTime WorkDate { get; set; }
public long DeptId { get; set; }
public string DeptName { get; set; } = "";
public int Jizu { get; set; }
public int Huishu { get; set; }
public string Guige { get; set; } = "";
public string ZhuangKouName { get; set; } = "";
public string Yanse { get; set; } = "";
public bool Isbanche { get; set; }
public string IsbancheName { get; set; } = "";
public int Chetaishu { get; set; }
public double Avgxiandu { get; set; } // 平均纤度(来自纤度检验)
public decimal Gongliangxiandu { get; set; } // 公量纤度
}
/// <summary>公量纤度批量保存请求</summary>
public class GlxdSaveDto
{
public DateTime Date { get; set; }
public long DeptId { get; set; }
public List<GlxdSaveItemDto> Items { get; set; } = new();
}
public class GlxdSaveItemDto
{
public long LsjlId { get; set; }
public decimal Gongliangxiandu { get; set; }
}