22 lines
672 B
C#
22 lines
672 B
C#
using JSMachine.WMS.App.Dto;
|
|||
|
|
using JSMachine.WMS.App.IService;
|
||
|
|
using JSMachine.WMS.Domain.Entity;
|
||
|
|
using JSMachine.WMS.Domain.IRepository;
|
||
|
|
|
||
|
|
namespace JSMachine.WMS.App.ServiceImpl
|
||
|
|
{
|
||
|
|
public class AGVTaskService : BaseService<AGVTaskDto, AGVTask>, IAGVTaskService
|
||
|
|
{
|
||
|
|
private IAGVTaskRepository _agvTaskRepository;
|
||
|
|
public AGVTaskService(IAGVTaskRepository repository) : base(repository)
|
||
|
|
{
|
||
|
|
_agvTaskRepository = repository;
|
||
|
|
}
|
||
|
|
|
||
|
|
public async Task<bool> UpdateAgvTaskStatus(AGVTaskDto agvTask)
|
||
|
|
{
|
||
|
|
return await base.EditSingalWithSpecificCols(agvTask, [nameof(AGVTask.TaskStatus)]);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|