1
This commit is contained in:
parent
1b1a118212
commit
b0ea9f6067
@ -92,7 +92,6 @@ namespace DOAN.Admin.WebApi.Controllers
|
||||
{
|
||||
var modal = parm.Adapt<ProPlanAchievementrate>().ToUpdate(HttpContext);
|
||||
var response = _ProPlanAchievementrateService.UpdateProPlanAchievementrate(modal);
|
||||
|
||||
return ToResponse(response);
|
||||
}
|
||||
|
||||
|
||||
@ -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; }
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user