|
@@ -55,7 +55,7 @@ namespace JLHHJSvr.Excutor
|
|
|
request.mtrl.createtime = dtNow;
|
|
|
request.mtrl.createby = tokendata.username;
|
|
|
|
|
|
- var fields = @"mtrlid,mtrltype,name,priceunit,shrinkage,gram_weight,cloth_width,if_inputqty,if_areaprice,createtime,createby,thickness,dscrp,erp_mtrlid,fjcnt,isuse,handtype,lastdate,erp_mtrlengname,if_subspecs";
|
|
|
+ var fields = @"mtrlid,mtrltype,name,priceunit,shrinkage,gram_weight,cloth_width,if_inputqty,if_areaprice,createtime,createby,thickness,dscrp,erp_mtrlid,fjcnt,isuse,handtype,lastdate,erp_mtrlengname,if_subspecs,extra_cost";
|
|
|
DbSqlHelper.Insert(cmd, "u_mtrl_price", null, request.mtrl, fields);
|
|
|
|
|
|
var fields2 = @"mtrlid,pricelistid,price,pricetype,price_formula,qty_formula";
|
|
@@ -74,7 +74,7 @@ namespace JLHHJSvr.Excutor
|
|
|
else
|
|
|
{
|
|
|
//修改
|
|
|
- var fields = @"mtrltype,name,priceunit,shrinkage,gram_weight,cloth_width,if_inputqty,if_areaprice,thickness,dscrp,erp_mtrlid,fjcnt,isuse,handtype,lastdate,erp_mtrlengname,if_subspecs";
|
|
|
+ var fields = @"mtrltype,name,priceunit,shrinkage,gram_weight,cloth_width,if_inputqty,if_areaprice,thickness,dscrp,erp_mtrlid,fjcnt,isuse,handtype,lastdate,erp_mtrlengname,if_subspecs,extra_cost";
|
|
|
DbSqlHelper.Update(cmd, "u_mtrl_price", null, request.mtrl, "mtrlid", fields);
|
|
|
|
|
|
var fields2 = @"price,pricetype,price_formula,qty_formula";
|