增加日志
This commit is contained in:
Binary file not shown.
@@ -4907,6 +4907,11 @@
|
|||||||
监测金蝶删单
|
监测金蝶删单
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:WMS.Web.Domain.Options.QuartzJobOptions.JobStartProductInventory">
|
||||||
|
<summary>
|
||||||
|
成品仓库即时库存
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:WMS.Web.Domain.Options.QuartzJobOptions.JobStoreClusteredKey">
|
<member name="P:WMS.Web.Domain.Options.QuartzJobOptions.JobStoreClusteredKey">
|
||||||
<summary>
|
<summary>
|
||||||
是否启用集群:键
|
是否启用集群:键
|
||||||
|
|||||||
@@ -300,14 +300,24 @@ namespace WMS.Web.Domain.Services
|
|||||||
{
|
{
|
||||||
_logger.LogInformation($"同步成品仓库存->开始 {DateTime.Now}");
|
_logger.LogInformation($"同步成品仓库存->开始 {DateTime.Now}");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
var res = await this.Erp();
|
var res = await this.Erp();
|
||||||
|
_logger.LogInformation($"同步成品仓库存(物料) {res.IsSuccess} {res.Message}");
|
||||||
if (!res.IsSuccess) return res;
|
if (!res.IsSuccess) return res;
|
||||||
|
|
||||||
res = await this.JuShuiTan();
|
res = await this.JuShuiTan();
|
||||||
|
_logger.LogInformation($"同步成品仓库存(聚水潭) {res.IsSuccess} {res.Message}");
|
||||||
if (!res.IsSuccess) return res;
|
if (!res.IsSuccess) return res;
|
||||||
|
|
||||||
res = await this.LingXing();
|
res = await this.LingXing();
|
||||||
|
_logger.LogInformation($"同步成品仓库存(领星) {res.IsSuccess} {res.Message}");
|
||||||
if (!res.IsSuccess) return res;
|
if (!res.IsSuccess) return res;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.LogError($"同步成品仓库异常:{ex.ToString()}");
|
||||||
|
}
|
||||||
|
|
||||||
_logger.LogInformation($"同步成品仓库存->结束 {DateTime.Now}");
|
_logger.LogInformation($"同步成品仓库存->结束 {DateTime.Now}");
|
||||||
return Result.ReSuccess();
|
return Result.ReSuccess();
|
||||||
|
|||||||
Reference in New Issue
Block a user