新增工资/仓储/生产日报等模块,移除旧考勤模块
- 新增 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:
@@ -0,0 +1,228 @@
|
||||
using F9WebAiTest.Domain.Entities.Prod;
|
||||
|
||||
namespace F9WebAiTest.Application.Dtos.Prod;
|
||||
|
||||
// ==================== 选茧日报 ====================
|
||||
|
||||
public class XjrbListDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public string DateText => Date.ToString("yyyy-MM-dd");
|
||||
public long GyzkId { get; set; }
|
||||
public string GyzkName { get; set; } = "";
|
||||
|
||||
public int YlLrBaoshu { get; set; }
|
||||
public decimal YlLrZhongliang { get; set; }
|
||||
|
||||
public int LtjBaoshu { get; set; }
|
||||
public decimal LtjZhongliang { get; set; }
|
||||
public int HwjjBaoshu { get; set; }
|
||||
public decimal HwjjZhongliang { get; set; }
|
||||
public int LjjBaoshu { get; set; }
|
||||
public decimal LjjZhongliang { get; set; }
|
||||
public int MjBaoshu { get; set; }
|
||||
public decimal MjZhongliang { get; set; }
|
||||
public int SgjBaoshu { get; set; }
|
||||
public decimal SgjZhongliang { get; set; }
|
||||
public int XjjBaoshu { get; set; }
|
||||
public decimal XjjZhongliang { get; set; }
|
||||
public int JyBaoshu { get; set; }
|
||||
public decimal JyZhongliang { get; set; }
|
||||
public int JhBaoshu { get; set; }
|
||||
public decimal JhZhongliang { get; set; }
|
||||
|
||||
public decimal TotalZhongliang { get; set; }
|
||||
public int ThBaoshu { get; set; }
|
||||
public decimal ThZhongliang { get; set; }
|
||||
public decimal LiantongRate { get; set; }
|
||||
public decimal Yingkui { get; set; }
|
||||
}
|
||||
|
||||
public class XjrbSaveDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public long GyzkId { get; set; }
|
||||
|
||||
public int YlLrBaoshu { get; set; }
|
||||
public decimal YlLrZhongliang { get; set; }
|
||||
|
||||
public int LtjBaoshu { get; set; }
|
||||
public decimal LtjZhongliang { get; set; }
|
||||
public int HwjjBaoshu { get; set; }
|
||||
public decimal HwjjZhongliang { get; set; }
|
||||
public int LjjBaoshu { get; set; }
|
||||
public decimal LjjZhongliang { get; set; }
|
||||
public int MjBaoshu { get; set; }
|
||||
public decimal MjZhongliang { get; set; }
|
||||
public int SgjBaoshu { get; set; }
|
||||
public decimal SgjZhongliang { get; set; }
|
||||
public int XjjBaoshu { get; set; }
|
||||
public decimal XjjZhongliang { get; set; }
|
||||
public int JyBaoshu { get; set; }
|
||||
public decimal JyZhongliang { get; set; }
|
||||
public int JhBaoshu { get; set; }
|
||||
public decimal JhZhongliang { get; set; }
|
||||
|
||||
public int ThBaoshu { get; set; }
|
||||
public decimal ThZhongliang { get; set; }
|
||||
public decimal LiantongRate { get; set; }
|
||||
public decimal Yingkui { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>盈亏 / 联统率计算结果(对齐 F9 GetXjrbCountYingkuiQuery 返回字典)</summary>
|
||||
public class XjrbYingkuiDto
|
||||
{
|
||||
public decimal LiantongRate { get; set; }
|
||||
public decimal Yingkui { get; set; }
|
||||
public DateTime StartDate { get; set; }
|
||||
public string StartDateText => StartDate.ToString("yyyy-MM-dd");
|
||||
}
|
||||
|
||||
// ==================== 选茧计划 ====================
|
||||
|
||||
public class XjrbPlanListDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public string DateText => Date.ToString("yyyy-MM-dd");
|
||||
public long GyzkId { get; set; }
|
||||
public string GyzkName { get; set; } = "";
|
||||
public long YllingliaodanId { get; set; }
|
||||
public string YllingliaodanCode { get; set; } = "";
|
||||
|
||||
public int YlBaoshu { get; set; }
|
||||
public decimal YlZhongliang { get; set; }
|
||||
|
||||
public int LtjBaoshu { get; set; }
|
||||
public decimal LtjZhongliang { get; set; }
|
||||
public int HwjjBaoshu { get; set; }
|
||||
public decimal HwjjZhongliang { get; set; }
|
||||
public int WjjBaoshu { get; set; }
|
||||
public decimal WjjZhongliang { get; set; }
|
||||
public int SgjBaoshu { get; set; }
|
||||
public decimal SgjZhongliang { get; set; }
|
||||
public int XjjBaoshu { get; set; }
|
||||
public decimal XjjZhongliang { get; set; }
|
||||
public int JyBaoshu { get; set; }
|
||||
public decimal JyZhongliang { get; set; }
|
||||
public int JhBaoshu { get; set; }
|
||||
public decimal JhZhongliang { get; set; }
|
||||
|
||||
public decimal TotalZhongliang { get; set; }
|
||||
public decimal LiantongRate { get; set; }
|
||||
public decimal Yingkui { get; set; }
|
||||
public bool IsFinish { get; set; }
|
||||
}
|
||||
|
||||
public class XjrbPlanSaveDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public long GyzkId { get; set; }
|
||||
public long YllingliaodanId { get; set; }
|
||||
|
||||
public int YlBaoshu { get; set; }
|
||||
public decimal YlZhongliang { get; set; }
|
||||
public int LtjBaoshu { get; set; }
|
||||
public decimal LtjZhongliang { get; set; }
|
||||
public int HwjjBaoshu { get; set; }
|
||||
public decimal HwjjZhongliang { get; set; }
|
||||
public int WjjBaoshu { get; set; }
|
||||
public decimal WjjZhongliang { get; set; }
|
||||
public int SgjBaoshu { get; set; }
|
||||
public decimal SgjZhongliang { get; set; }
|
||||
public int XjjBaoshu { get; set; }
|
||||
public decimal XjjZhongliang { get; set; }
|
||||
public int JyBaoshu { get; set; }
|
||||
public decimal JyZhongliang { get; set; }
|
||||
public int JhBaoshu { get; set; }
|
||||
public decimal JhZhongliang { get; set; }
|
||||
}
|
||||
|
||||
// ==================== 选茧计划明细 ====================
|
||||
|
||||
public class XjrbItemDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long XjrbPlanId { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public string DateText => Date.ToString("yyyy-MM-dd");
|
||||
|
||||
public int LtjBaoshu { get; set; }
|
||||
public decimal LtjZhongliang { get; set; }
|
||||
public int HwjjBaoshu { get; set; }
|
||||
public decimal HwjjZhongliang { get; set; }
|
||||
public int WjjBaoshu { get; set; }
|
||||
public decimal WjjZhongliang { get; set; }
|
||||
public int SgjBaoshu { get; set; }
|
||||
public decimal SgjZhongliang { get; set; }
|
||||
public int XjjBaoshu { get; set; }
|
||||
public decimal XjjZhongliang { get; set; }
|
||||
public int JyBaoshu { get; set; }
|
||||
public decimal JyZhongliang { get; set; }
|
||||
public int JhBaoshu { get; set; }
|
||||
public decimal JhZhongliang { get; set; }
|
||||
|
||||
public decimal TotalZhongliang { get; set; }
|
||||
public bool IsFinish { get; set; }
|
||||
}
|
||||
|
||||
public class XjrbItemSaveDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long XjrbPlanId { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
public int LtjBaoshu { get; set; }
|
||||
public decimal LtjZhongliang { get; set; }
|
||||
public int HwjjBaoshu { get; set; }
|
||||
public decimal HwjjZhongliang { get; set; }
|
||||
public int WjjBaoshu { get; set; }
|
||||
public decimal WjjZhongliang { get; set; }
|
||||
public int SgjBaoshu { get; set; }
|
||||
public decimal SgjZhongliang { get; set; }
|
||||
public int XjjBaoshu { get; set; }
|
||||
public decimal XjjZhongliang { get; set; }
|
||||
public int JyBaoshu { get; set; }
|
||||
public decimal JyZhongliang { get; set; }
|
||||
public int JhBaoshu { get; set; }
|
||||
public decimal JhZhongliang { get; set; }
|
||||
|
||||
public bool IsFinish { get; set; }
|
||||
}
|
||||
|
||||
// ==================== 选茧班组 ====================
|
||||
|
||||
public class XjpbBanzuDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Banci { get; set; } = "";
|
||||
public int Zu { get; set; }
|
||||
}
|
||||
|
||||
public class XjpbBanzuZhigongDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long BanzuId { get; set; }
|
||||
public string Banci { get; set; } = "";
|
||||
public int Zu { get; set; }
|
||||
public long YgId { get; set; }
|
||||
public string YgName { get; set; } = "";
|
||||
public string YgPhone { get; set; } = "";
|
||||
public int Sort { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>班组「编辑录入」保存项:职工 + 是否选中 + 组别(对齐 F9 XjpbBanzuZhigongCombinedDto)</summary>
|
||||
public class XjpbBanzuZhigongSaveDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Banci { get; set; } = "";
|
||||
public int Zu { get; set; }
|
||||
public long YgId { get; set; }
|
||||
public string YgName { get; set; } = "";
|
||||
public string YgPhone { get; set; } = "";
|
||||
public int Sort { get; set; }
|
||||
public bool Selected { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user