This commit is contained in:
2025-10-17 14:44:13 +08:00
parent 6b378bc8ea
commit e1ffcf0caf

View File

@@ -30,7 +30,7 @@ namespace Pilot_KD_Parino.Sal_Order
{ {
var json = JsonUtil.Serialize(FEntity); var json = JsonUtil.Serialize(FEntity);
Logger.Error("销售订单保存前刷正确的合同号", json, new Exception()); //Logger.Error("销售订单保存前刷正确的合同号", json, new Exception());
var fid = FEntity["id"]; var fid = FEntity["id"];
var sql3333 = $@"SELECT F_contractnumber FROM dbo.T_SAL_ORDER WHERE fid={fid} and F_contractnumber !='' "; var sql3333 = $@"SELECT F_contractnumber FROM dbo.T_SAL_ORDER WHERE fid={fid} and F_contractnumber !='' ";
@@ -38,7 +38,7 @@ namespace Pilot_KD_Parino.Sal_Order
if (sqlDS33 != null && sqlDS33.Count > 0) if (sqlDS33 != null && sqlDS33.Count > 0)
{ {
string contractnumber = sqlDS33[0]["F_contractnumber"].ToString(); string contractnumber = sqlDS33[0]["F_contractnumber"].ToString();
Logger.Error("销售订单保存前刷正确的合同号2", contractnumber, new Exception()); //Logger.Error("销售订单保存前刷正确的合同号2", contractnumber, new Exception());
FEntity["F_contractnumber"] = contractnumber; FEntity["F_contractnumber"] = contractnumber;