commit by yzf

master
Yang 3 years ago
parent 8d979adb15
commit ce6d19af48

@ -119,6 +119,11 @@ namespace FactorySystemApi.Controllers
if (temp != null) temp.SetValue(formula, GetValueByName(inParam, field.FFieldName, field.FDefault));
}
if (inParam.ContainsKey("SP_AUTHOR"))
{
formula.FConversionPersonnel = inParam["SP_AUTHOR"].ToString();
}
if (string.IsNullOrEmpty(formula.FPlmCode))
{
apiResult.Error("FPlmCode不能为空");
@ -145,10 +150,6 @@ namespace FactorySystemApi.Controllers
{
apiResult.Error("FConversionPersonnel不能为空");
}
else if (string.IsNullOrEmpty(formula.FBomVersionCode))
{
apiResult.Error("FBomVersionCode不能为空");
}
else
{
int userId = -1;

@ -636,27 +636,29 @@ namespace FactorySystemApi.Plm_Formula {
private string versionField;
public string SP { get
{
return this.codeField;
}
set
{
this.codeField = value;
}
}
public string SP_Version
{
get
{
return this.versionField;
}
set
{
this.versionField = value;
}
}
public string SP { get; set; }
public string SP_Version { get; set; }
//public string SP { get
// {
// return this.codeField;
// }
// set
// {
// this.codeField = value;
// }
//}
//public string SP_Version
//{
// get
// {
// return this.versionField;
// }
// set
// {
// this.versionField = value;
// }
//}
/// <remarks/>
public string Code {

Loading…
Cancel
Save