This commit is contained in:
gcw_MV9p2JJN 2025-10-17 18:31:47 +08:00
parent 1b1a118212
commit b0ea9f6067
3 changed files with 4 additions and 5 deletions

View File

@ -92,7 +92,6 @@ namespace DOAN.Admin.WebApi.Controllers
{
var modal = parm.Adapt<ProPlanAchievementrate>().ToUpdate(HttpContext);
var response = _ProPlanAchievementrateService.UpdateProPlanAchievementrate(modal);
return ToResponse(response);
}

View File

@ -19,8 +19,8 @@ namespace DOAN.Model.MES.product.Dto
/// </summary>
public class ProPlanAchievementrateDto
{
// [Required(ErrorMessage = "自增主键不能为空")]
// public int Id { get; set; }
[Required(ErrorMessage = "自增主键不能为空")]
public int Id { get; set; }
public string Project { get; set; }

View File

@ -15,8 +15,8 @@ namespace DOAN.Model.MES.product
///// <summary>
///// 工位任务id
///// </summary>
//[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "task_id")]
//public string TaskId { get; set; }
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "task_id")]
public string TaskId { get; set; }
/// <summary>
/// 工单id