jianghaiqing 4 weeks ago
commit d563cb1b52

@ -2548,7 +2548,7 @@ public class CommonService : ICommonService
{ {
try try
{ {
Monitor.Enter(ImportLockObj); //Monitor.Enter(ImportLockObj);
int delimiterNum = 0; int delimiterNum = 0;
for (global::System.Int32 i = 0; i < ruleList.Count; i++) for (global::System.Int32 i = 0; i < ruleList.Count; i++)
{ {
@ -2650,7 +2650,7 @@ public class CommonService : ICommonService
finally finally
{ {
//if (Monitor.IsEntered(ImportLockObj)) //if (Monitor.IsEntered(ImportLockObj))
Monitor.Exit(ImportLockObj); //Monitor.Exit(ImportLockObj);
} }
return DataResult<string>.Success(sequenceNewNo); return DataResult<string>.Success(sequenceNewNo);

@ -3734,14 +3734,15 @@ namespace DS.WMS.Core.TaskPlat.Method
{ {
result.batchTotal += " -"; result.batchTotal += " -";
} }
if (result.succ)
{
return DataResult<TaskManageOrderResultDto>.Success(result); return DataResult<TaskManageOrderResultDto>.Success(result);
} //if (result.succ)
else //{
{ // return DataResult<TaskManageOrderResultDto>.Success(result);
return DataResult<TaskManageOrderResultDto>.FailedData(result); //}
} //else
//{
// return DataResult<TaskManageOrderResultDto>.FailedData(result);
//}
} }
/// <summary> /// <summary>

Loading…
Cancel
Save