2023-09-07

This commit is contained in:
2023-09-07 16:38:56 +08:00
parent c4aecfbcaf
commit 36c40ea33c
9 changed files with 580 additions and 60 deletions
@@ -572,7 +572,8 @@ namespace FineUIPro.Web.HJGL.PointTrust
{
if (!batch.EndDate.HasValue)
{
PointBatchService.UpdateBatchIsClosed2(this.PointBatchId, DateTime.Now);
PointBatchService.UpdateBatchIsClosed(this.PointBatchId, DateTime.Now);
/*PointBatchService.UpdateBatchIsClosed2(this.PointBatchId, DateTime.Now);
//生成委托单
Model.HJGL_Batch_BatchTrust newBatchTrust = new Model.HJGL_Batch_BatchTrust();
var project = BLL.ProjectService.GetProjectByProjectId(batch.ProjectId);
@@ -595,7 +596,7 @@ namespace FineUIPro.Web.HJGL.PointTrust
newBatchTrust.DetectionTypeId = batch.DetectionTypeId;
newBatchTrust.DetectionRateId = batch.DetectionRateId;
newBatchTrust.PointBatchId = this.PointBatchId;
BLL.Batch_BatchTrustService.AddBatchTrust(newBatchTrust); // 新增委托单
BLL.Batch_BatchTrustService.AddBatchTrust(newBatchTrust); // 新增委托单*/
this.BindGrid();
Alert.ShowInTop("关批成功!", MessageBoxIcon.Success);
}