项目初始化
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.device.DeviceCar.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.device.DeviceCar.domain.DeviceCar;
|
||||
import com.ruoyi.device.DeviceCar.service.IDeviceCarService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 设备信息Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-06-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/device/DeviceCar")
|
||||
public class DeviceCarController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDeviceCarService deviceCarService;
|
||||
|
||||
/**
|
||||
* 查询设备信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:DeviceCar:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(DeviceCar deviceCar)
|
||||
{
|
||||
startPage();
|
||||
List<DeviceCar> list = deviceCarService.selectDeviceCarList(deviceCar);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出设备信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:DeviceCar:export')")
|
||||
@Log(title = "设备信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, DeviceCar deviceCar)
|
||||
{
|
||||
List<DeviceCar> list = deviceCarService.selectDeviceCarList(deviceCar);
|
||||
ExcelUtil<DeviceCar> util = new ExcelUtil<DeviceCar>(DeviceCar.class);
|
||||
util.exportExcel(response, list, "设备信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取设备信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:DeviceCar:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(deviceCarService.selectDeviceCarById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增设备信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:DeviceCar:add')")
|
||||
@Log(title = "设备信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody DeviceCar deviceCar)
|
||||
{
|
||||
return toAjax(deviceCarService.insertDeviceCar(deviceCar));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改设备信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:DeviceCar:edit')")
|
||||
@Log(title = "设备信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody DeviceCar deviceCar)
|
||||
{
|
||||
return toAjax(deviceCarService.updateDeviceCar(deviceCar));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除设备信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:DeviceCar:remove')")
|
||||
@Log(title = "设备信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(deviceCarService.deleteDeviceCarByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
package com.ruoyi.device.DeviceCar.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;
|
||||
|
||||
/**
|
||||
* 设备信息对象 device_car
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-06-12
|
||||
*/
|
||||
public class DeviceCar extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 设备唯一编码 */
|
||||
@Excel(name = "设备唯一编码")
|
||||
private String deviceCode ;
|
||||
|
||||
/** 设备名称 */
|
||||
@Excel(name = "设备名称")
|
||||
private String name ;
|
||||
|
||||
/** 1-AGV 2-CTU*/
|
||||
@Excel(name = "1-AGV 2-CTU")
|
||||
private String type;
|
||||
|
||||
/** 设备IP */
|
||||
@Excel(name = "设备IP")
|
||||
private String ipAddress;
|
||||
|
||||
/** 关联缓冲区 */
|
||||
@Excel(name = "关联缓冲区")
|
||||
private String bufferAreaId ;
|
||||
|
||||
/** 0-F 1-T */
|
||||
@Excel(name = "0-F 1-T")
|
||||
private String isActive;
|
||||
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
/** 备用字段 */
|
||||
@Excel(name = "备用字段")
|
||||
private String spare1;
|
||||
|
||||
/** 备用字段 */
|
||||
@Excel(name = "备用字段")
|
||||
private String spare2;
|
||||
|
||||
/** 备用字段 */
|
||||
@Excel(name = "备用字段")
|
||||
private String spare3;
|
||||
|
||||
/** 备用字段 */
|
||||
@Excel(name = "备用字段")
|
||||
private String spare4;
|
||||
|
||||
/** 任务号 */
|
||||
@Excel(name = "任务号")
|
||||
private String taskNo;
|
||||
|
||||
/** 执行阶段 */
|
||||
@Excel(name = "执行阶段")
|
||||
private String zxjd;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setDeviceCode (String deviceCode )
|
||||
{
|
||||
this.deviceCode = deviceCode ;
|
||||
}
|
||||
|
||||
public String getDeviceCode ()
|
||||
{
|
||||
return deviceCode ;
|
||||
}
|
||||
|
||||
public void setName (String name )
|
||||
{
|
||||
this.name = name ;
|
||||
}
|
||||
|
||||
public String getName ()
|
||||
{
|
||||
return name ;
|
||||
}
|
||||
|
||||
public void setType(String type)
|
||||
{
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getType()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setIpAddress(String ipAddress)
|
||||
{
|
||||
this.ipAddress = ipAddress;
|
||||
}
|
||||
|
||||
public String getIpAddress()
|
||||
{
|
||||
return ipAddress;
|
||||
}
|
||||
|
||||
public void setBufferAreaId (String bufferAreaId )
|
||||
{
|
||||
this.bufferAreaId = bufferAreaId ;
|
||||
}
|
||||
|
||||
public String getBufferAreaId ()
|
||||
{
|
||||
return bufferAreaId ;
|
||||
}
|
||||
|
||||
public void setIsActive(String isActive)
|
||||
{
|
||||
this.isActive = isActive;
|
||||
}
|
||||
|
||||
public String getIsActive()
|
||||
{
|
||||
return isActive;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
public void setSpare4(String spare4)
|
||||
{
|
||||
this.spare4 = spare4;
|
||||
}
|
||||
|
||||
public String getSpare4()
|
||||
{
|
||||
return spare4;
|
||||
}
|
||||
|
||||
public void setTaskNo(String taskNo)
|
||||
{
|
||||
this.taskNo = taskNo;
|
||||
}
|
||||
|
||||
public String getTaskNo()
|
||||
{
|
||||
return taskNo;
|
||||
}
|
||||
|
||||
public void setZxjd(String zxjd)
|
||||
{
|
||||
this.zxjd = zxjd;
|
||||
}
|
||||
|
||||
public String getZxjd()
|
||||
{
|
||||
return zxjd;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("deviceCode ", getDeviceCode ())
|
||||
.append("name ", getName ())
|
||||
.append("type", getType())
|
||||
.append("ipAddress", getIpAddress())
|
||||
.append("bufferAreaId ", getBufferAreaId ())
|
||||
.append("isActive", getIsActive())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("status", getStatus())
|
||||
.append("spare1", getSpare1())
|
||||
.append("spare2", getSpare2())
|
||||
.append("spare3", getSpare3())
|
||||
.append("spare4", getSpare4())
|
||||
.append("taskNo", getTaskNo())
|
||||
.append("zxjd", getZxjd())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.device.DeviceCar.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.device.DeviceCar.domain.DeviceCar;
|
||||
|
||||
/**
|
||||
* 设备信息Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-06-12
|
||||
*/
|
||||
public interface DeviceCarMapper
|
||||
{
|
||||
/**
|
||||
* 查询设备信息
|
||||
*
|
||||
* @param id 设备信息主键
|
||||
* @return 设备信息
|
||||
*/
|
||||
public DeviceCar selectDeviceCarById(Long id);
|
||||
|
||||
/**
|
||||
* 查询设备信息列表
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 设备信息集合
|
||||
*/
|
||||
public List<DeviceCar> selectDeviceCarList(DeviceCar deviceCar);
|
||||
|
||||
/**
|
||||
* 新增设备信息
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDeviceCar(DeviceCar deviceCar);
|
||||
|
||||
/**
|
||||
* 修改设备信息
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDeviceCar(DeviceCar deviceCar);
|
||||
|
||||
/**
|
||||
* 删除设备信息
|
||||
*
|
||||
* @param id 设备信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceCarById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除设备信息
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceCarByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.device.DeviceCar.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.device.DeviceCar.domain.DeviceCar;
|
||||
|
||||
/**
|
||||
* 设备信息Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-06-12
|
||||
*/
|
||||
public interface IDeviceCarService
|
||||
{
|
||||
/**
|
||||
* 查询设备信息
|
||||
*
|
||||
* @param id 设备信息主键
|
||||
* @return 设备信息
|
||||
*/
|
||||
public DeviceCar selectDeviceCarById(Long id);
|
||||
|
||||
/**
|
||||
* 查询设备信息列表
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 设备信息集合
|
||||
*/
|
||||
public List<DeviceCar> selectDeviceCarList(DeviceCar deviceCar);
|
||||
|
||||
/**
|
||||
* 新增设备信息
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDeviceCar(DeviceCar deviceCar);
|
||||
|
||||
/**
|
||||
* 修改设备信息
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDeviceCar(DeviceCar deviceCar);
|
||||
|
||||
/**
|
||||
* 批量删除设备信息
|
||||
*
|
||||
* @param ids 需要删除的设备信息主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceCarByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除设备信息信息
|
||||
*
|
||||
* @param id 设备信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceCarById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
package com.ruoyi.device.DeviceCar.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.device.DeviceCar.mapper.DeviceCarMapper;
|
||||
import com.ruoyi.device.DeviceCar.domain.DeviceCar;
|
||||
import com.ruoyi.device.DeviceCar.service.IDeviceCarService;
|
||||
|
||||
/**
|
||||
* 设备信息Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-06-12
|
||||
*/
|
||||
@Service
|
||||
public class DeviceCarServiceImpl implements IDeviceCarService
|
||||
{
|
||||
@Autowired
|
||||
private DeviceCarMapper deviceCarMapper;
|
||||
|
||||
/**
|
||||
* 查询设备信息
|
||||
*
|
||||
* @param id 设备信息主键
|
||||
* @return 设备信息
|
||||
*/
|
||||
@Override
|
||||
public DeviceCar selectDeviceCarById(Long id)
|
||||
{
|
||||
return deviceCarMapper.selectDeviceCarById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询设备信息列表
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 设备信息
|
||||
*/
|
||||
@Override
|
||||
public List<DeviceCar> selectDeviceCarList(DeviceCar deviceCar)
|
||||
{
|
||||
return deviceCarMapper.selectDeviceCarList(deviceCar);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增设备信息
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDeviceCar(DeviceCar deviceCar)
|
||||
{
|
||||
deviceCar.setCreateTime(DateUtils.getNowDate());
|
||||
return deviceCarMapper.insertDeviceCar(deviceCar);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改设备信息
|
||||
*
|
||||
* @param deviceCar 设备信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDeviceCar(DeviceCar deviceCar)
|
||||
{
|
||||
return deviceCarMapper.updateDeviceCar(deviceCar);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除设备信息
|
||||
*
|
||||
* @param ids 需要删除的设备信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDeviceCarByIds(Long[] ids)
|
||||
{
|
||||
return deviceCarMapper.deleteDeviceCarByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除设备信息信息
|
||||
*
|
||||
* @param id 设备信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDeviceCarById(Long id)
|
||||
{
|
||||
return deviceCarMapper.deleteDeviceCarById(id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.device.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.device.ddj.domain.MsgDdj;
|
||||
import com.ruoyi.device.ddj.service.IMsgDdjService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 堆垛机状态表Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/device/ddj")
|
||||
public class MsgDdjController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IMsgDdjService msgDdjService;
|
||||
|
||||
/**
|
||||
* 查询堆垛机状态表列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ddj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(MsgDdj msgDdj)
|
||||
{
|
||||
startPage();
|
||||
List<MsgDdj> list = msgDdjService.selectMsgDdjList(msgDdj);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出堆垛机状态表列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ddj:export')")
|
||||
@Log(title = "堆垛机状态表", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, MsgDdj msgDdj)
|
||||
{
|
||||
List<MsgDdj> list = msgDdjService.selectMsgDdjList(msgDdj);
|
||||
ExcelUtil<MsgDdj> util = new ExcelUtil<MsgDdj>(MsgDdj.class);
|
||||
util.exportExcel(response, list, "堆垛机状态表数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取堆垛机状态表详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ddj:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(msgDdjService.selectMsgDdjById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增堆垛机状态表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ddj:add')")
|
||||
@Log(title = "堆垛机状态表", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody MsgDdj msgDdj)
|
||||
{
|
||||
return toAjax(msgDdjService.insertMsgDdj(msgDdj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改堆垛机状态表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ddj:edit')")
|
||||
@Log(title = "堆垛机状态表", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody MsgDdj msgDdj)
|
||||
{
|
||||
return toAjax(msgDdjService.updateMsgDdj(msgDdj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除堆垛机状态表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ddj:remove')")
|
||||
@Log(title = "堆垛机状态表", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(msgDdjService.deleteMsgDdjByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
package com.ruoyi.device.ddj.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.ToString;
|
||||
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;
|
||||
|
||||
/**
|
||||
* 堆垛机状态表对象 msg_ddj
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@ToString
|
||||
public class MsgDdj extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 堆垛机名称 */
|
||||
@Excel(name = "堆垛机名称")
|
||||
private String name;
|
||||
|
||||
/** 任务号 */
|
||||
@Excel(name = "任务号")
|
||||
private Long rwh;
|
||||
|
||||
/** 阶段标志 */
|
||||
@Excel(name = "阶段标志")
|
||||
private Integer jdbz;
|
||||
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private Integer sbzt;
|
||||
|
||||
/** 操作方式 */
|
||||
@Excel(name = "操作方式")
|
||||
private Integer czfs;
|
||||
|
||||
/** 允许下发 */
|
||||
@Excel(name = "允许下发")
|
||||
private Integer yxxf;
|
||||
|
||||
/** 原排 */
|
||||
@Excel(name = "原排")
|
||||
private Integer yph;
|
||||
|
||||
/** 原列 */
|
||||
@Excel(name = "原列")
|
||||
private Integer ylh;
|
||||
|
||||
/** 原层 */
|
||||
@Excel(name = "原层")
|
||||
private Integer ych;
|
||||
|
||||
/** 目标排 */
|
||||
@Excel(name = "目标排")
|
||||
private Integer mbph;
|
||||
|
||||
/** 目标列 */
|
||||
@Excel(name = "目标列")
|
||||
private Integer mblh;
|
||||
|
||||
/** 目标层 */
|
||||
@Excel(name = "目标层")
|
||||
private Integer mbch;
|
||||
|
||||
/** 心跳信号 */
|
||||
@Excel(name = "心跳信号")
|
||||
private Integer xtxh;
|
||||
|
||||
/** 当前巷道 */
|
||||
@Excel(name = "当前巷道")
|
||||
private Integer dqxd;
|
||||
|
||||
/** 货叉状态 */
|
||||
@Excel(name = "货叉状态")
|
||||
private Integer hczt;
|
||||
|
||||
/** 备用字段1 */
|
||||
@Excel(name = "备用字段1")
|
||||
private Integer spare1;
|
||||
|
||||
/** 备用字段2 */
|
||||
@Excel(name = "备用字段2")
|
||||
private Integer spare2;
|
||||
|
||||
/** 备用字段3 */
|
||||
@Excel(name = "备用字段3")
|
||||
private Integer spare3;
|
||||
|
||||
private String plcDbReadAddress;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.device.ddj.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.device.ddj.domain.MsgDdj;
|
||||
|
||||
/**
|
||||
* 堆垛机状态表Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public interface MsgDdjMapper
|
||||
{
|
||||
/**
|
||||
* 查询堆垛机状态表
|
||||
*
|
||||
* @param id 堆垛机状态表主键
|
||||
* @return 堆垛机状态表
|
||||
*/
|
||||
public MsgDdj selectMsgDdjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询堆垛机状态表列表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 堆垛机状态表集合
|
||||
*/
|
||||
public List<MsgDdj> selectMsgDdjList(MsgDdj msgDdj);
|
||||
|
||||
/**
|
||||
* 新增堆垛机状态表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMsgDdj(MsgDdj msgDdj);
|
||||
|
||||
/**
|
||||
* 修改堆垛机状态表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMsgDdj(MsgDdj msgDdj);
|
||||
|
||||
/**
|
||||
* 删除堆垛机状态表
|
||||
*
|
||||
* @param id 堆垛机状态表主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMsgDdjById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机状态表
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMsgDdjByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.device.ddj.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.device.ddj.domain.MsgDdj;
|
||||
|
||||
/**
|
||||
* 堆垛机状态表Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public interface IMsgDdjService
|
||||
{
|
||||
/**
|
||||
* 查询堆垛机状态表
|
||||
*
|
||||
* @param id 堆垛机状态表主键
|
||||
* @return 堆垛机状态表
|
||||
*/
|
||||
public MsgDdj selectMsgDdjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询堆垛机状态表列表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 堆垛机状态表集合
|
||||
*/
|
||||
public List<MsgDdj> selectMsgDdjList(MsgDdj msgDdj);
|
||||
|
||||
/**
|
||||
* 新增堆垛机状态表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMsgDdj(MsgDdj msgDdj);
|
||||
|
||||
/**
|
||||
* 修改堆垛机状态表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMsgDdj(MsgDdj msgDdj);
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机状态表
|
||||
*
|
||||
* @param ids 需要删除的堆垛机状态表主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMsgDdjByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除堆垛机状态表信息
|
||||
*
|
||||
* @param id 堆垛机状态表主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMsgDdjById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.ruoyi.device.ddj.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.device.ddj.mapper.MsgDdjMapper;
|
||||
import com.ruoyi.device.ddj.domain.MsgDdj;
|
||||
import com.ruoyi.device.ddj.service.IMsgDdjService;
|
||||
|
||||
/**
|
||||
* 堆垛机状态表Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
@Service
|
||||
public class MsgDdjServiceImpl implements IMsgDdjService
|
||||
{
|
||||
@Autowired
|
||||
private MsgDdjMapper msgDdjMapper;
|
||||
|
||||
/**
|
||||
* 查询堆垛机状态表
|
||||
*
|
||||
* @param id 堆垛机状态表主键
|
||||
* @return 堆垛机状态表
|
||||
*/
|
||||
@Override
|
||||
public MsgDdj selectMsgDdjById(Long id)
|
||||
{
|
||||
return msgDdjMapper.selectMsgDdjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询堆垛机状态表列表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 堆垛机状态表
|
||||
*/
|
||||
@Override
|
||||
public List<MsgDdj> selectMsgDdjList(MsgDdj msgDdj)
|
||||
{
|
||||
return msgDdjMapper.selectMsgDdjList(msgDdj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增堆垛机状态表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertMsgDdj(MsgDdj msgDdj)
|
||||
{
|
||||
return msgDdjMapper.insertMsgDdj(msgDdj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改堆垛机状态表
|
||||
*
|
||||
* @param msgDdj 堆垛机状态表
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateMsgDdj(MsgDdj msgDdj)
|
||||
{
|
||||
return msgDdjMapper.updateMsgDdj(msgDdj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除堆垛机状态表
|
||||
*
|
||||
* @param ids 需要删除的堆垛机状态表主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteMsgDdjByIds(Long[] ids)
|
||||
{
|
||||
return msgDdjMapper.deleteMsgDdjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除堆垛机状态表信息
|
||||
*
|
||||
* @param id 堆垛机状态表主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteMsgDdjById(Long id)
|
||||
{
|
||||
return msgDdjMapper.deleteMsgDdjById(id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.device.ssj.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.device.ssj.domain.DeviceSsj;
|
||||
import com.ruoyi.device.ssj.service.IDeviceSsjService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 输送机Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/device/ssj")
|
||||
public class DeviceSsjController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDeviceSsjService deviceSsjService;
|
||||
|
||||
/**
|
||||
* 查询输送机列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ssj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(DeviceSsj deviceSsj)
|
||||
{
|
||||
startPage();
|
||||
List<DeviceSsj> list = deviceSsjService.selectDeviceSsjList(deviceSsj);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出输送机列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ssj:export')")
|
||||
@Log(title = "输送机", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, DeviceSsj deviceSsj)
|
||||
{
|
||||
List<DeviceSsj> list = deviceSsjService.selectDeviceSsjList(deviceSsj);
|
||||
ExcelUtil<DeviceSsj> util = new ExcelUtil<DeviceSsj>(DeviceSsj.class);
|
||||
util.exportExcel(response, list, "输送机数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取输送机详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ssj:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(deviceSsjService.selectDeviceSsjById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增输送机
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ssj:add')")
|
||||
@Log(title = "输送机", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody DeviceSsj deviceSsj)
|
||||
{
|
||||
return toAjax(deviceSsjService.insertDeviceSsj(deviceSsj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改输送机
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ssj:edit')")
|
||||
@Log(title = "输送机", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody DeviceSsj deviceSsj)
|
||||
{
|
||||
return toAjax(deviceSsjService.updateDeviceSsj(deviceSsj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除输送机
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('device:ssj:remove')")
|
||||
@Log(title = "输送机", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(deviceSsjService.deleteDeviceSsjByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package com.ruoyi.device.ssj.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
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;
|
||||
|
||||
/**
|
||||
* 输送机对象 device_ssj
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-04
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class DeviceSsj extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 设备唯一编码 */
|
||||
@Excel(name = "设备唯一编码")
|
||||
private String deviceCode ;
|
||||
|
||||
/** 设备名称 */
|
||||
@Excel(name = "设备名称")
|
||||
private String name ;
|
||||
|
||||
/** 类型 */
|
||||
@Excel(name = "类型")
|
||||
private String type;
|
||||
|
||||
/** 设备IP */
|
||||
@Excel(name = "设备IP")
|
||||
private String ipAddress;
|
||||
|
||||
/** PLC读取地址 */
|
||||
@Excel(name = "PLC读取地址")
|
||||
private String plcDbReadAddress;
|
||||
|
||||
/** 0-F 1-T */
|
||||
@Excel(name = "0-F 1-T")
|
||||
private String isActive;
|
||||
|
||||
/** PLC写入地址 */
|
||||
@Excel(name = "PLC写入地址")
|
||||
private String plcDbWriteAddress;
|
||||
|
||||
/** 入库请求 */
|
||||
@Excel(name = "入库请求")
|
||||
private int rkqq;
|
||||
|
||||
/** 空闲 */
|
||||
@Excel(name = "空闲")
|
||||
private int kx;
|
||||
|
||||
/** 到位 */
|
||||
@Excel(name = "到位")
|
||||
private int dw;
|
||||
|
||||
/** 条码 */
|
||||
@Excel(name = "条码")
|
||||
private String trayCode;
|
||||
|
||||
/** 任务号 */
|
||||
@Excel(name = "任务号")
|
||||
private int taskNo;
|
||||
|
||||
@Excel(name = "异常")
|
||||
private int exception;
|
||||
|
||||
@Excel(name = "托盘尺寸")
|
||||
private int traySize;
|
||||
|
||||
@Excel(name="允许放货")
|
||||
private int allowPut;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.device.ssj.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.device.ssj.domain.DeviceSsj;
|
||||
|
||||
/**
|
||||
* 输送机Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-04
|
||||
*/
|
||||
public interface DeviceSsjMapper
|
||||
{
|
||||
/**
|
||||
* 查询输送机
|
||||
*
|
||||
* @param id 输送机主键
|
||||
* @return 输送机
|
||||
*/
|
||||
public DeviceSsj selectDeviceSsjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询输送机列表
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 输送机集合
|
||||
*/
|
||||
public List<DeviceSsj> selectDeviceSsjList(DeviceSsj deviceSsj);
|
||||
|
||||
/**
|
||||
* 新增输送机
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDeviceSsj(DeviceSsj deviceSsj);
|
||||
|
||||
/**
|
||||
* 修改输送机
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDeviceSsj(DeviceSsj deviceSsj);
|
||||
|
||||
/**
|
||||
* 删除输送机
|
||||
*
|
||||
* @param id 输送机主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceSsjById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除输送机
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceSsjByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.device.ssj.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.device.ssj.domain.DeviceSsj;
|
||||
|
||||
/**
|
||||
* 输送机Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-04
|
||||
*/
|
||||
public interface IDeviceSsjService
|
||||
{
|
||||
/**
|
||||
* 查询输送机
|
||||
*
|
||||
* @param id 输送机主键
|
||||
* @return 输送机
|
||||
*/
|
||||
public DeviceSsj selectDeviceSsjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询输送机列表
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 输送机集合
|
||||
*/
|
||||
public List<DeviceSsj> selectDeviceSsjList(DeviceSsj deviceSsj);
|
||||
|
||||
/**
|
||||
* 新增输送机
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDeviceSsj(DeviceSsj deviceSsj);
|
||||
|
||||
/**
|
||||
* 修改输送机
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDeviceSsj(DeviceSsj deviceSsj);
|
||||
|
||||
/**
|
||||
* 批量删除输送机
|
||||
*
|
||||
* @param ids 需要删除的输送机主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceSsjByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除输送机信息
|
||||
*
|
||||
* @param id 输送机主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceSsjById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
package com.ruoyi.device.ssj.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.device.ssj.mapper.DeviceSsjMapper;
|
||||
import com.ruoyi.device.ssj.domain.DeviceSsj;
|
||||
import com.ruoyi.device.ssj.service.IDeviceSsjService;
|
||||
|
||||
/**
|
||||
* 输送机Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-04
|
||||
*/
|
||||
@Service
|
||||
public class DeviceSsjServiceImpl implements IDeviceSsjService
|
||||
{
|
||||
@Autowired
|
||||
private DeviceSsjMapper deviceSsjMapper;
|
||||
|
||||
/**
|
||||
* 查询输送机
|
||||
*
|
||||
* @param id 输送机主键
|
||||
* @return 输送机
|
||||
*/
|
||||
@Override
|
||||
public DeviceSsj selectDeviceSsjById(Long id)
|
||||
{
|
||||
return deviceSsjMapper.selectDeviceSsjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询输送机列表
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 输送机
|
||||
*/
|
||||
@Override
|
||||
public List<DeviceSsj> selectDeviceSsjList(DeviceSsj deviceSsj)
|
||||
{
|
||||
return deviceSsjMapper.selectDeviceSsjList(deviceSsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增输送机
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDeviceSsj(DeviceSsj deviceSsj)
|
||||
{
|
||||
deviceSsj.setCreateTime(DateUtils.getNowDate());
|
||||
return deviceSsjMapper.insertDeviceSsj(deviceSsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改输送机
|
||||
*
|
||||
* @param deviceSsj 输送机
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDeviceSsj(DeviceSsj deviceSsj)
|
||||
{
|
||||
return deviceSsjMapper.updateDeviceSsj(deviceSsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除输送机
|
||||
*
|
||||
* @param ids 需要删除的输送机主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDeviceSsjByIds(Long[] ids)
|
||||
{
|
||||
return deviceSsjMapper.deleteDeviceSsjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除输送机信息
|
||||
*
|
||||
* @param id 输送机主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDeviceSsjById(Long id)
|
||||
{
|
||||
return deviceSsjMapper.deleteDeviceSsjById(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user