fixed 修改商品规格缺少字段

This commit is contained in:
lwh 2023-06-21 18:30:02 +08:00
parent 38fd7b4ac8
commit 16b0590c06
4 changed files with 19 additions and 19 deletions

View File

@ -17,7 +17,7 @@ namespace ARW.Model.Dto.Business.GoodsManager.GoodsSpecs.Specs
public int SpecId { get; set; }
[Required(ErrorMessage = "规格值名称不能为空")]
public string SpecName { get; set; }
public string SpecValueName { get; set; }

View File

@ -36,8 +36,8 @@ namespace ARW.Model.Models.Business.GoodsManager.GoodsSpecs.SpecValues
/// 描述 :规格值名称
/// 空值 : false
/// </summary>
[SugarColumn(ColumnName = "spec_name")]
public string SpecName { get; set; }
[SugarColumn(ColumnName = "spec_value_name")]
public string SpecValueName { get; set; }

View File

@ -30,7 +30,7 @@ namespace ARW.Model.Vo.Business.GoodsManager.GoodsSpecs.SpecValues
/// <summary>
/// 描述 :规格值名称
/// </summary>
public string SpecName { get; set; }
public string SpecValueName { get; set; }
}
}

View File

@ -52,7 +52,7 @@ namespace ARW.Service.Business.BusinessService.GoodsManager.GoodsSpecs.SpecValue
{
SpecValueId = s.SpecValueId,
SpecId = s.SpecId,
SpecName = s.SpecName,
SpecValueName = s.SpecValueName,
});