|
|
@ -58,8 +58,11 @@ public class CountJobEventHandler : |
|
|
|
var countPlanUpdateInput = ObjectMapper.Map<CountJob, CountPlanEditInput>(entity); |
|
|
|
|
|
|
|
foreach (var detail in countPlanUpdateInput.Details) |
|
|
|
{ |
|
|
|
if (detail.FinalCountQty != 0) |
|
|
|
{ |
|
|
|
detail.DetailStatus = EnumCountStatus.Completed; |
|
|
|
} |
|
|
|
await TrySetDetailPropertiesAsync(detail).ConfigureAwait(false); |
|
|
|
} |
|
|
|
|
|
|
|