Merge branch 'master' of http://121.40.234.130:8899/root/lanzhouhailiang_two
This commit is contained in:
@@ -8,7 +8,6 @@ import lombok.Data;
|
|||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Component
|
|
||||||
public class CommonFinalParam {
|
public class CommonFinalParam {
|
||||||
|
|
||||||
private final String DELETE = "0";
|
private final String DELETE = "0";
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
package org.nl.acs.ext.wms.data.one.feedBackTaskStatus;
|
package org.nl.acs.ext.wms.data.one.feedBackTaskStatus;
|
||||||
|
|
||||||
|
import lombok.Builder;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.SuperBuilder;
|
||||||
import org.nl.acs.ext.wms.data.one.BaseRequest;
|
import org.nl.acs.ext.wms.data.one.BaseRequest;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class FeedBackTaskStatusRequest extends BaseRequest {
|
public class FeedBackTaskStatusRequest extends BaseRequest {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 任务id
|
* 任务id
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -131,10 +131,9 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
/**
|
/**
|
||||||
* 查询所有数据不分页
|
* 查询所有数据不分页
|
||||||
*
|
*
|
||||||
* @param whereJson 条件参数
|
|
||||||
* @return List<TaskDto>
|
* @return List<TaskDto>
|
||||||
*/
|
*/
|
||||||
List<TaskDto> queryAll(String whereJson);
|
List<TaskDto> queryAll();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据状态查询
|
* 根据状态查询
|
||||||
@@ -234,14 +233,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
List<TaskDto> queryTaskByNextAndIntStatus(String head_next_device_code);
|
List<TaskDto> queryTaskByNextAndIntStatus(String head_next_device_code);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据关联编号查询非立刻下发的关联任务
|
|
||||||
*
|
|
||||||
* @param link_num
|
|
||||||
* @return TaskDto
|
|
||||||
*/
|
|
||||||
TaskDto queryTaskByLinkNum(String link_num);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建
|
* 创建
|
||||||
*
|
*
|
||||||
@@ -297,14 +288,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
void cancel(String ids) throws Exception;
|
void cancel(String ids) throws Exception;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 取消任务
|
|
||||||
*
|
|
||||||
* @param ids
|
|
||||||
* @throws Exception
|
|
||||||
*/
|
|
||||||
void cancelNoSendWms(String ids) throws Exception;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 手动创建指令
|
* 手动创建指令
|
||||||
*
|
*
|
||||||
@@ -314,24 +297,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
*/
|
*/
|
||||||
Instruction createInst(String ids) throws Exception;
|
Instruction createInst(String ids) throws Exception;
|
||||||
|
|
||||||
/**
|
|
||||||
* 手动创建指令
|
|
||||||
*
|
|
||||||
* @param inst
|
|
||||||
* @return
|
|
||||||
* @throws Exception
|
|
||||||
*/
|
|
||||||
Instruction createInst(Instruction inst) throws Exception;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* '
|
|
||||||
* 创建指令
|
|
||||||
*
|
|
||||||
* @param dto
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
Instruction createTemporaryInst(TaskDto dto);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导出数据
|
* 导出数据
|
||||||
@@ -351,14 +316,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
void createTaskByClick(JSONObject json);
|
void createTaskByClick(JSONObject json);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 检查是否允许创建任务
|
|
||||||
*
|
|
||||||
* @param code
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
int checkAllowCreate(String code);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 从缓存中删除任务
|
* 从缓存中删除任务
|
||||||
*
|
*
|
||||||
@@ -367,6 +324,13 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
*/
|
*/
|
||||||
boolean removeByCodeFromCache(String code);
|
boolean removeByCodeFromCache(String code);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 向缓存中添加就绪和执行中任务
|
||||||
|
*
|
||||||
|
* @param taskDto
|
||||||
|
*/
|
||||||
|
void addTaskToCache(TaskDto taskDto);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据容器编号查询任务
|
* 根据容器编号查询任务
|
||||||
*
|
*
|
||||||
@@ -392,21 +356,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
*/
|
*/
|
||||||
TaskDto findByNextCode(String device_code);
|
TaskDto findByNextCode(String device_code);
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据目的地设备编号查询当前是否有设备
|
|
||||||
*
|
|
||||||
* @param device_code
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
List<TaskDto> findAllByNextCode(String device_code);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据设备编号查询当前是否有设备
|
|
||||||
*
|
|
||||||
* @param device_code
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
Integer queryAllTaskMaterialQty(String device_code);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据起点设备编号查询当前是否有设备
|
* 根据起点设备编号查询当前是否有设备
|
||||||
@@ -467,13 +416,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
*/
|
*/
|
||||||
String queryAssignedByDevice(String device_code, String task_nextdevice_code);
|
String queryAssignedByDevice(String device_code, String task_nextdevice_code);
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询相同任务类型的数量
|
|
||||||
*
|
|
||||||
* @param taskType
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
Integer querySameTaskByType(String taskType);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询相同起点任务的数量
|
* 查询相同起点任务的数量
|
||||||
@@ -492,17 +434,6 @@ public interface TaskService extends CommonService<Task> {
|
|||||||
Integer querySameDestinationTask(String code);
|
Integer querySameDestinationTask(String code);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询相同起终任务的数量
|
|
||||||
*
|
|
||||||
* @param start_device
|
|
||||||
* @param next_device
|
|
||||||
* @param status
|
|
||||||
* @return Integer
|
|
||||||
*/
|
|
||||||
Integer querySameDeviceReadyTask(String start_device, String next_device, String status);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 条件查询任务和指令
|
* 条件查询任务和指令
|
||||||
*
|
*
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user