fix:1.增加空辊信息管理。2.增加烘箱点位管理。3.增加生箔工序单下满卷、单上空辊、单下空辊、允许进入功能。4.优化生箔工序.5.增加烘箱工序工功能。6.手持接口等。
This commit is contained in:
@@ -4,6 +4,7 @@ import cn.code.nl.framework.common.pojo.CommonResult;
|
||||
import cn.code.nl.module.task.dto.TaskInfoDTO;
|
||||
import cn.code.nl.module.task.dto.TransportTaskCreateReqDTO;
|
||||
import cn.code.nl.module.task.dto.TaskCallbackResultReqDTO;
|
||||
import cn.code.nl.module.task.dto.TransportTaskUpdateReqDTO;
|
||||
import cn.code.nl.module.task.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
@@ -65,4 +66,8 @@ public interface TransportTaskApi {
|
||||
@Operation(summary = "统计指定目的点的未完成任务数")
|
||||
CommonResult<Long> countUnfinishedByDestination(@RequestParam("pointCode") String pointCode,
|
||||
@RequestParam("ownerService") String ownerService);
|
||||
|
||||
@GetMapping(PREFIX + "/updateTransportTask")
|
||||
@Operation(summary = "更新搬运任务")
|
||||
CommonResult<Boolean> updateTransportTask(@RequestBody TransportTaskUpdateReqDTO transportTaskUpdateReqDTO);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
package cn.code.nl.module.task.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* LMS/WMS 更新搬运任务请求 DTO
|
||||
*
|
||||
* @author dsh
|
||||
* 2026/8/11
|
||||
*/
|
||||
@Schema(description = "RPC - 搬运任务更新 Request DTO")
|
||||
@Data
|
||||
public class TransportTaskUpdateReqDTO {
|
||||
|
||||
private Long taskId;
|
||||
|
||||
@Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String taskName;
|
||||
|
||||
@Schema(description = "业务归属服务:LMS/WMS", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String ownerService;
|
||||
|
||||
@Schema(description = "业务类型")
|
||||
private String bizType;
|
||||
|
||||
@Schema(description = "业务侧标识")
|
||||
private String bizId;
|
||||
|
||||
@Schema(description = "业务回调处理器编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String handleCode;
|
||||
|
||||
@Schema(description = "ACS任务类型", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String acsTaskType;
|
||||
|
||||
@Schema(description = "AGV系统类型", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String agvSystemType;
|
||||
|
||||
@Schema(description = "取货点1")
|
||||
private String pointCode1;
|
||||
|
||||
@Schema(description = "放货点1")
|
||||
private String pointCode2;
|
||||
|
||||
@Schema(description = "取货点2")
|
||||
private String pointCode3;
|
||||
|
||||
@Schema(description = "放货点2")
|
||||
private String pointCode4;
|
||||
|
||||
@Schema(description = "载具编码")
|
||||
private String vehicleCode;
|
||||
|
||||
@Schema(description = "载具编码2")
|
||||
private String vehicleCode2;
|
||||
|
||||
@Schema(description = "物料id")
|
||||
private Long materialId;
|
||||
|
||||
@Schema(description = "物料编码")
|
||||
private String materialCode;
|
||||
|
||||
@Schema(description = "优先级")
|
||||
private String priority;
|
||||
|
||||
@Schema(description = "生产区域")
|
||||
private String productArea;
|
||||
|
||||
@Schema(description = "是否自动下发")
|
||||
private String isAutoIssue;
|
||||
|
||||
@Schema(description = "是否创建完成")
|
||||
private Boolean isCreateFinish;
|
||||
|
||||
@Schema(description = "任务类型")
|
||||
private String taskType;
|
||||
|
||||
@Schema(description = "载具类型")
|
||||
private String vehicleType;
|
||||
|
||||
@Schema(description = "载具数量")
|
||||
private Long vehicleQty;
|
||||
|
||||
@Schema(description = "车号")
|
||||
private String carNo;
|
||||
|
||||
@Schema(description = "任务组标识")
|
||||
private Long taskGroupId;
|
||||
|
||||
@Schema(description = "任务组顺序号")
|
||||
private Long sortSeq;
|
||||
|
||||
@Schema(description = "扩展参数(JSON)")
|
||||
private String requestParam;
|
||||
}
|
||||
@@ -9,16 +9,27 @@ import lombok.Getter;
|
||||
@Getter
|
||||
public enum TaskTypeEnum {
|
||||
|
||||
RAW_FOIL_STANDARD_TASK("010101","生箔标准任务"),
|
||||
RAW_FOIL_INSTORAGE_TASK("010102","称重入库任务");
|
||||
RAW_FOIL_STANDARD_TASK("010101","生箔标准任务","1"),
|
||||
RAW_FOIL_SINGLE_FULL_ROLL_TASK("010102","生箔单下满卷任务","1"),
|
||||
RAW_FOIL_SINGLE_EMPTY_ROLL_LOWER_TASK("010103","生箔单下空辊任务","5"),
|
||||
RAW_FOIL_SINGLE_EMPTY_ROLL_UP_TASK("010104","生箔单上空辊任务","5"),
|
||||
RAW_FOIL_INSTORAGE_TASK("010105","称重入库任务","5"),
|
||||
RAW_FOIL_WEIGHING_TASK("010106","母卷称重任务","5"),
|
||||
RAW_FOIL_IN_HOTBOX_TASK("010107","入烘箱任务","5"),
|
||||
RAW_FOIL_OUT_HOTBOX_TASK("010108","出烘箱任务","5"),
|
||||
RAW_FOIL_QC_TRANSFER_TASK("010109","质检转运任务","5"),
|
||||
RAW_FOIL_CACHE_TO_QC_TASK("010110","缓存到质检任务","5");
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
TaskTypeEnum(String code,String name){
|
||||
private String defaultPriority;
|
||||
|
||||
TaskTypeEnum(String code,String name,String defaultPriority){
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
this.defaultPriority = defaultPriority;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user