feat: 任务追加二次分配
This commit is contained in:
@@ -40,6 +40,9 @@ public class TransportTaskPageReqVO extends PageParam {
|
||||
@Schema(description = "任务状态(支持多选)", example = "[\"10\", \"50\"]")
|
||||
private List<String> taskStatus;
|
||||
|
||||
@Schema(description = "二次分配类型")
|
||||
private Integer actionType;
|
||||
|
||||
@Schema(description = "ACS任务类型", example = "1")
|
||||
private String acsTaskType;
|
||||
|
||||
|
||||
@@ -50,6 +50,10 @@ public class TransportTaskRespVO {
|
||||
@ExcelProperty("任务状态")
|
||||
private String taskStatus;
|
||||
|
||||
@Schema(description = "二次分配类型")
|
||||
@ExcelProperty("二次分配类型")
|
||||
private Integer actionType;
|
||||
|
||||
@Schema(description = "ACS任务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
@ExcelProperty("ACS任务类型")
|
||||
private String acsTaskType;
|
||||
|
||||
@@ -38,6 +38,9 @@ public class TransportTaskSaveReqVO {
|
||||
@NotEmpty(message = "任务状态不能为空")
|
||||
private String taskStatus;
|
||||
|
||||
@Schema(description = "二次分配类型")
|
||||
private Integer actionType;
|
||||
|
||||
@Schema(description = "ACS任务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
@NotEmpty(message = "ACS任务类型不能为空")
|
||||
private String acsTaskType;
|
||||
@@ -123,4 +126,4 @@ public class TransportTaskSaveReqVO {
|
||||
@Schema(description = "备注", example = "你说的对")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,6 +59,10 @@ public class TransportTaskDO extends BaseDO {
|
||||
* 任务状态
|
||||
*/
|
||||
private String taskStatus;
|
||||
/**
|
||||
* 二次分配类型
|
||||
*/
|
||||
private Integer actionType;
|
||||
/**
|
||||
* ACS任务类型
|
||||
*/
|
||||
|
||||
@@ -35,6 +35,7 @@ public interface TransportTaskMapper extends BaseMapperX<TransportTaskDO> {
|
||||
.eqIfPresent(TransportTaskDO::getHandleCode, reqVO.getHandleCode())
|
||||
.inIfPresent(TransportTaskDO::getTaskType, reqVO.getTaskTypeList())
|
||||
.inIfPresent(TransportTaskDO::getTaskStatus, reqVO.getTaskStatus())
|
||||
.eqIfPresent(TransportTaskDO::getActionType, reqVO.getActionType())
|
||||
.eqIfPresent(TransportTaskDO::getAcsTaskType, reqVO.getAcsTaskType())
|
||||
.eqIfPresent(TransportTaskDO::getAgvSystemType, reqVO.getAgvSystemType())
|
||||
.eqIfPresent(TransportTaskDO::getExternalTaskNo, reqVO.getExternalTaskNo())
|
||||
|
||||
@@ -54,6 +54,10 @@ public class AcsTaskDTO extends AcsBaseReqDTO {
|
||||
* 任务类型
|
||||
*/
|
||||
private String taskType;
|
||||
/**
|
||||
* 二次分配类型
|
||||
*/
|
||||
private Integer actionType;
|
||||
/**
|
||||
* Agv系统类型
|
||||
*/
|
||||
|
||||
@@ -31,6 +31,7 @@ public class AcsTaskUtil {
|
||||
dto.setVehicleCode(task.getVehicleCode());
|
||||
dto.setVehicleCode2(task.getVehicleCode2());
|
||||
dto.setTaskType(task.getAcsTaskType());
|
||||
dto.setActionType(task.getActionType());
|
||||
dto.setAgvSystemType(task.getAgvSystemType());
|
||||
dto.setRemark(task.getRemark());
|
||||
dto.setPayload(JsonUtils.parseMap(task.getDispatchParam()));
|
||||
|
||||
Reference in New Issue
Block a user