diff --git a/ds-wms-service/DS.WMS.Core/Sys/Method/CommonService.cs b/ds-wms-service/DS.WMS.Core/Sys/Method/CommonService.cs index 25d098b0..242d2d7d 100644 --- a/ds-wms-service/DS.WMS.Core/Sys/Method/CommonService.cs +++ b/ds-wms-service/DS.WMS.Core/Sys/Method/CommonService.cs @@ -2548,7 +2548,7 @@ public class CommonService : ICommonService { try { - Monitor.Enter(ImportLockObj); + //Monitor.Enter(ImportLockObj); int delimiterNum = 0; for (global::System.Int32 i = 0; i < ruleList.Count; i++) { @@ -2650,7 +2650,7 @@ public class CommonService : ICommonService finally { //if (Monitor.IsEntered(ImportLockObj)) - Monitor.Exit(ImportLockObj); + //Monitor.Exit(ImportLockObj); } return DataResult.Success(sequenceNewNo); diff --git a/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs b/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs index 2eb76374..1bed1c63 100644 --- a/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs +++ b/ds-wms-service/DS.WMS.Core/TaskPlat/Method/TaskManageService.cs @@ -3734,14 +3734,15 @@ namespace DS.WMS.Core.TaskPlat.Method { result.batchTotal += " -"; } - if (result.succ) - { - return DataResult.Success(result); - } - else - { - return DataResult.FailedData(result); - } + return DataResult.Success(result); + //if (result.succ) + //{ + // return DataResult.Success(result); + //} + //else + //{ + // return DataResult.FailedData(result); + //} } ///