|
@@ -342,7 +342,7 @@ namespace JLHHJSvr.Helper
|
|
|
/// </summary>
|
|
|
/// <param name="mtrl">核价物料资料</param>
|
|
|
/// <returns>错误信息</returns>
|
|
|
- public string SaveMtrldef(u_mattress mtrl, List<u_mattress_interface> interfaceList = null, string fields = "mtrlname,mtrlmode,mtrltypeid,mtrltype,unit,mtrlengname,configcode,configname,model,configcodetype,moddate,modemp")
|
|
|
+ public string SaveMtrldef(u_mattress mtrl, List<u_mattress_interface> interfaceList = null, string fields = "mtrlname,mtrlmode,mtrltypeid,mtrltype,unit,mtrlengname,configcode,configname,model,configcodetype,moddate,modemp,ifautodd")
|
|
|
{
|
|
|
var errMsg = string.Empty;
|
|
|
|
|
@@ -393,7 +393,8 @@ namespace JLHHJSvr.Helper
|
|
|
["configcodetype"] = mtrl.erp_configcodetype,
|
|
|
["mtrl_config2"] = configure2,
|
|
|
["moddate"] = DateTime.Now,
|
|
|
- ["modemp"] = context.tokendata.username
|
|
|
+ ["modemp"] = context.tokendata.username,
|
|
|
+ ["ifautodd"] = 1
|
|
|
}
|
|
|
},
|
|
|
["updateFields"] = fields
|