优化
This commit is contained in:
@@ -2,6 +2,7 @@ package com.ruoyi.queue.agv.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueue;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
|
||||
/**
|
||||
* AGV任务队列Mapper接口
|
||||
@@ -67,4 +68,6 @@ public interface AgvQueueMapper
|
||||
AgvQueue selectAgvQueueByTaskCode(String taskCode);
|
||||
|
||||
void insertHistory(String reqCode);
|
||||
|
||||
AgvQueue selectAgvQueueByWmsTask(@Param("wmsTaskNo") int wmsTaskNo);
|
||||
}
|
||||
|
||||
@@ -71,4 +71,6 @@ public interface IAgvQueueService
|
||||
* @param reqCode
|
||||
*/
|
||||
void insertHistory(String reqCode);
|
||||
|
||||
AgvQueue selectAgvQueueByWmsTask(int taskNo);
|
||||
}
|
||||
|
||||
@@ -100,4 +100,9 @@ public class AgvQueueServiceImpl implements IAgvQueueService
|
||||
public void insertHistory(String reqCode) {
|
||||
agvQueueMapper.insertHistory(reqCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AgvQueue selectAgvQueueByWmsTask(int wmsTaskNo) {
|
||||
return agvQueueMapper.selectAgvQueueByWmsTask(wmsTaskNo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user