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

- 新增 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,32 @@
using FreeSql.DataAnnotations;
using F9WebAiTest.Domain.Common;
namespace F9WebAiTest.Domain.Entities.Prod;
/// <summary>秤大丝-落丝汇总(每个落丝记录一条)</summary>
[Table(Name = "CdsLsjls")]
[Index("IX_CdsLsjls_LsjlId", "LsjlId", IsUnique = true)]
public class CdsLsjl : BaseEntity
{
public long LsjlId { get; set; } // 落丝记录
public int Num { get; set; } // 已秤数(把数)
public int Siliang { get; set; } // 已秤丝量(g)
public int Jianliang { get; set; } // 茧量(g)= 落丝桶数 × 每桶茧量
public decimal Saozhe { get; set; } // 缫折 = 茧量 / 丝量 × 100
public decimal Taichan { get; set; } // 实绩台产 = 丝量 / 落丝时长 / 车台数
}
/// <summary>秤大丝-车台明细(每车台一行,4 个丝量值,单位 g)</summary>
[Table(Name = "CdsChetais")]
[Index("IX_CdsChetais_LsjlId_Chetaihao", "LsjlId, Chetaihao", IsUnique = true)]
public class CdsChetai : BaseEntity
{
public long LsjlId { get; set; } // 落丝记录
public int Chetaihao { get; set; } // 车台号
public int Sl1 { get; set; } // 丝量1
public int Sl2 { get; set; } // 丝量2
public int Sl3 { get; set; } // 丝量3
public int Sl4 { get; set; } // 丝量4
public int Num { get; set; } // 个数 = 丝量 > 0 的个数
public int Siliang { get; set; } // 小计丝量
}