feat: 包装管理和车次管理接口功能增强
- 新增包装分类获取接口 - 包装列表增加分类信息、包装内数量和车次关联筛选 - 保存包装支持分类字段 - 车次关联包装增加重复校验
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using BLL;
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -229,6 +229,26 @@ namespace WebAPI.Controllers
|
||||
return responeData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取包装分类列表
|
||||
/// </summary>
|
||||
/// <returns>包装分类字典</returns>
|
||||
[HttpGet]
|
||||
public Model.ResponeData GetPackagingCategories()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
responeData.data = HJGLPackagingmanageService.CategoryIntMap;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
#endregion Methods
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user