修改规格
This commit is contained in:
@@ -340,8 +340,8 @@ namespace BarCode.Web.Domain.Entitys
|
|||||||
{
|
{
|
||||||
if (this.IsUse)
|
if (this.IsUse)
|
||||||
return Result.ReFailure($"序列码 {this.SerialNumber} 已被使用,不允许规格转换", 600007);
|
return Result.ReFailure($"序列码 {this.SerialNumber} 已被使用,不允许规格转换", 600007);
|
||||||
if (!this.MaterialNumber.Equals(number))
|
//if (!this.MaterialNumber.Equals(number) )
|
||||||
{
|
//{
|
||||||
this.Old_MaterialNumber = this.MaterialNumber;
|
this.Old_MaterialNumber = this.MaterialNumber;
|
||||||
this.old_Specifications = old_Specifications;
|
this.old_Specifications = old_Specifications;
|
||||||
this.MaterialName= MaterialName;
|
this.MaterialName= MaterialName;
|
||||||
@@ -349,7 +349,7 @@ namespace BarCode.Web.Domain.Entitys
|
|||||||
this.BarCode= MaterialBarCode;
|
this.BarCode= MaterialBarCode;
|
||||||
this.MaterialNumber = number;
|
this.MaterialNumber = number;
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
return Result.ReSuccess();
|
return Result.ReSuccess();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user