feat: 支持单位工程排序并统一委托单号生成与编辑
支持按业务序号展示单位工程,并使页面与 API 使用一致的委托单编号规则;允许有修改权限的用户调整委托单号。附带序号字段及修改按钮权限的数据库升级脚本。
This commit is contained in:
@@ -240,7 +240,7 @@ namespace WebAPI.Controllers
|
||||
|
||||
string perfix = string.Empty;
|
||||
|
||||
newBatchTrust.TrustBatchCode = batch.PointBatchCode.Replace("-DK-", "-WT-");
|
||||
newBatchTrust.TrustBatchCode = BLL.Batch_BatchTrustService.BuildTrustBatchCode(project.ProjectCode, area.UnitWorkCode, ndt.DetectionTypeCode, batch.PointBatchCode);
|
||||
string trustBatchId = SQLHelper.GetNewID(typeof(Model.HJGL_Batch_BatchTrust));
|
||||
newBatchTrust.TrustBatchId = trustBatchId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user