2023-09-07
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user