|
@@ -318,6 +318,7 @@ namespace SCADA_DAQ.Customer.Service
|
|
|
wmsTasks.Sort((item1, item2) => item1.TaskNo.CompareTo(item2.TaskNo)); //排序
|
|
|
var dbRes = Env.DAL.Insert(wmsTasks);
|
|
|
Log.Info(taskNos);
|
|
|
+ AddDeviceTaskList(wmsHaveSourceLocationTask);
|
|
|
wmsUpLoad(wmsHaveSourceLocationTask);
|
|
|
if (dbRes.IsSucceed == true)
|
|
|
{
|
|
@@ -335,7 +336,6 @@ namespace SCADA_DAQ.Customer.Service
|
|
|
/// <param name="task"></param>
|
|
|
public static void wmsUpLoad(List<AppBCItemTaskModel> task)
|
|
|
{
|
|
|
- AddDeviceTaskList(task);
|
|
|
var message = "";
|
|
|
var itemTaskUpList = new List<AppBCItemTaskModel>(); //更新任务状态
|
|
|
var successItemTaskQty = new List<AppBCItemTaskModel>(); //更新物料库存
|
|
@@ -493,6 +493,8 @@ namespace SCADA_DAQ.Customer.Service
|
|
|
EndRow = endRow,
|
|
|
EndCol = endCol,
|
|
|
EndLayer = 1,
|
|
|
+ ItemCode = item.ItemCode,
|
|
|
+ ItemName = item.ItemName,
|
|
|
});
|
|
|
if ((Convert.ToInt32(sourceLocation[1]) == 01 || Convert.ToInt32(sourceLocation[1]) == 02) && endLine1 == 1)
|
|
|
{
|