|
|
@ -4,6 +4,7 @@ using System.ComponentModel.DataAnnotations; |
|
|
|
using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Castle.Components.DictionaryAdapter; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
@ -243,7 +244,7 @@ public class CountJobAppService |
|
|
|
public virtual async Task<List<CountJobDTO>> CreateWithConditionAsync(CountJobCreateRequestInput input) |
|
|
|
{ |
|
|
|
var entity = ObjectMapper.Map<CountJobCreateRequestInput, CountPlan>(input); |
|
|
|
|
|
|
|
|
|
|
|
var entityList = await _countJobManager.CreateWithConditionAsync(entity, input.PartCondition, input.LocCondition, input.StatusList).ConfigureAwait(false); |
|
|
|
|
|
|
|
var dtoList = ObjectMapper.Map<List<CountJob>, List<CountJobDTO>>(entityList); |
|
|
|