能够实现多人扫码出库,材料匹配生成的任务单,排序需要一致,退货入库导入,匹配管线正在出库中管线不统计散件出库
This commit is contained in:
@@ -110,8 +110,27 @@ namespace BLL
|
||||
{
|
||||
var table = db.HJGL_PackagingManage.FirstOrDefault(x => x.PackagingManageId == packagingManageId);
|
||||
if (table != null)
|
||||
{
|
||||
table.PipelineComponentId = PipelineComponentIds;
|
||||
{
|
||||
if (string.IsNullOrEmpty(table.PipelineComponentId))
|
||||
{
|
||||
table.PipelineComponentId = PipelineComponentIds;
|
||||
}
|
||||
else
|
||||
{
|
||||
HashSet<string> set = new HashSet<string>();
|
||||
string[] oldIds = table.PipelineComponentId.Split(',');
|
||||
foreach (var id in oldIds)
|
||||
{
|
||||
set.Add(id);
|
||||
}
|
||||
string[] newIds = PipelineComponentIds.Split(',');
|
||||
foreach (var id in newIds)
|
||||
{
|
||||
set.Add(id);
|
||||
}
|
||||
table.PipelineComponentId = string.Join(",", set);
|
||||
|
||||
}
|
||||
}
|
||||
BLL.HJGL_PackagingmanageService.UpdateHJGL_PackagingManage(table);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user