From 3296c70dfc999ff1d09ac28d6205197c11825c5f Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期四, 22 五月 2025 14:58:26 +0800 Subject: [PATCH] 1,来料检添加‘往期检验履历’,‘最大抽检数量’两个字段 2,一致性核对添加图片是否上传校验 --- StandardPda/MESApplication/Controllers/BasicData/SysDepartmentController.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/StandardPda/MESApplication/Controllers/BasicData/SysDepartmentController.cs b/StandardPda/MESApplication/Controllers/BasicData/SysDepartmentController.cs index 7fff07b..dcf06df 100644 --- a/StandardPda/MESApplication/Controllers/BasicData/SysDepartmentController.cs +++ b/StandardPda/MESApplication/Controllers/BasicData/SysDepartmentController.cs @@ -1,4 +1,4 @@ -锘縰sing System.Dynamic; +锘縰sing Masuit.Tools; using MES.Service.Dto.webApi; using MES.Service.Modes; using MES.Service.service; @@ -6,6 +6,7 @@ using MES.Service.util; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; +using System.Dynamic; namespace MESApplication.Controllers.BasicData; @@ -32,6 +33,7 @@ entity.Data = JsonConvert.SerializeObject(unit); entity.Status = 1; entity.CreateBy = "PL017"; + entity.Route = unit.FNumber; try { dynamic resultInfos = new ExpandoObject(); @@ -75,6 +77,7 @@ entity.Data = JsonConvert.SerializeObject(units); entity.Status = 1; entity.CreateBy = "PL017"; + entity.Route = units.Select(it => it.FNumber).Join(","); try { dynamic resultInfos = new ExpandoObject(); -- Gitblit v1.9.3