堆垛机调度初始化
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.queue.agv.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueue;
|
||||
import com.ruoyi.queue.agv.service.IAgvQueueService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* AGV任务队列Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-03
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/agv/queue")
|
||||
public class AgvQueueController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IAgvQueueService agvQueueService;
|
||||
|
||||
/**
|
||||
* 查询AGV任务队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queue:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(AgvQueue agvQueue)
|
||||
{
|
||||
startPage();
|
||||
List<AgvQueue> list = agvQueueService.selectAgvQueueList(agvQueue);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出AGV任务队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queue:export')")
|
||||
@Log(title = "AGV任务队列", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, AgvQueue agvQueue)
|
||||
{
|
||||
List<AgvQueue> list = agvQueueService.selectAgvQueueList(agvQueue);
|
||||
ExcelUtil<AgvQueue> util = new ExcelUtil<AgvQueue>(AgvQueue.class);
|
||||
util.exportExcel(response, list, "AGV任务队列数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取AGV任务队列详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queue:query')")
|
||||
@GetMapping(value = "/{reqCode}")
|
||||
public AjaxResult getInfo(@PathVariable("reqCode") String reqCode)
|
||||
{
|
||||
return success(agvQueueService.selectAgvQueueByReqCode(reqCode));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增AGV任务队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queue:add')")
|
||||
@Log(title = "AGV任务队列", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody AgvQueue agvQueue)
|
||||
{
|
||||
return toAjax(agvQueueService.insertAgvQueue(agvQueue));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改AGV任务队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queue:edit')")
|
||||
@Log(title = "AGV任务队列", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody AgvQueue agvQueue)
|
||||
{
|
||||
return toAjax(agvQueueService.updateAgvQueue(agvQueue));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除AGV任务队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queue:remove')")
|
||||
@Log(title = "AGV任务队列", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{reqCodes}")
|
||||
public AjaxResult remove(@PathVariable String[] reqCodes)
|
||||
{
|
||||
return toAjax(agvQueueService.deleteAgvQueueByReqCodes(reqCodes));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.queue.agv.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueueFinish;
|
||||
import com.ruoyi.queue.agv.service.IAgvQueueFinishService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* agv历史队列Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-30
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/agv/queueFinish")
|
||||
public class AgvQueueFinishController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IAgvQueueFinishService agvQueueFinishService;
|
||||
|
||||
/**
|
||||
* 查询agv历史队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queueFinish:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
startPage();
|
||||
List<AgvQueueFinish> list = agvQueueFinishService.selectAgvQueueFinishList(agvQueueFinish);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出agv历史队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queueFinish:export')")
|
||||
@Log(title = "agv历史队列", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
List<AgvQueueFinish> list = agvQueueFinishService.selectAgvQueueFinishList(agvQueueFinish);
|
||||
ExcelUtil<AgvQueueFinish> util = new ExcelUtil<AgvQueueFinish>(AgvQueueFinish.class);
|
||||
util.exportExcel(response, list, "agv历史队列数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取agv历史队列详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queueFinish:query')")
|
||||
@GetMapping(value = "/{reqCode}")
|
||||
public AjaxResult getInfo(@PathVariable("reqCode") String reqCode)
|
||||
{
|
||||
return success(agvQueueFinishService.selectAgvQueueFinishByReqCode(reqCode));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增agv历史队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queueFinish:add')")
|
||||
@Log(title = "agv历史队列", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
return toAjax(agvQueueFinishService.insertAgvQueueFinish(agvQueueFinish));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改agv历史队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queueFinish:edit')")
|
||||
@Log(title = "agv历史队列", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
return toAjax(agvQueueFinishService.updateAgvQueueFinish(agvQueueFinish));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除agv历史队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('agv:queueFinish:remove')")
|
||||
@Log(title = "agv历史队列", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{reqCodes}")
|
||||
public AjaxResult remove(@PathVariable String[] reqCodes)
|
||||
{
|
||||
return toAjax(agvQueueFinishService.deleteAgvQueueFinishByReqCodes(reqCodes));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,277 @@
|
||||
package com.ruoyi.queue.agv.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* AGV任务队列对象 agv_queue
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-03
|
||||
*/
|
||||
public class AgvQueue extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 请求编号 */
|
||||
private String reqCode;
|
||||
|
||||
/** 请求时间截 yyyy-MM-dd HH:mm:ss */
|
||||
@Excel(name = "请求时间截 yyyy-MM-dd HH:mm:ss")
|
||||
private String reqTime;
|
||||
|
||||
/** 起点 */
|
||||
@Excel(name = "起点 ")
|
||||
private String positionCode1;
|
||||
|
||||
/** 终点 */
|
||||
@Excel(name = "终点")
|
||||
private String positionCode2;
|
||||
|
||||
/** 任务类型 */
|
||||
@Excel(name = "任务类型 ")
|
||||
private String taskType;
|
||||
|
||||
/** 容器类型 */
|
||||
@Excel(name = "容器类型")
|
||||
private String ctnrType;
|
||||
|
||||
/** 容器编号 */
|
||||
@Excel(name = "容器编号")
|
||||
private String ctnrCode;
|
||||
|
||||
/** 容器数量 */
|
||||
@Excel(name = "容器数量")
|
||||
private String ctnrNum;
|
||||
|
||||
/** 任务模式 */
|
||||
@Excel(name = "任务模式")
|
||||
private String taskMode;
|
||||
|
||||
/** 优先级 */
|
||||
@Excel(name = "优先级")
|
||||
private String priority;
|
||||
|
||||
/** 设备类型 */
|
||||
@Excel(name = "设备类型")
|
||||
private String agvType;
|
||||
|
||||
/** 继续请求 */
|
||||
@Excel(name = "继续请求")
|
||||
private String request;
|
||||
|
||||
/** 结束时间 yyyy-MM-dd HH:mm:ss */
|
||||
@Excel(name = "结束时间 yyyy-MM-dd HH:mm:ss")
|
||||
private String finishTime;
|
||||
|
||||
/** wms托盘码/容器码 */
|
||||
@Excel(name = "wms托盘码/容器码")
|
||||
private String wmsTraycode;
|
||||
|
||||
/** wms任务号 */
|
||||
@Excel(name = "wms任务号")
|
||||
private String wmsTaskNo;
|
||||
|
||||
private String status;
|
||||
|
||||
private String taskCode;
|
||||
|
||||
private String wmsTaskType;
|
||||
|
||||
public String getWmsTaskType() {
|
||||
return wmsTaskType;
|
||||
}
|
||||
|
||||
public void setWmsTaskType(String wmsTaskType) {
|
||||
this.wmsTaskType = wmsTaskType;
|
||||
}
|
||||
|
||||
public String getTaskCode() {
|
||||
return taskCode;
|
||||
}
|
||||
|
||||
public void setTaskCode(String taskCode) {
|
||||
this.taskCode = taskCode;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setReqCode(String reqCode)
|
||||
{
|
||||
this.reqCode = reqCode;
|
||||
}
|
||||
|
||||
public String getReqCode()
|
||||
{
|
||||
return reqCode;
|
||||
}
|
||||
|
||||
public void setReqTime(String reqTime)
|
||||
{
|
||||
this.reqTime = reqTime;
|
||||
}
|
||||
|
||||
public String getReqTime()
|
||||
{
|
||||
return reqTime;
|
||||
}
|
||||
|
||||
public void setPositionCode1(String positionCode1)
|
||||
{
|
||||
this.positionCode1 = positionCode1;
|
||||
}
|
||||
|
||||
public String getPositionCode1()
|
||||
{
|
||||
return positionCode1;
|
||||
}
|
||||
|
||||
public void setPositionCode2(String positionCode2)
|
||||
{
|
||||
this.positionCode2 = positionCode2;
|
||||
}
|
||||
|
||||
public String getPositionCode2()
|
||||
{
|
||||
return positionCode2;
|
||||
}
|
||||
|
||||
public void setTaskType(String taskType)
|
||||
{
|
||||
this.taskType = taskType;
|
||||
}
|
||||
|
||||
public String getTaskType()
|
||||
{
|
||||
return taskType;
|
||||
}
|
||||
|
||||
public void setCtnrType(String ctnrType)
|
||||
{
|
||||
this.ctnrType = ctnrType;
|
||||
}
|
||||
|
||||
public String getCtnrType()
|
||||
{
|
||||
return ctnrType;
|
||||
}
|
||||
|
||||
public void setCtnrCode(String ctnrCode)
|
||||
{
|
||||
this.ctnrCode = ctnrCode;
|
||||
}
|
||||
|
||||
public String getCtnrCode()
|
||||
{
|
||||
return ctnrCode;
|
||||
}
|
||||
|
||||
public void setCtnrNum(String ctnrNum)
|
||||
{
|
||||
this.ctnrNum = ctnrNum;
|
||||
}
|
||||
|
||||
public String getCtnrNum()
|
||||
{
|
||||
return ctnrNum;
|
||||
}
|
||||
|
||||
public void setTaskMode(String taskMode)
|
||||
{
|
||||
this.taskMode = taskMode;
|
||||
}
|
||||
|
||||
public String getTaskMode()
|
||||
{
|
||||
return taskMode;
|
||||
}
|
||||
|
||||
public void setPriority(String priority)
|
||||
{
|
||||
this.priority = priority;
|
||||
}
|
||||
|
||||
public String getPriority()
|
||||
{
|
||||
return priority;
|
||||
}
|
||||
|
||||
public void setAgvType(String agvType)
|
||||
{
|
||||
this.agvType = agvType;
|
||||
}
|
||||
|
||||
public String getAgvType()
|
||||
{
|
||||
return agvType;
|
||||
}
|
||||
|
||||
public void setRequest(String request)
|
||||
{
|
||||
this.request = request;
|
||||
}
|
||||
|
||||
public String getRequest()
|
||||
{
|
||||
return request;
|
||||
}
|
||||
|
||||
public void setFinishTime(String finishTime)
|
||||
{
|
||||
this.finishTime = finishTime;
|
||||
}
|
||||
|
||||
public String getFinishTime()
|
||||
{
|
||||
return finishTime;
|
||||
}
|
||||
|
||||
public void setWmsTraycode(String wmsTraycode)
|
||||
{
|
||||
this.wmsTraycode = wmsTraycode;
|
||||
}
|
||||
|
||||
public String getWmsTraycode()
|
||||
{
|
||||
return wmsTraycode;
|
||||
}
|
||||
|
||||
public void setWmsTaskNo(String wmsTaskNo)
|
||||
{
|
||||
this.wmsTaskNo = wmsTaskNo;
|
||||
}
|
||||
|
||||
public String getWmsTaskNo()
|
||||
{
|
||||
return wmsTaskNo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("reqCode", getReqCode())
|
||||
.append("reqTime", getReqTime())
|
||||
.append("positionCode1", getPositionCode1())
|
||||
.append("positionCode2", getPositionCode2())
|
||||
.append("taskType", getTaskType())
|
||||
.append("ctnrType", getCtnrType())
|
||||
.append("ctnrCode", getCtnrCode())
|
||||
.append("ctnrNum", getCtnrNum())
|
||||
.append("taskMode", getTaskMode())
|
||||
.append("priority", getPriority())
|
||||
.append("agvType", getAgvType())
|
||||
.append("request", getRequest())
|
||||
.append("finishTime", getFinishTime())
|
||||
.append("wmsTraycode", getWmsTraycode())
|
||||
.append("wmsTaskNo", getWmsTaskNo())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,292 @@
|
||||
package com.ruoyi.queue.agv.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* agv历史队列对象 agv_queue_finish
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-30
|
||||
*/
|
||||
public class AgvQueueFinish extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 请求编号 */
|
||||
private String reqCode;
|
||||
|
||||
/** 请求时间 */
|
||||
@Excel(name = "请求时间")
|
||||
private String reqTime;
|
||||
|
||||
/** 起点 */
|
||||
@Excel(name = "起点 ")
|
||||
private String positionCode1;
|
||||
|
||||
/** 终点 */
|
||||
@Excel(name = "终点")
|
||||
private String positionCode2;
|
||||
|
||||
/** 任务类型 */
|
||||
@Excel(name = "任务类型 ")
|
||||
private String taskType;
|
||||
|
||||
/** 容器类型 */
|
||||
@Excel(name = "容器类型")
|
||||
private String ctnrType;
|
||||
|
||||
/** 容器编号 */
|
||||
@Excel(name = "容器编号")
|
||||
private String ctnrCode;
|
||||
|
||||
/** 容器数量 */
|
||||
@Excel(name = "容器数量")
|
||||
private String ctnrNum;
|
||||
|
||||
/** 任务模式 */
|
||||
@Excel(name = "任务模式")
|
||||
private String taskMode;
|
||||
|
||||
/** 优先级 */
|
||||
@Excel(name = "优先级")
|
||||
private String priority;
|
||||
|
||||
/** 设备类型 */
|
||||
@Excel(name = "设备类型")
|
||||
private String agvType;
|
||||
|
||||
/** 继续请求 */
|
||||
@Excel(name = "继续请求")
|
||||
private String request;
|
||||
|
||||
/** 结束时间 */
|
||||
@Excel(name = "结束时间")
|
||||
private String finishTime;
|
||||
|
||||
/** wms托盘码/容器码 */
|
||||
@Excel(name = "wms托盘码/容器码")
|
||||
private String wmsTraycode;
|
||||
|
||||
/** wms任务号 */
|
||||
@Excel(name = "wms任务号")
|
||||
private String wmsTaskNo;
|
||||
|
||||
/** 任务单号 */
|
||||
@Excel(name = "任务单号")
|
||||
private String taskCode;
|
||||
|
||||
/** 任务状态 */
|
||||
@Excel(name = "任务状态")
|
||||
private String status;
|
||||
|
||||
/** wms任务类型 */
|
||||
@Excel(name = "wms任务类型")
|
||||
private String wmsTaskType;
|
||||
|
||||
public void setReqCode(String reqCode)
|
||||
{
|
||||
this.reqCode = reqCode;
|
||||
}
|
||||
|
||||
public String getReqCode()
|
||||
{
|
||||
return reqCode;
|
||||
}
|
||||
|
||||
public void setReqTime(String reqTime)
|
||||
{
|
||||
this.reqTime = reqTime;
|
||||
}
|
||||
|
||||
public String getReqTime()
|
||||
{
|
||||
return reqTime;
|
||||
}
|
||||
|
||||
public void setPositionCode1(String positionCode1)
|
||||
{
|
||||
this.positionCode1 = positionCode1;
|
||||
}
|
||||
|
||||
public String getPositionCode1()
|
||||
{
|
||||
return positionCode1;
|
||||
}
|
||||
|
||||
public void setPositionCode2(String positionCode2)
|
||||
{
|
||||
this.positionCode2 = positionCode2;
|
||||
}
|
||||
|
||||
public String getPositionCode2()
|
||||
{
|
||||
return positionCode2;
|
||||
}
|
||||
|
||||
public void setTaskType(String taskType)
|
||||
{
|
||||
this.taskType = taskType;
|
||||
}
|
||||
|
||||
public String getTaskType()
|
||||
{
|
||||
return taskType;
|
||||
}
|
||||
|
||||
public void setCtnrType(String ctnrType)
|
||||
{
|
||||
this.ctnrType = ctnrType;
|
||||
}
|
||||
|
||||
public String getCtnrType()
|
||||
{
|
||||
return ctnrType;
|
||||
}
|
||||
|
||||
public void setCtnrCode(String ctnrCode)
|
||||
{
|
||||
this.ctnrCode = ctnrCode;
|
||||
}
|
||||
|
||||
public String getCtnrCode()
|
||||
{
|
||||
return ctnrCode;
|
||||
}
|
||||
|
||||
public void setCtnrNum(String ctnrNum)
|
||||
{
|
||||
this.ctnrNum = ctnrNum;
|
||||
}
|
||||
|
||||
public String getCtnrNum()
|
||||
{
|
||||
return ctnrNum;
|
||||
}
|
||||
|
||||
public void setTaskMode(String taskMode)
|
||||
{
|
||||
this.taskMode = taskMode;
|
||||
}
|
||||
|
||||
public String getTaskMode()
|
||||
{
|
||||
return taskMode;
|
||||
}
|
||||
|
||||
public void setPriority(String priority)
|
||||
{
|
||||
this.priority = priority;
|
||||
}
|
||||
|
||||
public String getPriority()
|
||||
{
|
||||
return priority;
|
||||
}
|
||||
|
||||
public void setAgvType(String agvType)
|
||||
{
|
||||
this.agvType = agvType;
|
||||
}
|
||||
|
||||
public String getAgvType()
|
||||
{
|
||||
return agvType;
|
||||
}
|
||||
|
||||
public void setRequest(String request)
|
||||
{
|
||||
this.request = request;
|
||||
}
|
||||
|
||||
public String getRequest()
|
||||
{
|
||||
return request;
|
||||
}
|
||||
|
||||
public void setFinishTime(String finishTime)
|
||||
{
|
||||
this.finishTime = finishTime;
|
||||
}
|
||||
|
||||
public String getFinishTime()
|
||||
{
|
||||
return finishTime;
|
||||
}
|
||||
|
||||
public void setWmsTraycode(String wmsTraycode)
|
||||
{
|
||||
this.wmsTraycode = wmsTraycode;
|
||||
}
|
||||
|
||||
public String getWmsTraycode()
|
||||
{
|
||||
return wmsTraycode;
|
||||
}
|
||||
|
||||
public void setWmsTaskNo(String wmsTaskNo)
|
||||
{
|
||||
this.wmsTaskNo = wmsTaskNo;
|
||||
}
|
||||
|
||||
public String getWmsTaskNo()
|
||||
{
|
||||
return wmsTaskNo;
|
||||
}
|
||||
|
||||
public void setTaskCode(String taskCode)
|
||||
{
|
||||
this.taskCode = taskCode;
|
||||
}
|
||||
|
||||
public String getTaskCode()
|
||||
{
|
||||
return taskCode;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setWmsTaskType(String wmsTaskType)
|
||||
{
|
||||
this.wmsTaskType = wmsTaskType;
|
||||
}
|
||||
|
||||
public String getWmsTaskType()
|
||||
{
|
||||
return wmsTaskType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("reqCode", getReqCode())
|
||||
.append("reqTime", getReqTime())
|
||||
.append("positionCode1", getPositionCode1())
|
||||
.append("positionCode2", getPositionCode2())
|
||||
.append("taskType", getTaskType())
|
||||
.append("ctnrType", getCtnrType())
|
||||
.append("ctnrCode", getCtnrCode())
|
||||
.append("ctnrNum", getCtnrNum())
|
||||
.append("taskMode", getTaskMode())
|
||||
.append("priority", getPriority())
|
||||
.append("agvType", getAgvType())
|
||||
.append("request", getRequest())
|
||||
.append("finishTime", getFinishTime())
|
||||
.append("wmsTraycode", getWmsTraycode())
|
||||
.append("wmsTaskNo", getWmsTaskNo())
|
||||
.append("taskCode", getTaskCode())
|
||||
.append("status", getStatus())
|
||||
.append("wmsTaskType", getWmsTaskType())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.queue.agv.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueueFinish;
|
||||
|
||||
/**
|
||||
* agv历史队列Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-30
|
||||
*/
|
||||
public interface AgvQueueFinishMapper
|
||||
{
|
||||
/**
|
||||
* 查询agv历史队列
|
||||
*
|
||||
* @param reqCode agv历史队列主键
|
||||
* @return agv历史队列
|
||||
*/
|
||||
public AgvQueueFinish selectAgvQueueFinishByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 查询agv历史队列列表
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return agv历史队列集合
|
||||
*/
|
||||
public List<AgvQueueFinish> selectAgvQueueFinishList(AgvQueueFinish agvQueueFinish);
|
||||
|
||||
/**
|
||||
* 新增agv历史队列
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAgvQueueFinish(AgvQueueFinish agvQueueFinish);
|
||||
|
||||
/**
|
||||
* 修改agv历史队列
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAgvQueueFinish(AgvQueueFinish agvQueueFinish);
|
||||
|
||||
/**
|
||||
* 删除agv历史队列
|
||||
*
|
||||
* @param reqCode agv历史队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueFinishByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 批量删除agv历史队列
|
||||
*
|
||||
* @param reqCodes 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueFinishByReqCodes(String[] reqCodes);
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.ruoyi.queue.agv.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueue;
|
||||
|
||||
/**
|
||||
* AGV任务队列Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-03
|
||||
*/
|
||||
public interface AgvQueueMapper
|
||||
{
|
||||
/**
|
||||
* 查询AGV任务队列
|
||||
*
|
||||
* @param reqCode AGV任务队列主键
|
||||
* @return AGV任务队列
|
||||
*/
|
||||
public AgvQueue selectAgvQueueByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 查询AGV任务队列列表
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return AGV任务队列集合
|
||||
*/
|
||||
public List<AgvQueue> selectAgvQueueList(AgvQueue agvQueue);
|
||||
|
||||
/**
|
||||
* 新增AGV任务队列
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAgvQueue(AgvQueue agvQueue);
|
||||
|
||||
/**
|
||||
* 修改AGV任务队列
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAgvQueue(AgvQueue agvQueue);
|
||||
|
||||
/**
|
||||
* 删除AGV任务队列
|
||||
*
|
||||
* @param reqCode AGV任务队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 批量删除AGV任务队列
|
||||
*
|
||||
* @param reqCodes 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueByReqCodes(String[] reqCodes);
|
||||
|
||||
/**
|
||||
* 根据任务单号获取agv队列
|
||||
* @param taskCode
|
||||
* @return
|
||||
*/
|
||||
AgvQueue selectAgvQueueByTaskCode(String taskCode);
|
||||
|
||||
void insertHistory(String reqCode);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.queue.agv.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueueFinish;
|
||||
|
||||
/**
|
||||
* agv历史队列Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-30
|
||||
*/
|
||||
public interface IAgvQueueFinishService
|
||||
{
|
||||
/**
|
||||
* 查询agv历史队列
|
||||
*
|
||||
* @param reqCode agv历史队列主键
|
||||
* @return agv历史队列
|
||||
*/
|
||||
public AgvQueueFinish selectAgvQueueFinishByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 查询agv历史队列列表
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return agv历史队列集合
|
||||
*/
|
||||
public List<AgvQueueFinish> selectAgvQueueFinishList(AgvQueueFinish agvQueueFinish);
|
||||
|
||||
/**
|
||||
* 新增agv历史队列
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAgvQueueFinish(AgvQueueFinish agvQueueFinish);
|
||||
|
||||
/**
|
||||
* 修改agv历史队列
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAgvQueueFinish(AgvQueueFinish agvQueueFinish);
|
||||
|
||||
/**
|
||||
* 批量删除agv历史队列
|
||||
*
|
||||
* @param reqCodes 需要删除的agv历史队列主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueFinishByReqCodes(String[] reqCodes);
|
||||
|
||||
/**
|
||||
* 删除agv历史队列信息
|
||||
*
|
||||
* @param reqCode agv历史队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueFinishByReqCode(String reqCode);
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package com.ruoyi.queue.agv.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueue;
|
||||
|
||||
/**
|
||||
* AGV任务队列Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-03
|
||||
*/
|
||||
public interface IAgvQueueService
|
||||
{
|
||||
/**
|
||||
* 查询AGV任务队列
|
||||
*
|
||||
* @param reqCode AGV任务队列主键
|
||||
* @return AGV任务队列
|
||||
*/
|
||||
public AgvQueue selectAgvQueueByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 查询AGV任务队列列表
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return AGV任务队列集合
|
||||
*/
|
||||
public List<AgvQueue> selectAgvQueueList(AgvQueue agvQueue);
|
||||
|
||||
/**
|
||||
* 新增AGV任务队列
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAgvQueue(AgvQueue agvQueue);
|
||||
|
||||
/**
|
||||
* 修改AGV任务队列
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateAgvQueue(AgvQueue agvQueue);
|
||||
|
||||
/**
|
||||
* 批量删除AGV任务队列
|
||||
*
|
||||
* @param reqCodes 需要删除的AGV任务队列主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueByReqCodes(String[] reqCodes);
|
||||
|
||||
/**
|
||||
* 删除AGV任务队列信息
|
||||
*
|
||||
* @param reqCode AGV任务队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAgvQueueByReqCode(String reqCode);
|
||||
|
||||
/**
|
||||
* 根据任务单号获取agv队列
|
||||
* @param taskCode
|
||||
* @return
|
||||
*/
|
||||
AgvQueue selectAgvQueueByTaskCode(String taskCode);
|
||||
|
||||
/**
|
||||
* 插入agv完成历史
|
||||
* @param reqCode
|
||||
*/
|
||||
void insertHistory(String reqCode);
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.ruoyi.queue.agv.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.queue.agv.mapper.AgvQueueFinishMapper;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueueFinish;
|
||||
import com.ruoyi.queue.agv.service.IAgvQueueFinishService;
|
||||
|
||||
/**
|
||||
* agv历史队列Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-30
|
||||
*/
|
||||
@Service
|
||||
public class AgvQueueFinishServiceImpl implements IAgvQueueFinishService
|
||||
{
|
||||
@Autowired
|
||||
private AgvQueueFinishMapper agvQueueFinishMapper;
|
||||
|
||||
/**
|
||||
* 查询agv历史队列
|
||||
*
|
||||
* @param reqCode agv历史队列主键
|
||||
* @return agv历史队列
|
||||
*/
|
||||
@Override
|
||||
public AgvQueueFinish selectAgvQueueFinishByReqCode(String reqCode)
|
||||
{
|
||||
return agvQueueFinishMapper.selectAgvQueueFinishByReqCode(reqCode);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询agv历史队列列表
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return agv历史队列
|
||||
*/
|
||||
@Override
|
||||
public List<AgvQueueFinish> selectAgvQueueFinishList(AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
return agvQueueFinishMapper.selectAgvQueueFinishList(agvQueueFinish);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增agv历史队列
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertAgvQueueFinish(AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
return agvQueueFinishMapper.insertAgvQueueFinish(agvQueueFinish);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改agv历史队列
|
||||
*
|
||||
* @param agvQueueFinish agv历史队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateAgvQueueFinish(AgvQueueFinish agvQueueFinish)
|
||||
{
|
||||
return agvQueueFinishMapper.updateAgvQueueFinish(agvQueueFinish);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除agv历史队列
|
||||
*
|
||||
* @param reqCodes 需要删除的agv历史队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAgvQueueFinishByReqCodes(String[] reqCodes)
|
||||
{
|
||||
return agvQueueFinishMapper.deleteAgvQueueFinishByReqCodes(reqCodes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除agv历史队列信息
|
||||
*
|
||||
* @param reqCode agv历史队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAgvQueueFinishByReqCode(String reqCode)
|
||||
{
|
||||
return agvQueueFinishMapper.deleteAgvQueueFinishByReqCode(reqCode);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
package com.ruoyi.queue.agv.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.queue.agv.mapper.AgvQueueMapper;
|
||||
import com.ruoyi.queue.agv.domain.AgvQueue;
|
||||
import com.ruoyi.queue.agv.service.IAgvQueueService;
|
||||
|
||||
/**
|
||||
* AGV任务队列Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-03
|
||||
*/
|
||||
@Service
|
||||
public class AgvQueueServiceImpl implements IAgvQueueService
|
||||
{
|
||||
@Autowired
|
||||
private AgvQueueMapper agvQueueMapper;
|
||||
|
||||
/**
|
||||
* 查询AGV任务队列
|
||||
*
|
||||
* @param reqCode AGV任务队列主键
|
||||
* @return AGV任务队列
|
||||
*/
|
||||
@Override
|
||||
public AgvQueue selectAgvQueueByReqCode(String reqCode)
|
||||
{
|
||||
return agvQueueMapper.selectAgvQueueByReqCode(reqCode);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询AGV任务队列列表
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return AGV任务队列
|
||||
*/
|
||||
@Override
|
||||
public List<AgvQueue> selectAgvQueueList(AgvQueue agvQueue)
|
||||
{
|
||||
return agvQueueMapper.selectAgvQueueList(agvQueue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增AGV任务队列
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertAgvQueue(AgvQueue agvQueue)
|
||||
{
|
||||
return agvQueueMapper.insertAgvQueue(agvQueue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改AGV任务队列
|
||||
*
|
||||
* @param agvQueue AGV任务队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateAgvQueue(AgvQueue agvQueue)
|
||||
{
|
||||
return agvQueueMapper.updateAgvQueue(agvQueue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除AGV任务队列
|
||||
*
|
||||
* @param reqCodes 需要删除的AGV任务队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAgvQueueByReqCodes(String[] reqCodes)
|
||||
{
|
||||
return agvQueueMapper.deleteAgvQueueByReqCodes(reqCodes);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除AGV任务队列信息
|
||||
*
|
||||
* @param reqCode AGV任务队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteAgvQueueByReqCode(String reqCode)
|
||||
{
|
||||
return agvQueueMapper.deleteAgvQueueByReqCode(reqCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AgvQueue selectAgvQueueByTaskCode(String taskCode) {
|
||||
return agvQueueMapper.selectAgvQueueByTaskCode(taskCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insertHistory(String reqCode) {
|
||||
agvQueueMapper.insertHistory(reqCode);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.queue.ddj.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueue;
|
||||
import com.ruoyi.queue.ddj.service.IDdjDeviceExecutionQueueService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 堆垛机执行队列Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/queue/ddj")
|
||||
public class DdjDeviceExecutionQueueController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDdjDeviceExecutionQueueService ddjDeviceExecutionQueueService;
|
||||
|
||||
/**
|
||||
* 查询堆垛机执行队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
startPage();
|
||||
List<DdjDeviceExecutionQueue> list = ddjDeviceExecutionQueueService.selectDdjDeviceExecutionQueueList(ddjDeviceExecutionQueue);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出堆垛机执行队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddj:export')")
|
||||
@Log(title = "堆垛机执行队列", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
List<DdjDeviceExecutionQueue> list = ddjDeviceExecutionQueueService.selectDdjDeviceExecutionQueueList(ddjDeviceExecutionQueue);
|
||||
ExcelUtil<DdjDeviceExecutionQueue> util = new ExcelUtil<DdjDeviceExecutionQueue>(DdjDeviceExecutionQueue.class);
|
||||
util.exportExcel(response, list, "堆垛机执行队列数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取堆垛机执行队列详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddj:query')")
|
||||
@GetMapping(value = "/{uuid}")
|
||||
public AjaxResult getInfo(@PathVariable("uuid") String uuid)
|
||||
{
|
||||
return success(ddjDeviceExecutionQueueService.selectDdjDeviceExecutionQueueByUuid(uuid));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增堆垛机执行队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddj:add')")
|
||||
@Log(title = "堆垛机执行队列", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
return toAjax(ddjDeviceExecutionQueueService.insertDdjDeviceExecutionQueue(ddjDeviceExecutionQueue));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改堆垛机执行队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddj:edit')")
|
||||
@Log(title = "堆垛机执行队列", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
return toAjax(ddjDeviceExecutionQueueService.updateDdjDeviceExecutionQueue(ddjDeviceExecutionQueue));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除堆垛机执行队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddj:remove')")
|
||||
@Log(title = "堆垛机执行队列", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{uuids}")
|
||||
public AjaxResult remove(@PathVariable String[] uuids)
|
||||
{
|
||||
return toAjax(ddjDeviceExecutionQueueService.deleteDdjDeviceExecutionQueueByUuids(uuids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.queue.ddj.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueueFinish;
|
||||
import com.ruoyi.queue.ddj.service.IDdjDeviceExecutionQueueFinishService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 堆垛机完成队列Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/queue/ddjFinish")
|
||||
public class DdjDeviceExecutionQueueFinishController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDdjDeviceExecutionQueueFinishService ddjDeviceExecutionQueueFinishService;
|
||||
|
||||
/**
|
||||
* 查询堆垛机完成队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddjFinish:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
startPage();
|
||||
List<DdjDeviceExecutionQueueFinish> list = ddjDeviceExecutionQueueFinishService.selectDdjDeviceExecutionQueueFinishList(ddjDeviceExecutionQueueFinish);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出堆垛机完成队列列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddjFinish:export')")
|
||||
@Log(title = "堆垛机完成队列", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
List<DdjDeviceExecutionQueueFinish> list = ddjDeviceExecutionQueueFinishService.selectDdjDeviceExecutionQueueFinishList(ddjDeviceExecutionQueueFinish);
|
||||
ExcelUtil<DdjDeviceExecutionQueueFinish> util = new ExcelUtil<DdjDeviceExecutionQueueFinish>(DdjDeviceExecutionQueueFinish.class);
|
||||
util.exportExcel(response, list, "堆垛机完成队列数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取堆垛机完成队列详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddjFinish:query')")
|
||||
@GetMapping(value = "/{uuid}")
|
||||
public AjaxResult getInfo(@PathVariable("uuid") String uuid)
|
||||
{
|
||||
return success(ddjDeviceExecutionQueueFinishService.selectDdjDeviceExecutionQueueFinishByUuid(uuid));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增堆垛机完成队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddjFinish:add')")
|
||||
@Log(title = "堆垛机完成队列", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
return toAjax(ddjDeviceExecutionQueueFinishService.insertDdjDeviceExecutionQueueFinish(ddjDeviceExecutionQueueFinish));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改堆垛机完成队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddjFinish:edit')")
|
||||
@Log(title = "堆垛机完成队列", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
return toAjax(ddjDeviceExecutionQueueFinishService.updateDdjDeviceExecutionQueueFinish(ddjDeviceExecutionQueueFinish));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除堆垛机完成队列
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('queue:ddjFinish:remove')")
|
||||
@Log(title = "堆垛机完成队列", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{uuids}")
|
||||
public AjaxResult remove(@PathVariable String[] uuids)
|
||||
{
|
||||
return toAjax(ddjDeviceExecutionQueueFinishService.deleteDdjDeviceExecutionQueueFinishByUuids(uuids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
package com.ruoyi.queue.ddj.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 堆垛机执行队列对象 ddj_device_execution_queue
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public class DdjDeviceExecutionQueue extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** uuid */
|
||||
private String uuid;
|
||||
|
||||
/** 任务号 */
|
||||
@Excel(name = "任务号")
|
||||
private Long rwh;
|
||||
|
||||
/** 设备名称 */
|
||||
@Excel(name = "设备名称")
|
||||
private String devName;
|
||||
|
||||
/** 设备id */
|
||||
@Excel(name = "设备id")
|
||||
private Long devId;
|
||||
|
||||
/** 任务状态 */
|
||||
@Excel(name = "任务状态")
|
||||
private Long rwzt;
|
||||
|
||||
/** 原排 */
|
||||
@Excel(name = "原排")
|
||||
private Long yph;
|
||||
|
||||
/** 原列 */
|
||||
@Excel(name = "原列")
|
||||
private Long ylh;
|
||||
|
||||
/** 原层 */
|
||||
@Excel(name = "原层")
|
||||
private Long ych;
|
||||
|
||||
/** 目标排 */
|
||||
@Excel(name = "目标排")
|
||||
private Long mbph;
|
||||
|
||||
/** 目标列 */
|
||||
@Excel(name = "目标列")
|
||||
private Long mblh;
|
||||
|
||||
/** 目标层 */
|
||||
@Excel(name = "目标层")
|
||||
private Long mbch;
|
||||
|
||||
/** 堆垛机下发 */
|
||||
@Excel(name = "堆垛机下发")
|
||||
private String ddjxf;
|
||||
|
||||
/** 任务类型 */
|
||||
@Excel(name = "任务类型")
|
||||
private Long rwlx;
|
||||
|
||||
/** 生成时间 */
|
||||
@Excel(name = "生成时间")
|
||||
private String scsj;
|
||||
|
||||
/** 下发时间 */
|
||||
@Excel(name = "下发时间")
|
||||
private String xfsj;
|
||||
|
||||
/** 结束时间 */
|
||||
@Excel(name = "结束时间")
|
||||
private String jssj;
|
||||
|
||||
/** 命令方式 */
|
||||
@Excel(name = "命令方式")
|
||||
private Long mlfs;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare1;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare2;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare3;
|
||||
|
||||
public void setUuid(String uuid)
|
||||
{
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
public String getUuid()
|
||||
{
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setRwh(Long rwh)
|
||||
{
|
||||
this.rwh = rwh;
|
||||
}
|
||||
|
||||
public Long getRwh()
|
||||
{
|
||||
return rwh;
|
||||
}
|
||||
|
||||
public void setDevName(String devName)
|
||||
{
|
||||
this.devName = devName;
|
||||
}
|
||||
|
||||
public String getDevName()
|
||||
{
|
||||
return devName;
|
||||
}
|
||||
|
||||
public void setDevId(Long devId)
|
||||
{
|
||||
this.devId = devId;
|
||||
}
|
||||
|
||||
public Long getDevId()
|
||||
{
|
||||
return devId;
|
||||
}
|
||||
|
||||
public void setRwzt(Long rwzt)
|
||||
{
|
||||
this.rwzt = rwzt;
|
||||
}
|
||||
|
||||
public Long getRwzt()
|
||||
{
|
||||
return rwzt;
|
||||
}
|
||||
|
||||
public void setYph(Long yph)
|
||||
{
|
||||
this.yph = yph;
|
||||
}
|
||||
|
||||
public Long getYph()
|
||||
{
|
||||
return yph;
|
||||
}
|
||||
|
||||
public void setYlh(Long ylh)
|
||||
{
|
||||
this.ylh = ylh;
|
||||
}
|
||||
|
||||
public Long getYlh()
|
||||
{
|
||||
return ylh;
|
||||
}
|
||||
|
||||
public void setYch(Long ych)
|
||||
{
|
||||
this.ych = ych;
|
||||
}
|
||||
|
||||
public Long getYch()
|
||||
{
|
||||
return ych;
|
||||
}
|
||||
|
||||
public void setMbph(Long mbph)
|
||||
{
|
||||
this.mbph = mbph;
|
||||
}
|
||||
|
||||
public Long getMbph()
|
||||
{
|
||||
return mbph;
|
||||
}
|
||||
|
||||
public void setMblh(Long mblh)
|
||||
{
|
||||
this.mblh = mblh;
|
||||
}
|
||||
|
||||
public Long getMblh()
|
||||
{
|
||||
return mblh;
|
||||
}
|
||||
|
||||
public void setMbch(Long mbch)
|
||||
{
|
||||
this.mbch = mbch;
|
||||
}
|
||||
|
||||
public Long getMbch()
|
||||
{
|
||||
return mbch;
|
||||
}
|
||||
|
||||
public void setDdjxf(String ddjxf)
|
||||
{
|
||||
this.ddjxf = ddjxf;
|
||||
}
|
||||
|
||||
public String getDdjxf()
|
||||
{
|
||||
return ddjxf;
|
||||
}
|
||||
|
||||
public void setRwlx(Long rwlx)
|
||||
{
|
||||
this.rwlx = rwlx;
|
||||
}
|
||||
|
||||
public Long getRwlx()
|
||||
{
|
||||
return rwlx;
|
||||
}
|
||||
|
||||
public void setScsj(String scsj)
|
||||
{
|
||||
this.scsj = scsj;
|
||||
}
|
||||
|
||||
public String getScsj()
|
||||
{
|
||||
return scsj;
|
||||
}
|
||||
|
||||
public void setXfsj(String xfsj)
|
||||
{
|
||||
this.xfsj = xfsj;
|
||||
}
|
||||
|
||||
public String getXfsj()
|
||||
{
|
||||
return xfsj;
|
||||
}
|
||||
|
||||
public void setJssj(String jssj)
|
||||
{
|
||||
this.jssj = jssj;
|
||||
}
|
||||
|
||||
public String getJssj()
|
||||
{
|
||||
return jssj;
|
||||
}
|
||||
|
||||
public void setMlfs(Long mlfs)
|
||||
{
|
||||
this.mlfs = mlfs;
|
||||
}
|
||||
|
||||
public Long getMlfs()
|
||||
{
|
||||
return mlfs;
|
||||
}
|
||||
|
||||
public void setSpare1(String spare1)
|
||||
{
|
||||
this.spare1 = spare1;
|
||||
}
|
||||
|
||||
public String getSpare1()
|
||||
{
|
||||
return spare1;
|
||||
}
|
||||
|
||||
public void setSpare2(String spare2)
|
||||
{
|
||||
this.spare2 = spare2;
|
||||
}
|
||||
|
||||
public String getSpare2()
|
||||
{
|
||||
return spare2;
|
||||
}
|
||||
|
||||
public void setSpare3(String spare3)
|
||||
{
|
||||
this.spare3 = spare3;
|
||||
}
|
||||
|
||||
public String getSpare3()
|
||||
{
|
||||
return spare3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("uuid", getUuid())
|
||||
.append("rwh", getRwh())
|
||||
.append("devName", getDevName())
|
||||
.append("devId", getDevId())
|
||||
.append("rwzt", getRwzt())
|
||||
.append("yph", getYph())
|
||||
.append("ylh", getYlh())
|
||||
.append("ych", getYch())
|
||||
.append("mbph", getMbph())
|
||||
.append("mblh", getMblh())
|
||||
.append("mbch", getMbch())
|
||||
.append("ddjxf", getDdjxf())
|
||||
.append("rwlx", getRwlx())
|
||||
.append("scsj", getScsj())
|
||||
.append("xfsj", getXfsj())
|
||||
.append("jssj", getJssj())
|
||||
.append("mlfs", getMlfs())
|
||||
.append("spare1", getSpare1())
|
||||
.append("spare2", getSpare2())
|
||||
.append("spare3", getSpare3())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
package com.ruoyi.queue.ddj.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 堆垛机完成队列对象 ddj_device_execution_queue_finish
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public class DdjDeviceExecutionQueueFinish extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** uuid */
|
||||
private String uuid;
|
||||
|
||||
/** 任务号 */
|
||||
@Excel(name = "任务号")
|
||||
private Long rwh;
|
||||
|
||||
/** 设备名称 */
|
||||
@Excel(name = "设备名称")
|
||||
private String devName;
|
||||
|
||||
/** 设备id */
|
||||
@Excel(name = "设备id")
|
||||
private Long devId;
|
||||
|
||||
/** 任务状态 */
|
||||
@Excel(name = "任务状态")
|
||||
private Long rwzt;
|
||||
|
||||
/** 原排 */
|
||||
@Excel(name = "原排")
|
||||
private Long yph;
|
||||
|
||||
/** 原列 */
|
||||
@Excel(name = "原列")
|
||||
private Long ylh;
|
||||
|
||||
/** 原层 */
|
||||
@Excel(name = "原层")
|
||||
private Long ych;
|
||||
|
||||
/** 目标排 */
|
||||
@Excel(name = "目标排")
|
||||
private Long mbph;
|
||||
|
||||
/** 目标列 */
|
||||
@Excel(name = "目标列")
|
||||
private Long mblh;
|
||||
|
||||
/** 目标层 */
|
||||
@Excel(name = "目标层")
|
||||
private Long mbch;
|
||||
|
||||
/** 堆垛机下发 */
|
||||
@Excel(name = "堆垛机下发")
|
||||
private String ddjxf;
|
||||
|
||||
/** 任务类型 */
|
||||
@Excel(name = "任务类型")
|
||||
private Long rwlx;
|
||||
|
||||
/** 生成时间 */
|
||||
@Excel(name = "生成时间")
|
||||
private String scsj;
|
||||
|
||||
/** 下发时间 */
|
||||
@Excel(name = "下发时间")
|
||||
private String xfsj;
|
||||
|
||||
/** 结束时间 */
|
||||
@Excel(name = "结束时间")
|
||||
private String jssj;
|
||||
|
||||
/** 命令方式 */
|
||||
@Excel(name = "命令方式")
|
||||
private Long mlfs;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare1;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare2;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare3;
|
||||
|
||||
public void setUuid(String uuid)
|
||||
{
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
public String getUuid()
|
||||
{
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setRwh(Long rwh)
|
||||
{
|
||||
this.rwh = rwh;
|
||||
}
|
||||
|
||||
public Long getRwh()
|
||||
{
|
||||
return rwh;
|
||||
}
|
||||
|
||||
public void setDevName(String devName)
|
||||
{
|
||||
this.devName = devName;
|
||||
}
|
||||
|
||||
public String getDevName()
|
||||
{
|
||||
return devName;
|
||||
}
|
||||
|
||||
public void setDevId(Long devId)
|
||||
{
|
||||
this.devId = devId;
|
||||
}
|
||||
|
||||
public Long getDevId()
|
||||
{
|
||||
return devId;
|
||||
}
|
||||
|
||||
public void setRwzt(Long rwzt)
|
||||
{
|
||||
this.rwzt = rwzt;
|
||||
}
|
||||
|
||||
public Long getRwzt()
|
||||
{
|
||||
return rwzt;
|
||||
}
|
||||
|
||||
public void setYph(Long yph)
|
||||
{
|
||||
this.yph = yph;
|
||||
}
|
||||
|
||||
public Long getYph()
|
||||
{
|
||||
return yph;
|
||||
}
|
||||
|
||||
public void setYlh(Long ylh)
|
||||
{
|
||||
this.ylh = ylh;
|
||||
}
|
||||
|
||||
public Long getYlh()
|
||||
{
|
||||
return ylh;
|
||||
}
|
||||
|
||||
public void setYch(Long ych)
|
||||
{
|
||||
this.ych = ych;
|
||||
}
|
||||
|
||||
public Long getYch()
|
||||
{
|
||||
return ych;
|
||||
}
|
||||
|
||||
public void setMbph(Long mbph)
|
||||
{
|
||||
this.mbph = mbph;
|
||||
}
|
||||
|
||||
public Long getMbph()
|
||||
{
|
||||
return mbph;
|
||||
}
|
||||
|
||||
public void setMblh(Long mblh)
|
||||
{
|
||||
this.mblh = mblh;
|
||||
}
|
||||
|
||||
public Long getMblh()
|
||||
{
|
||||
return mblh;
|
||||
}
|
||||
|
||||
public void setMbch(Long mbch)
|
||||
{
|
||||
this.mbch = mbch;
|
||||
}
|
||||
|
||||
public Long getMbch()
|
||||
{
|
||||
return mbch;
|
||||
}
|
||||
|
||||
public void setDdjxf(String ddjxf)
|
||||
{
|
||||
this.ddjxf = ddjxf;
|
||||
}
|
||||
|
||||
public String getDdjxf()
|
||||
{
|
||||
return ddjxf;
|
||||
}
|
||||
|
||||
public void setRwlx(Long rwlx)
|
||||
{
|
||||
this.rwlx = rwlx;
|
||||
}
|
||||
|
||||
public Long getRwlx()
|
||||
{
|
||||
return rwlx;
|
||||
}
|
||||
|
||||
public void setScsj(String scsj)
|
||||
{
|
||||
this.scsj = scsj;
|
||||
}
|
||||
|
||||
public String getScsj()
|
||||
{
|
||||
return scsj;
|
||||
}
|
||||
|
||||
public void setXfsj(String xfsj)
|
||||
{
|
||||
this.xfsj = xfsj;
|
||||
}
|
||||
|
||||
public String getXfsj()
|
||||
{
|
||||
return xfsj;
|
||||
}
|
||||
|
||||
public void setJssj(String jssj)
|
||||
{
|
||||
this.jssj = jssj;
|
||||
}
|
||||
|
||||
public String getJssj()
|
||||
{
|
||||
return jssj;
|
||||
}
|
||||
|
||||
public void setMlfs(Long mlfs)
|
||||
{
|
||||
this.mlfs = mlfs;
|
||||
}
|
||||
|
||||
public Long getMlfs()
|
||||
{
|
||||
return mlfs;
|
||||
}
|
||||
|
||||
public void setSpare1(String spare1)
|
||||
{
|
||||
this.spare1 = spare1;
|
||||
}
|
||||
|
||||
public String getSpare1()
|
||||
{
|
||||
return spare1;
|
||||
}
|
||||
|
||||
public void setSpare2(String spare2)
|
||||
{
|
||||
this.spare2 = spare2;
|
||||
}
|
||||
|
||||
public String getSpare2()
|
||||
{
|
||||
return spare2;
|
||||
}
|
||||
|
||||
public void setSpare3(String spare3)
|
||||
{
|
||||
this.spare3 = spare3;
|
||||
}
|
||||
|
||||
public String getSpare3()
|
||||
{
|
||||
return spare3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("uuid", getUuid())
|
||||
.append("rwh", getRwh())
|
||||
.append("devName", getDevName())
|
||||
.append("devId", getDevId())
|
||||
.append("rwzt", getRwzt())
|
||||
.append("yph", getYph())
|
||||
.append("ylh", getYlh())
|
||||
.append("ych", getYch())
|
||||
.append("mbph", getMbph())
|
||||
.append("mblh", getMblh())
|
||||
.append("mbch", getMbch())
|
||||
.append("ddjxf", getDdjxf())
|
||||
.append("rwlx", getRwlx())
|
||||
.append("scsj", getScsj())
|
||||
.append("xfsj", getXfsj())
|
||||
.append("jssj", getJssj())
|
||||
.append("mlfs", getMlfs())
|
||||
.append("spare1", getSpare1())
|
||||
.append("spare2", getSpare2())
|
||||
.append("spare3", getSpare3())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.queue.ddj.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueueFinish;
|
||||
|
||||
/**
|
||||
* 堆垛机完成队列Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public interface DdjDeviceExecutionQueueFinishMapper
|
||||
{
|
||||
/**
|
||||
* 查询堆垛机完成队列
|
||||
*
|
||||
* @param uuid 堆垛机完成队列主键
|
||||
* @return 堆垛机完成队列
|
||||
*/
|
||||
public DdjDeviceExecutionQueueFinish selectDdjDeviceExecutionQueueFinishByUuid(String uuid);
|
||||
|
||||
/**
|
||||
* 查询堆垛机完成队列列表
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 堆垛机完成队列集合
|
||||
*/
|
||||
public List<DdjDeviceExecutionQueueFinish> selectDdjDeviceExecutionQueueFinishList(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish);
|
||||
|
||||
/**
|
||||
* 新增堆垛机完成队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDdjDeviceExecutionQueueFinish(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish);
|
||||
|
||||
/**
|
||||
* 修改堆垛机完成队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDdjDeviceExecutionQueueFinish(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish);
|
||||
|
||||
/**
|
||||
* 删除堆垛机完成队列
|
||||
*
|
||||
* @param uuid 堆垛机完成队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueFinishByUuid(String uuid);
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机完成队列
|
||||
*
|
||||
* @param uuids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueFinishByUuids(String[] uuids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.queue.ddj.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueue;
|
||||
|
||||
/**
|
||||
* 堆垛机执行队列Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public interface DdjDeviceExecutionQueueMapper
|
||||
{
|
||||
/**
|
||||
* 查询堆垛机执行队列
|
||||
*
|
||||
* @param uuid 堆垛机执行队列主键
|
||||
* @return 堆垛机执行队列
|
||||
*/
|
||||
public DdjDeviceExecutionQueue selectDdjDeviceExecutionQueueByUuid(String uuid);
|
||||
|
||||
/**
|
||||
* 查询堆垛机执行队列列表
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 堆垛机执行队列集合
|
||||
*/
|
||||
public List<DdjDeviceExecutionQueue> selectDdjDeviceExecutionQueueList(DdjDeviceExecutionQueue ddjDeviceExecutionQueue);
|
||||
|
||||
/**
|
||||
* 新增堆垛机执行队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDdjDeviceExecutionQueue(DdjDeviceExecutionQueue ddjDeviceExecutionQueue);
|
||||
|
||||
/**
|
||||
* 修改堆垛机执行队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDdjDeviceExecutionQueue(DdjDeviceExecutionQueue ddjDeviceExecutionQueue);
|
||||
|
||||
/**
|
||||
* 删除堆垛机执行队列
|
||||
*
|
||||
* @param uuid 堆垛机执行队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueByUuid(String uuid);
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机执行队列
|
||||
*
|
||||
* @param uuids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueByUuids(String[] uuids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.queue.ddj.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueueFinish;
|
||||
|
||||
/**
|
||||
* 堆垛机完成队列Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public interface IDdjDeviceExecutionQueueFinishService
|
||||
{
|
||||
/**
|
||||
* 查询堆垛机完成队列
|
||||
*
|
||||
* @param uuid 堆垛机完成队列主键
|
||||
* @return 堆垛机完成队列
|
||||
*/
|
||||
public DdjDeviceExecutionQueueFinish selectDdjDeviceExecutionQueueFinishByUuid(String uuid);
|
||||
|
||||
/**
|
||||
* 查询堆垛机完成队列列表
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 堆垛机完成队列集合
|
||||
*/
|
||||
public List<DdjDeviceExecutionQueueFinish> selectDdjDeviceExecutionQueueFinishList(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish);
|
||||
|
||||
/**
|
||||
* 新增堆垛机完成队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDdjDeviceExecutionQueueFinish(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish);
|
||||
|
||||
/**
|
||||
* 修改堆垛机完成队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDdjDeviceExecutionQueueFinish(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish);
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机完成队列
|
||||
*
|
||||
* @param uuids 需要删除的堆垛机完成队列主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueFinishByUuids(String[] uuids);
|
||||
|
||||
/**
|
||||
* 删除堆垛机完成队列信息
|
||||
*
|
||||
* @param uuid 堆垛机完成队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueFinishByUuid(String uuid);
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package com.ruoyi.queue.ddj.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueue;
|
||||
|
||||
/**
|
||||
* 堆垛机执行队列Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public interface IDdjDeviceExecutionQueueService
|
||||
{
|
||||
/**
|
||||
* 查询堆垛机执行队列
|
||||
*
|
||||
* @param uuid 堆垛机执行队列主键
|
||||
* @return 堆垛机执行队列
|
||||
*/
|
||||
public DdjDeviceExecutionQueue selectDdjDeviceExecutionQueueByUuid(String uuid);
|
||||
|
||||
/**
|
||||
* 查询堆垛机执行队列列表
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 堆垛机执行队列集合
|
||||
*/
|
||||
public List<DdjDeviceExecutionQueue> selectDdjDeviceExecutionQueueList(DdjDeviceExecutionQueue ddjDeviceExecutionQueue);
|
||||
|
||||
/**
|
||||
* 新增堆垛机执行队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDdjDeviceExecutionQueue(DdjDeviceExecutionQueue ddjDeviceExecutionQueue);
|
||||
|
||||
/**
|
||||
* 修改堆垛机执行队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDdjDeviceExecutionQueue(DdjDeviceExecutionQueue ddjDeviceExecutionQueue);
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机执行队列
|
||||
*
|
||||
* @param uuids 需要删除的堆垛机执行队列主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueByUuids(String[] uuids);
|
||||
|
||||
/**
|
||||
* 删除堆垛机执行队列信息
|
||||
*
|
||||
* @param uuid 堆垛机执行队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDdjDeviceExecutionQueueByUuid(String uuid);
|
||||
|
||||
DdjDeviceExecutionQueue selectDdjDeviceExecutionQueueByRwh(Long rwh);
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.ruoyi.queue.ddj.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.queue.ddj.mapper.DdjDeviceExecutionQueueFinishMapper;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueueFinish;
|
||||
import com.ruoyi.queue.ddj.service.IDdjDeviceExecutionQueueFinishService;
|
||||
|
||||
/**
|
||||
* 堆垛机完成队列Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@Service
|
||||
public class DdjDeviceExecutionQueueFinishServiceImpl implements IDdjDeviceExecutionQueueFinishService
|
||||
{
|
||||
@Autowired
|
||||
private DdjDeviceExecutionQueueFinishMapper ddjDeviceExecutionQueueFinishMapper;
|
||||
|
||||
/**
|
||||
* 查询堆垛机完成队列
|
||||
*
|
||||
* @param uuid 堆垛机完成队列主键
|
||||
* @return 堆垛机完成队列
|
||||
*/
|
||||
@Override
|
||||
public DdjDeviceExecutionQueueFinish selectDdjDeviceExecutionQueueFinishByUuid(String uuid)
|
||||
{
|
||||
return ddjDeviceExecutionQueueFinishMapper.selectDdjDeviceExecutionQueueFinishByUuid(uuid);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询堆垛机完成队列列表
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 堆垛机完成队列
|
||||
*/
|
||||
@Override
|
||||
public List<DdjDeviceExecutionQueueFinish> selectDdjDeviceExecutionQueueFinishList(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
return ddjDeviceExecutionQueueFinishMapper.selectDdjDeviceExecutionQueueFinishList(ddjDeviceExecutionQueueFinish);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增堆垛机完成队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDdjDeviceExecutionQueueFinish(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
return ddjDeviceExecutionQueueFinishMapper.insertDdjDeviceExecutionQueueFinish(ddjDeviceExecutionQueueFinish);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改堆垛机完成队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueueFinish 堆垛机完成队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDdjDeviceExecutionQueueFinish(DdjDeviceExecutionQueueFinish ddjDeviceExecutionQueueFinish)
|
||||
{
|
||||
return ddjDeviceExecutionQueueFinishMapper.updateDdjDeviceExecutionQueueFinish(ddjDeviceExecutionQueueFinish);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机完成队列
|
||||
*
|
||||
* @param uuids 需要删除的堆垛机完成队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDdjDeviceExecutionQueueFinishByUuids(String[] uuids)
|
||||
{
|
||||
return ddjDeviceExecutionQueueFinishMapper.deleteDdjDeviceExecutionQueueFinishByUuids(uuids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除堆垛机完成队列信息
|
||||
*
|
||||
* @param uuid 堆垛机完成队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDdjDeviceExecutionQueueFinishByUuid(String uuid)
|
||||
{
|
||||
return ddjDeviceExecutionQueueFinishMapper.deleteDdjDeviceExecutionQueueFinishByUuid(uuid);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
package com.ruoyi.queue.ddj.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.queue.ddj.mapper.DdjDeviceExecutionQueueMapper;
|
||||
import com.ruoyi.queue.ddj.domain.DdjDeviceExecutionQueue;
|
||||
import com.ruoyi.queue.ddj.service.IDdjDeviceExecutionQueueService;
|
||||
|
||||
/**
|
||||
* 堆垛机执行队列Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@Service
|
||||
public class DdjDeviceExecutionQueueServiceImpl implements IDdjDeviceExecutionQueueService
|
||||
{
|
||||
@Autowired
|
||||
private DdjDeviceExecutionQueueMapper ddjDeviceExecutionQueueMapper;
|
||||
|
||||
/**
|
||||
* 查询堆垛机执行队列
|
||||
*
|
||||
* @param uuid 堆垛机执行队列主键
|
||||
* @return 堆垛机执行队列
|
||||
*/
|
||||
@Override
|
||||
public DdjDeviceExecutionQueue selectDdjDeviceExecutionQueueByUuid(String uuid)
|
||||
{
|
||||
return ddjDeviceExecutionQueueMapper.selectDdjDeviceExecutionQueueByUuid(uuid);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询堆垛机执行队列列表
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 堆垛机执行队列
|
||||
*/
|
||||
@Override
|
||||
public List<DdjDeviceExecutionQueue> selectDdjDeviceExecutionQueueList(DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
return ddjDeviceExecutionQueueMapper.selectDdjDeviceExecutionQueueList(ddjDeviceExecutionQueue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增堆垛机执行队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDdjDeviceExecutionQueue(DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
return ddjDeviceExecutionQueueMapper.insertDdjDeviceExecutionQueue(ddjDeviceExecutionQueue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改堆垛机执行队列
|
||||
*
|
||||
* @param ddjDeviceExecutionQueue 堆垛机执行队列
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDdjDeviceExecutionQueue(DdjDeviceExecutionQueue ddjDeviceExecutionQueue)
|
||||
{
|
||||
return ddjDeviceExecutionQueueMapper.updateDdjDeviceExecutionQueue(ddjDeviceExecutionQueue);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机执行队列
|
||||
*
|
||||
* @param uuids 需要删除的堆垛机执行队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDdjDeviceExecutionQueueByUuids(String[] uuids)
|
||||
{
|
||||
return ddjDeviceExecutionQueueMapper.deleteDdjDeviceExecutionQueueByUuids(uuids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除堆垛机执行队列信息
|
||||
*
|
||||
* @param uuid 堆垛机执行队列主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDdjDeviceExecutionQueueByUuid(String uuid)
|
||||
{
|
||||
return ddjDeviceExecutionQueueMapper.deleteDdjDeviceExecutionQueueByUuid(uuid);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DdjDeviceExecutionQueue selectDdjDeviceExecutionQueueByRwh(Long rwh) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user