This commit is contained in:
2024-05-30 20:01:56 +08:00
parent ef6a39e24b
commit 062f48649b
10 changed files with 22 additions and 21 deletions
@@ -1272,7 +1272,7 @@ namespace FineUIPro.Web.WeldingProcess.TrustManage
pointBatchItem.CutDate = System.DateTime.Now;////更新批明细 切除日期
Funs.DB.SubmitChanges();
BLL.Batch_PointBatchService.UpdateNewKuoOrCutJointNo(pointBatchItem.PointBatchItemId, "C");
BLL.Batch_PointBatchService.UpdateNewKuoOrCutJointNo(pointBatchItem.PointBatchItemId, "C1");
// 更新批 是否委托:否
var updatePointBatch = BLL.Batch_PointBatchService.GetPointBatchById(this.PointBatchId);
if (updatePointBatch != null)
@@ -162,7 +162,7 @@ namespace FineUIPro.Web.WeldingProcess.TrustManage
db.SubmitChanges(); ////更新批明细 返修日期 状态
int k_num = 0;
string jot = "K1";
string jot = "EX1";
Model.Pipeline_WeldJoint jointInfo = null;
if (!String.IsNullOrEmpty(weldJointId))
@@ -178,13 +178,13 @@ namespace FineUIPro.Web.WeldingProcess.TrustManage
}
}
int indexK = jointInfo.WeldJointCode.LastIndexOf("K");
int indexK = jointInfo.WeldJointCode.LastIndexOf("EX");
if (indexK > 0)
{
try
{
k_num = Convert.ToInt32(jointInfo.WeldJointCode.Substring(indexK + 1, 1)) + 1;
jot = "K" + k_num.ToString();
jot = "EX" + k_num.ToString();
}
catch { }
}