change - 实时库存:入库、出库、异常设置逻辑实现

foamRearStore
wenjy 1 year ago
parent e94552cee2
commit 9fc8924d53

Binary file not shown.

@ -43,6 +43,7 @@
<ItemGroup>
<Compile Include="AssemblyPlanBusiness.cs" />
<Compile Include="InStoreBusiness.cs" />
<Compile Include="InventoryInfoBusiness.cs" />
<Compile Include="MainBusiness.cs" />
<Compile Include="OutStoreBusiness.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

@ -0,0 +1,118 @@
using HighWayIot.Config;
using HighWayIot.Log4net;
using HighWayIot.Repository.domain;
using HighWayIot.Repository.service;
using HighWayIot.Repository.service.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aucma.Scada.Business
{
/// <summary>
/// 实时库存业务逻辑
/// </summary>
public class InventoryInfoBusiness
{
private static readonly Lazy<InventoryInfoBusiness> lazy = new Lazy<InventoryInfoBusiness>(() => new InventoryInfoBusiness());
public static InventoryInfoBusiness Instance
{
get
{
return lazy.Value;
}
}
private LogHelper logHelper = LogHelper.Instance;
private AppConfig appConfig = AppConfig.Instance;
private IBaseSpaceInfoService _spaceInfoService = new BaseSpaceInfoServiceImpl();
public InventoryInfoBusiness()
{
}
/// <summary>
/// 修改货道入库标识
/// </summary>
/// <param name="storeCode"></param>
/// <param name="spaceCode"></param>
public bool UpdateInStoreFlag(string storeCode,string spaceCode)
{
bool result = false;
try
{
BaseSpaceInfo spaceInfo = _spaceInfoService.GetSpaceInfoBySpaceCode(storeCode, spaceCode);
if (spaceInfo != null)
{
spaceInfo.inStoreFlag = spaceInfo.inStoreFlag == 1 ? 2 : 1;
result = _spaceInfoService.UpdateSpaceInfo(spaceInfo);
logHelper.Info($"修改仓库:{storeCode};货道:{spaceCode};入库标识:{spaceInfo.inStoreFlag};修改{(result == true ? "" : "")}");
}
}catch(Exception ex)
{
logHelper.Error("修改货道入库标识异常", ex);
}
return result;
}
/// <summary>
/// 修改货道出库标识
/// </summary>
/// <param name="storeCode"></param>
/// <param name="spaceCode"></param>
/// <returns></returns>
public bool UpdateOutStoreFlag(string storeCode,string spaceCode)
{
bool result = false;
try
{
BaseSpaceInfo spaceInfo = _spaceInfoService.GetSpaceInfoBySpaceCode(storeCode, spaceCode);
if (spaceInfo != null)
{
spaceInfo.outStoreFlag = spaceInfo.outStoreFlag == 1 ? 2 : 1;
result = _spaceInfoService.UpdateSpaceInfo(spaceInfo);
logHelper.Info($"修改仓库:{storeCode};货道:{spaceCode};出库标识:{spaceInfo.outStoreFlag};修改{(result == true ? "" : "")}");
}
}
catch (Exception ex)
{
logHelper.Error("修改货道出库标识异常", ex);
}
return result;
}
/// <summary>
/// 修改异常货道标识
/// </summary>
/// <param name="storeCode"></param>
/// <param name="spaceCode"></param>
/// <returns></returns>
public bool UpdateUnusualFlag(string storeCode, string spaceCode)
{
bool result = false;
try
{
BaseSpaceInfo spaceInfo = _spaceInfoService.GetSpaceInfoBySpaceCode(storeCode, spaceCode);
if (spaceInfo != null)
{
spaceInfo.unusualFlag = spaceInfo.unusualFlag == 1 ? 2 : 1;
result = _spaceInfoService.UpdateSpaceInfo(spaceInfo);
logHelper.Info($"修改仓库:{storeCode};货道:{spaceCode};异常标识:{spaceInfo.unusualFlag};修改{(result == true ? "" : "")}");
}
}
catch (Exception ex)
{
logHelper.Error("修改异常货道标识", ex);
}
return result;
}
}
}

@ -1 +1 @@
e8387b0c5844bceebdf1708a1ad31b3a6f43c6e9
02a3ee1cdbc10efe85ced710379b17f116f02ce0

@ -107,19 +107,19 @@
<TextBlock Text="状态" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Border>
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="入库" Foreground="{Binding inStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Button>
</Border>
<Border Grid.Column="2" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<Button Command="{Binding DataContext.UpdateOutStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="出库" Foreground="{Binding outStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Button>
</Border>
<Border Grid.Column="3" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<Button Command="{Binding DataContext.UpdateUnusualFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="异常" Foreground="{Binding unusualFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Button>
</Border>

@ -108,19 +108,19 @@
<TextBlock Text="状态" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Border>
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="入库" Foreground="{Binding inStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Button>
</Border>
<Border Grid.Column="2" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<Button Command="{Binding DataContext.UpdateOutStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="出库" Foreground="{Binding outStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Button>
</Border>
<Border Grid.Column="3" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<Button Command="{Binding DataContext.UpdateUnusualFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="异常" Foreground="{Binding unusualFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Button>
</Border>

@ -0,0 +1,16 @@
<HR COLOR=red>
异常时间2023-10-11 13:23:47,816 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 通过产线工位获取执行顺异常<br>【异常类型】InvalidOperationException <br>【异常信息】Sequence contains no elements <br>【堆栈调用】: at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)<br> at HighWayIot.Repository.service.Impl.ExecutePlanInfoServiceImpl.GetExecuteOrderByProductLineCode(String productLineCode) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\ExecutePlanInfoServiceImpl.cs:line 37 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-11 13:50:24,433 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 根据任务号获取任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息连接请求超时DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . 连接请求超时DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfosByStoreCode(String[] storeCode, Int32 taskType) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 157 <BR>
<HR Size=1><HR COLOR=red>
异常时间2023-10-11 13:50:39,667 [1] <BR>
异常级别ERROR <BR>
异 常 类logerror [(null)] <BR>
【附加信息】 : 获取指定状态的任务信息异常<br>【异常类型】SqlSugarException <br>【异常信息】:中文提示 : 连接数据库过程中发生错误检查服务器是否正常连接字符串是否正确错误信息连接请求超时DbType="Oracle";ConfigId="mes".<br>English Message : Connection open error . 连接请求超时DbType="Oracle";ConfigId="mes" <br>【堆栈调用】: at SqlSugar.Check.Exception(Boolean isException, String message, String[] args)<br> at SqlSugar.AdoProvider.CheckConnection()<br> at SqlSugar.OracleProvider.GetCommand(String sql, SugarParameter[] parameters)<br> at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)<br> at SqlSugar.QueryableProvider`1.GetData[TResult](KeyValuePair`2 sqlObj)<br> at SqlSugar.QueryableProvider`1._ToList[TResult]()<br> at SqlSugar.QueryableProvider`1.ToList()<br> at SqlSugar.SimpleClient`1.GetList(Expression`1 whereExpression)<br> at HighWayIot.Repository.service.Impl.RealTaskInfoServiceImpl.GetTaskInfosByTaskStatus(String[] storeCode, Int32 taskType, Int32 taskStatus) in C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Repository\service\Impl\RealTaskInfoServiceImpl.cs:line 184 <BR>
<HR Size=1>

@ -0,0 +1,421 @@
<-------------->
日志时间2023-10-11 11:12:26,132 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696835269000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 11:12:39,384 [1]
日志级别INFO
日志内容根据执行计划编号6710fdca78e7422d9257c9555a2b41ac获取到的执行计划信息{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696835269000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1696831431000)\/"}
<-------------->
日志时间2023-10-11 11:12:39,623 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 11:12:40,009 [4]
日志级别INFO
日志内容收到出库计划物料码3504000161
<-------------->
日志时间2023-10-11 11:12:40,088 [4]
日志级别INFO
日志内容根据仓库XKJCK-001物料3504000161获取到的货道信息[{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0}]
<-------------->
日志时间2023-10-11 11:12:40,090 [4]
日志级别INFO
日志内容仓库XKJCK-001物料3504000161匹配的入库货道信息{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0}
<-------------->
日志时间2023-10-11 11:12:40,090 [4]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 11:12:40,229 [4]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 11:12:40,741 [4]
日志级别INFO
日志内容收到出库计划物料码3600000780
<-------------->
日志时间2023-10-11 11:12:40,834 [4]
日志级别INFO
日志内容根据仓库NDJCK-001物料3600000780获取到的货道信息[{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0}]
<-------------->
日志时间2023-10-11 11:12:40,834 [4]
日志级别INFO
日志内容仓库NDJCK-001物料3600000780匹配的入库货道信息{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0}
<-------------->
日志时间2023-10-11 11:12:40,834 [4]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 11:12:40,889 [4]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 11:18:00,692 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:15:18,050 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 13:15:22,690 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:16:22,234 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 13:16:55,428 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:17:35,593 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 13:17:40,100 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:18:58,767 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 13:19:17,582 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:20:04,185 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 13:20:31,073 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:21:08,743 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}]
<-------------->
日志时间2023-10-11 13:21:32,499 [1]
日志级别INFO
日志内容根据执行计划编号6710fdca78e7422d9257c9555a2b41ac获取到的执行计划信息{"objId":64,"executePlanCode":"6710fdca78e7422d9257c9555a2b41ac","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1696993959000)\/","endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":2,"createdTime":"\/Date(1696831431000)\/"}
<-------------->
日志时间2023-10-11 13:21:32,663 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[]
<-------------->
日志时间2023-10-11 13:21:35,445 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 13:21:39,184 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:23:16,674 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[]
<-------------->
日志时间2023-10-11 13:23:42,083 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 13:23:47,597 [1]
日志级别INFO
日志内容根据计划编号202310081458获取到的计划信息{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}
<-------------->
日志时间2023-10-11 13:23:48,144 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:23:54,459 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:25:45,574 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:26:52,158 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:27:22,835 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:28:18,561 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:50:51,058 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:51:31,137 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:51:40,881 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:53:02,271 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:53:15,915 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 13:53:55,647 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}]
<-------------->
日志时间2023-10-11 13:57:09,572 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 13:57:20,036 [1]
日志级别INFO
日志内容根据计划编号202310081458获取到的计划信息{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}
<-------------->
日志时间2023-10-11 13:57:20,414 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 13:57:25,148 [1]
日志级别INFO
日志内容根据执行计划编号7c7ebf67f92f47ceb74d825225f124d4获取到的执行计划信息{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":1,"createdTime":"\/Date(1697001827000)\/"}
<-------------->
日志时间2023-10-11 13:57:25,456 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1697003845000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":2,"createdTime":"\/Date(1697001827000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 13:57:26,182 [4]
日志级别INFO
日志内容收到出库计划物料码3504000161
<-------------->
日志时间2023-10-11 13:57:26,276 [4]
日志级别INFO
日志内容根据仓库XKJCK-001物料3504000161获取到的货道信息[{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0}]
<-------------->
日志时间2023-10-11 13:57:26,279 [4]
日志级别INFO
日志内容仓库XKJCK-001物料3504000161匹配的入库货道信息{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0}
<-------------->
日志时间2023-10-11 13:57:26,279 [4]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 13:57:26,347 [4]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 13:57:26,866 [4]
日志级别INFO
日志内容收到出库计划物料码3600000780
<-------------->
日志时间2023-10-11 13:57:26,978 [4]
日志级别INFO
日志内容根据仓库NDJCK-001物料3600000780获取到的货道信息[{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0}]
<-------------->
日志时间2023-10-11 13:57:26,979 [4]
日志级别INFO
日志内容仓库NDJCK-001物料3600000780匹配的入库货道信息{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0}
<-------------->
日志时间2023-10-11 13:57:26,979 [4]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 13:57:27,052 [4]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 13:59:34,188 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 14:01:39,028 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1697003845000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":2,"createdTime":"\/Date(1697001827000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 14:03:07,850 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 14:11:17,333 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1697003845000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":2,"createdTime":"\/Date(1697001827000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 14:11:38,217 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1697003845000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":2,"createdTime":"\/Date(1697001827000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 14:11:43,519 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 14:11:58,666 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 14:12:02,210 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 14:12:24,713 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1697003845000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":2,"createdTime":"\/Date(1697001827000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 14:12:30,312 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 14:12:40,619 [1]
日志级别INFO
日志内容根据执行计划编号7c7ebf67f92f47ceb74d825225f124d4获取到的执行计划信息{"objId":81,"executePlanCode":"7c7ebf67f92f47ceb74d825225f124d4","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":"\/Date(1697003845000)\/","endTime":null,"isFlag":0,"executeOrder":0,"executeStatus":2,"createdTime":"\/Date(1697001827000)\/"}
<-------------->
日志时间2023-10-11 14:12:40,841 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 14:12:53,379 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 16:25:04,125 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 16:25:16,083 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 16:25:52,605 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 16:25:58,600 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 16:26:16,042 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 16:27:12,236 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的计划信息[{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0},{"objId":2,"planCode":"202310091458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}]
<-------------->
日志时间2023-10-11 16:27:51,658 [1]
日志级别INFO
日志内容根据计划编号202310081458获取到的计划信息{"objId":1,"planCode":"202310081458","orderCode":"11215483","saleOrderCode":"0000054191","saleOrderLineNumber":"1","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":50,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0}
<-------------->
日志时间2023-10-11 16:27:52,007 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":83,"executePlanCode":"a8a9188d085042729cc0992fa2590e7f","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":2,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":1,"createdTime":"\/Date(1697012871000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 16:28:34,761 [1]
日志级别INFO
日志内容根据执行计划编号a8a9188d085042729cc0992fa2590e7f获取到的执行计划信息{"objId":83,"executePlanCode":"a8a9188d085042729cc0992fa2590e7f","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":2,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":1,"createdTime":"\/Date(1697012871000)\/"}
<-------------->
日志时间2023-10-11 16:28:35,002 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":83,"executePlanCode":"a8a9188d085042729cc0992fa2590e7f","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":2,"completeAmount":0,"beginTime":"\/Date(1697012914000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":2,"createdTime":"\/Date(1697012871000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 16:28:35,530 [5]
日志级别INFO
日志内容收到出库计划物料码3504000161
<-------------->
日志时间2023-10-11 16:28:35,639 [5]
日志级别INFO
日志内容根据仓库XKJCK-001物料3504000161获取到的货道信息[{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}]
<-------------->
日志时间2023-10-11 16:28:35,642 [5]
日志级别INFO
日志内容仓库XKJCK-001物料3504000161匹配的入库货道信息{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}
<-------------->
日志时间2023-10-11 16:28:35,642 [5]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 16:28:35,723 [5]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 16:28:36,244 [5]
日志级别INFO
日志内容收到出库计划物料码3600000780
<-------------->
日志时间2023-10-11 16:28:36,366 [5]
日志级别INFO
日志内容根据仓库NDJCK-001物料3600000780获取到的货道信息[{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}]
<-------------->
日志时间2023-10-11 16:28:36,366 [5]
日志级别INFO
日志内容仓库NDJCK-001物料3600000780匹配的入库货道信息{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}
<-------------->
日志时间2023-10-11 16:28:36,366 [5]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 16:28:36,433 [5]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 16:28:36,938 [5]
日志级别INFO
日志内容收到出库计划物料码3504000161
<-------------->
日志时间2023-10-11 16:28:37,031 [5]
日志级别INFO
日志内容根据仓库XKJCK-001物料3504000161获取到的货道信息[{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}]
<-------------->
日志时间2023-10-11 16:28:37,031 [5]
日志级别INFO
日志内容仓库XKJCK-001物料3504000161匹配的入库货道信息{"objId":1,"spaceCode":"XK_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3504000161","storeCode":"XKJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}
<-------------->
日志时间2023-10-11 16:28:37,031 [5]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 16:28:37,417 [5]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 16:28:37,931 [5]
日志级别INFO
日志内容收到出库计划物料码3600000780
<-------------->
日志时间2023-10-11 16:28:38,020 [5]
日志级别INFO
日志内容根据仓库NDJCK-001物料3600000780获取到的货道信息[{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}]
<-------------->
日志时间2023-10-11 16:28:38,020 [5]
日志级别INFO
日志内容仓库NDJCK-001物料3600000780匹配的入库货道信息{"objId":3,"spaceCode":"ND_001","spaceName":"货道01","spaceCapacity":10,"spaceStock":10,"spaceStatus":1,"spaceType":1,"materialType":"3600000780","storeCode":"NDJCK-001","isFlag":0,"onRouteAmount":0,"inStoreFlag":0,"outStoreFlag":0}
<-------------->
日志时间2023-10-11 16:28:38,021 [5]
日志级别INFO
日志内容匹配货道货道01
<-------------->
日志时间2023-10-11 16:28:38,089 [5]
日志级别INFO
日志内容:出库任务创建成功
<-------------->
日志时间2023-10-11 16:45:44,870 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-11 17:17:16,929 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":83,"executePlanCode":"a8a9188d085042729cc0992fa2590e7f","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":2,"completeAmount":0,"beginTime":"\/Date(1697012914000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":2,"createdTime":"\/Date(1697012871000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-11 17:17:24,269 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功

File diff suppressed because one or more lines are too long

@ -16,5 +16,5 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\App.xaml
1341517938856
Page\AssemblyPlan\AssemblyPlanControl.xaml;Page\AssemblyPlan\PlanInfoEditWindow.xaml;Page\InStoreInfo\InStoreInfoControl.xaml;LogInfoControl.xaml;MainWindow.xaml;Page\InventoryInfo\InventoryInfoControl.xaml;Page\InventoryInfo\LinerInventory.xaml;Page\InventoryInfo\ShellInventory.xaml;Page\InventoryInfo\SpaceInfoControl.xaml;Page\OutStoreInfo\OutStoreInfoControl.xaml;Page\TaskInfo\TaskInfoControl.xaml;RecordControl.xaml;templates\style\resourceStyle.xaml;
True
False

@ -1,16 +0,0 @@
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\GeneratedInternalTypeHelper.g.i.cs
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\App.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\AssemblyPlan\AssemblyPlanControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\AssemblyPlan\PlanInfoEditWindow.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\InStoreInfo\InStoreInfoControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\LogInfoControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\MainWindow.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\InventoryInfo\InventoryInfoControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\InventoryInfo\LinerInventory.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\InventoryInfo\ShellInventory.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\InventoryInfo\SpaceInfoControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\OutStoreInfo\OutStoreInfoControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\TaskInfo\TaskInfoControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\RecordControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\templates\style\resourceStyle.xaml;;

@ -1,4 +1,4 @@
C:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\obj\Debug\GeneratedInternalTypeHelper.g.cs

FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\App.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\AssemblyPlan\AssemblyPlanControl.xaml;;
FC:\项目代码\澳柯玛MES项目\Aucma.Scada\Aucma.Scada.UI\Page\AssemblyPlan\PlanInfoEditWindow.xaml;;

@ -1,2 +1,62 @@

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "328477CC1F7F481427519CAF0D6162DADCB3DF5207A76CAFD07D034397645AFB"
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "C1F8B47D4D895615B393CD840BE5F82DC2637E20FB6E6C9724108EBEB9FA548E"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "328477CC1F7F481427519CAF0D6162DADCB3DF5207A76CAFD07D034397645AFB"
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "C1F8B47D4D895615B393CD840BE5F82DC2637E20FB6E6C9724108EBEB9FA548E"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D37A6DFFF33607BB9A68A7540E999E4CBCEB4739BA2A6F51F8A04D0785C10C23"
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "EA906062C968DA0D3CD30CC81A4F3560306C0628F81B20D5C6686971A43A0F57"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D37A6DFFF33607BB9A68A7540E999E4CBCEB4739BA2A6F51F8A04D0785C10C23"
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "EA906062C968DA0D3CD30CC81A4F3560306C0628F81B20D5C6686971A43A0F57"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,5 +1,7 @@
using GalaSoft.MvvmLight;
using Aucma.Scada.Business;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HighWayIot.Config;
using System;
using System.Collections.Generic;
using System.Linq;
@ -13,16 +15,24 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
{
public List<SpaceDto> Shapes { get; set; } = new List<SpaceDto>();
private InventoryInfoBusiness inventoryInfoBusiness = InventoryInfoBusiness.Instance;
private AppConfig appConfig = AppConfig.Instance;
public LinerInventoryViewModel()
{
UpdateCommand = new RelayCommand<object>(obj => update(obj));
UpdateInStoreFlagCommand = new RelayCommand<object>(obj => UpdateInStoreFlag(obj));
UpdateOutStoreFlagCommand = new RelayCommand<object>(obj => UpdateOutStoreFlag(obj));
UpdateUnusualFlagCommand = new RelayCommand<object>(obj => UpdateUnusualFlag(obj));
for (int i = 1; i <= 6; i++)
{
Shapes.Add(new SpaceDto()
{
spaceCode = i + "#",
spaceCode = "ND_00"+i,
spaceStock = i,
onTheWay = i,
totalAmount = i + i,
@ -39,10 +49,10 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
}
#region 事件定义
/// <summary>
/// 界面跳转按钮事件
/// </summary>
public RelayCommand<object> UpdateCommand { get; set; }
public RelayCommand<object> UpdateInStoreFlagCommand { get; set; }
public RelayCommand<object> UpdateOutStoreFlagCommand { get; set; }
public RelayCommand<object> UpdateUnusualFlagCommand { get; set; }
#endregion
private void update(object obj)
@ -50,6 +60,60 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
string info = obj as string;
MessageBox.Show("编号:" + info);
}
/// <summary>
/// 货道入库标识设置
/// </summary>
/// <param name="obj"></param>
private void UpdateInStoreFlag(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateInStoreFlag(appConfig.linerStoreCode, info);
if (result)
{
MessageBox.Show("货道入库状态修改成功");
}
else
{
MessageBox.Show("货道入库状态修改失败");
}
}
/// <summary>
/// 货道出库标识设置
/// </summary>
/// <param name="obj"></param>
private void UpdateOutStoreFlag(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateOutStoreFlag(appConfig.linerStoreCode, info);
if (result)
{
MessageBox.Show("货道出库状态修改成功");
}
else
{
MessageBox.Show("货道出库状态修改失败");
}
}
/// <summary>
/// 货道异常标识设置
/// </summary>
/// <param name="obj"></param>
private void UpdateUnusualFlag(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateUnusualFlag(appConfig.linerStoreCode, info);
if (result)
{
MessageBox.Show("货道异常标识修改成功");
}
else
{
MessageBox.Show("货道异常标识修改失败");
}
}
}
}

@ -1,5 +1,7 @@
using GalaSoft.MvvmLight;
using Aucma.Scada.Business;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HighWayIot.Config;
using System.Collections.Generic;
using System.Windows;
@ -10,16 +12,24 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
public List<SpaceDto> Shapes { get; set; } = new List<SpaceDto>();
private InventoryInfoBusiness inventoryInfoBusiness = InventoryInfoBusiness.Instance;
private AppConfig appConfig = AppConfig.Instance;
public ShellInventoryViewModel()
{
UpdateCommand = new RelayCommand<object>(obj => update(obj));
UpdateInStoreFlagCommand = new RelayCommand<object>(obj => UpdateInStoreFlag(obj));
UpdateOutStoreFlagCommand = new RelayCommand<object>(obj => UpdateOutStoreFlag(obj));
UpdateUnusualFlagCommand = new RelayCommand<object>(obj => UpdateUnusualFlag(obj));
for (int i = 1; i <= 9; i++)
{
Shapes.Add(new SpaceDto()
{
spaceCode = i + "#",
spaceCode = "XK_00"+i,
spaceStock = i,
onTheWay = i,
totalAmount = i+i,
@ -36,16 +46,65 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
}
#region 事件定义
public RelayCommand<object> UpdateInStoreFlagCommand { get; set; }
public RelayCommand<object> UpdateOutStoreFlagCommand { get; set; }
public RelayCommand<object> UpdateUnusualFlagCommand { get; set; }
#endregion
/// <summary>
/// 界面跳转按钮事件
/// 货道入库标识设置
/// </summary>
public RelayCommand<object> UpdateCommand { get; set; }
#endregion
/// <param name="obj"></param>
private void UpdateInStoreFlag(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateInStoreFlag(appConfig.shellStoreCode, info);
if (result)
{
MessageBox.Show("货道入库状态修改成功");
}
else
{
MessageBox.Show("货道入库状态修改失败");
}
}
private void update(object obj)
/// <summary>
/// 货道出库标识设置
/// </summary>
/// <param name="obj"></param>
private void UpdateOutStoreFlag(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateOutStoreFlag(appConfig.shellStoreCode, info);
if (result)
{
MessageBox.Show("货道出库状态修改成功");
}
else
{
MessageBox.Show("货道出库状态修改失败");
}
}
/// <summary>
/// 货道异常标识设置
/// </summary>
/// <param name="obj"></param>
private void UpdateUnusualFlag(object obj)
{
string info = obj as string;
MessageBox.Show("编号:" + info);
bool result = inventoryInfoBusiness.UpdateUnusualFlag(appConfig.shellStoreCode, info);
if (result)
{
MessageBox.Show("货道异常标识修改成功");
}
else
{
MessageBox.Show("货道异常标识修改失败");
}
}
}

@ -78,5 +78,23 @@ namespace HighWayIot.Repository.domain
/// </summary>
[SugarColumn(ColumnName = "ONROUTE_AMOUNT")]
public int onRouteAmount { get; set; }
/// <summary>
/// 入库标识:1-允许入库2-禁止入库
/// </summary>
[SugarColumn(ColumnName = "INSTORE_FLAG")]
public int inStoreFlag { get; set; }
/// <summary>
/// 出库标识:1-允许出库2-禁止出库
/// </summary>
[SugarColumn(ColumnName = "OUTSTORE_FLAG")]
public int outStoreFlag { get; set; }
/// <summary>
/// 异常标识:1-正常货道2-异常货道
/// </summary>
[SugarColumn(ColumnName = "UNUSUAL_FLAG")]
public int unusualFlag { get; set; }
}
}

Loading…
Cancel
Save