接口记录表 wcs对外接口 绑定料架接口
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.ruoyi.out.controller;
|
||||
package com.ruoyi.out.exception.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
@@ -16,14 +16,14 @@ 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.out.domain.OutExceptionRecord;
|
||||
import com.ruoyi.out.service.IOutExceptionRecordService;
|
||||
import com.ruoyi.out.exception.domain.OutExceptionRecord;
|
||||
import com.ruoyi.out.exception.service.IOutExceptionRecordService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 出库异常Controller
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-01
|
||||
*/
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.ruoyi.out.domain;
|
||||
package com.ruoyi.out.exception.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
@@ -7,7 +7,7 @@ import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 出库异常对象 out_exception_record
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-01
|
||||
*/
|
||||
@@ -46,82 +46,82 @@ public class OutExceptionRecord extends BaseEntity
|
||||
@Excel(name = "备用3")
|
||||
private String spare3;
|
||||
|
||||
public void setOutGuid(Long outGuid)
|
||||
public void setOutGuid(Long outGuid)
|
||||
{
|
||||
this.outGuid = outGuid;
|
||||
}
|
||||
|
||||
public Long getOutGuid()
|
||||
public Long getOutGuid()
|
||||
{
|
||||
return outGuid;
|
||||
}
|
||||
|
||||
public void setWarehouseId(String warehouseId)
|
||||
public void setWarehouseId(String warehouseId)
|
||||
{
|
||||
this.warehouseId = warehouseId;
|
||||
}
|
||||
|
||||
public String getWarehouseId()
|
||||
public String getWarehouseId()
|
||||
{
|
||||
return warehouseId;
|
||||
}
|
||||
|
||||
public void setStockId(String stockId)
|
||||
public void setStockId(String stockId)
|
||||
{
|
||||
this.stockId = stockId;
|
||||
}
|
||||
|
||||
public String getStockId()
|
||||
public String getStockId()
|
||||
{
|
||||
return stockId;
|
||||
}
|
||||
|
||||
public void setTrayCode(String trayCode)
|
||||
public void setTrayCode(String trayCode)
|
||||
{
|
||||
this.trayCode = trayCode;
|
||||
}
|
||||
|
||||
public String getTrayCode()
|
||||
public String getTrayCode()
|
||||
{
|
||||
return trayCode;
|
||||
}
|
||||
|
||||
public void setProductId(String productId)
|
||||
public void setProductId(String productId)
|
||||
{
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
public String getProductId()
|
||||
public String getProductId()
|
||||
{
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setSpare1(String spare1)
|
||||
public void setSpare1(String spare1)
|
||||
{
|
||||
this.spare1 = spare1;
|
||||
}
|
||||
|
||||
public String getSpare1()
|
||||
public String getSpare1()
|
||||
{
|
||||
return spare1;
|
||||
}
|
||||
|
||||
public void setSpare2(String spare2)
|
||||
public void setSpare2(String spare2)
|
||||
{
|
||||
this.spare2 = spare2;
|
||||
}
|
||||
|
||||
public String getSpare2()
|
||||
public String getSpare2()
|
||||
{
|
||||
return spare2;
|
||||
}
|
||||
|
||||
public void setSpare3(String spare3)
|
||||
public void setSpare3(String spare3)
|
||||
{
|
||||
this.spare3 = spare3;
|
||||
}
|
||||
|
||||
public String getSpare3()
|
||||
public String getSpare3()
|
||||
{
|
||||
return spare3;
|
||||
}
|
||||
@@ -1,19 +1,20 @@
|
||||
package com.ruoyi.out.mapper;
|
||||
package com.ruoyi.out.exception.mapper;
|
||||
|
||||
import com.ruoyi.out.exception.domain.OutExceptionRecord;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.out.domain.OutExceptionRecord;
|
||||
|
||||
/**
|
||||
* 出库异常Mapper接口
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-01
|
||||
*/
|
||||
public interface OutExceptionRecordMapper
|
||||
public interface OutExceptionRecordMapper
|
||||
{
|
||||
/**
|
||||
* 查询出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuid 出库异常主键
|
||||
* @return 出库异常
|
||||
*/
|
||||
@@ -21,7 +22,7 @@ public interface OutExceptionRecordMapper
|
||||
|
||||
/**
|
||||
* 查询出库异常列表
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 出库异常集合
|
||||
*/
|
||||
@@ -29,7 +30,7 @@ public interface OutExceptionRecordMapper
|
||||
|
||||
/**
|
||||
* 新增出库异常
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -37,7 +38,7 @@ public interface OutExceptionRecordMapper
|
||||
|
||||
/**
|
||||
* 修改出库异常
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -45,7 +46,7 @@ public interface OutExceptionRecordMapper
|
||||
|
||||
/**
|
||||
* 删除出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuid 出库异常主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -53,7 +54,7 @@ public interface OutExceptionRecordMapper
|
||||
|
||||
/**
|
||||
* 批量删除出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -1,19 +1,19 @@
|
||||
package com.ruoyi.out.service;
|
||||
package com.ruoyi.out.exception.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.out.domain.OutExceptionRecord;
|
||||
import com.ruoyi.out.exception.domain.OutExceptionRecord;
|
||||
|
||||
/**
|
||||
* 出库异常Service接口
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-01
|
||||
*/
|
||||
public interface IOutExceptionRecordService
|
||||
public interface IOutExceptionRecordService
|
||||
{
|
||||
/**
|
||||
* 查询出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuid 出库异常主键
|
||||
* @return 出库异常
|
||||
*/
|
||||
@@ -21,7 +21,7 @@ public interface IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 查询出库异常列表
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 出库异常集合
|
||||
*/
|
||||
@@ -29,7 +29,7 @@ public interface IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 新增出库异常
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -37,7 +37,7 @@ public interface IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 修改出库异常
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -45,7 +45,7 @@ public interface IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 批量删除出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuids 需要删除的出库异常主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -53,7 +53,7 @@ public interface IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 删除出库异常信息
|
||||
*
|
||||
*
|
||||
* @param outGuid 出库异常主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -1,27 +1,27 @@
|
||||
package com.ruoyi.out.service.impl;
|
||||
package com.ruoyi.out.exception.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.out.mapper.OutExceptionRecordMapper;
|
||||
import com.ruoyi.out.domain.OutExceptionRecord;
|
||||
import com.ruoyi.out.service.IOutExceptionRecordService;
|
||||
import com.ruoyi.out.exception.mapper.OutExceptionRecordMapper;
|
||||
import com.ruoyi.out.exception.domain.OutExceptionRecord;
|
||||
import com.ruoyi.out.exception.service.IOutExceptionRecordService;
|
||||
|
||||
/**
|
||||
* 出库异常Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-01
|
||||
*/
|
||||
@Service
|
||||
public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
{
|
||||
@Autowired
|
||||
private OutExceptionRecordMapper outExceptionRecordMapper;
|
||||
|
||||
/**
|
||||
* 查询出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuid 出库异常主键
|
||||
* @return 出库异常
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 查询出库异常列表
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 出库异常
|
||||
*/
|
||||
@@ -45,7 +45,7 @@ public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 新增出库异常
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +57,7 @@ public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 修改出库异常
|
||||
*
|
||||
*
|
||||
* @param outExceptionRecord 出库异常
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +69,7 @@ public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 批量删除出库异常
|
||||
*
|
||||
*
|
||||
* @param outGuids 需要删除的出库异常主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +81,7 @@ public class OutExceptionRecordServiceImpl implements IOutExceptionRecordService
|
||||
|
||||
/**
|
||||
* 删除出库异常信息
|
||||
*
|
||||
*
|
||||
* @param outGuid 出库异常主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -0,0 +1,104 @@
|
||||
package com.ruoyi.out.submit.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.out.submit.domain.OutPickSubmit;
|
||||
import com.ruoyi.out.submit.service.IOutPickSubmitService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 出库拣选缓存记录Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-10
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/out/submit")
|
||||
public class OutPickSubmitController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IOutPickSubmitService outPickSubmitService;
|
||||
|
||||
/**
|
||||
* 查询出库拣选缓存记录列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('out:submit:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(OutPickSubmit outPickSubmit)
|
||||
{
|
||||
startPage();
|
||||
List<OutPickSubmit> list = outPickSubmitService.selectOutPickSubmitList(outPickSubmit);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出出库拣选缓存记录列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('out:submit:export')")
|
||||
@Log(title = "出库拣选缓存记录", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, OutPickSubmit outPickSubmit)
|
||||
{
|
||||
List<OutPickSubmit> list = outPickSubmitService.selectOutPickSubmitList(outPickSubmit);
|
||||
ExcelUtil<OutPickSubmit> util = new ExcelUtil<OutPickSubmit>(OutPickSubmit.class);
|
||||
util.exportExcel(response, list, "出库拣选缓存记录数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取出库拣选缓存记录详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('out:submit:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(outPickSubmitService.selectOutPickSubmitById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增出库拣选缓存记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('out:submit:add')")
|
||||
@Log(title = "出库拣选缓存记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody OutPickSubmit outPickSubmit)
|
||||
{
|
||||
return toAjax(outPickSubmitService.insertOutPickSubmit(outPickSubmit));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改出库拣选缓存记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('out:submit:edit')")
|
||||
@Log(title = "出库拣选缓存记录", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody OutPickSubmit outPickSubmit)
|
||||
{
|
||||
return toAjax(outPickSubmitService.updateOutPickSubmit(outPickSubmit));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除出库拣选缓存记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('out:submit:remove')")
|
||||
@Log(title = "出库拣选缓存记录", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(outPickSubmitService.deleteOutPickSubmitByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
package com.ruoyi.out.submit.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;
|
||||
|
||||
/**
|
||||
* 出库拣选缓存记录对象 out_pick_submit
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-10
|
||||
*/
|
||||
public class OutPickSubmit extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 托盘码 */
|
||||
@Excel(name = "托盘码")
|
||||
private String trayCode;
|
||||
|
||||
/** 任务id */
|
||||
@Excel(name = "任务id")
|
||||
private String jobId;
|
||||
|
||||
/** 子任务id */
|
||||
@Excel(name = "子任务id")
|
||||
private String jobDetailId;
|
||||
|
||||
/** 物料编码 */
|
||||
@Excel(name = "物料编码")
|
||||
private String productId;
|
||||
|
||||
/** 物料数量 */
|
||||
@Excel(name = "物料数量")
|
||||
private String quantit;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setTrayCode(String trayCode)
|
||||
{
|
||||
this.trayCode = trayCode;
|
||||
}
|
||||
|
||||
public String getTrayCode()
|
||||
{
|
||||
return trayCode;
|
||||
}
|
||||
|
||||
public void setJobId(String jobId)
|
||||
{
|
||||
this.jobId = jobId;
|
||||
}
|
||||
|
||||
public String getJobId()
|
||||
{
|
||||
return jobId;
|
||||
}
|
||||
|
||||
public void setJobDetailId(String jobDetailId)
|
||||
{
|
||||
this.jobDetailId = jobDetailId;
|
||||
}
|
||||
|
||||
public String getJobDetailId()
|
||||
{
|
||||
return jobDetailId;
|
||||
}
|
||||
|
||||
public void setProductId(String productId)
|
||||
{
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
public String getProductId()
|
||||
{
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setQuantit(String quantit)
|
||||
{
|
||||
this.quantit = quantit;
|
||||
}
|
||||
|
||||
public String getQuantit()
|
||||
{
|
||||
return quantit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("trayCode", getTrayCode())
|
||||
.append("jobId", getJobId())
|
||||
.append("jobDetailId", getJobDetailId())
|
||||
.append("productId", getProductId())
|
||||
.append("quantit", getQuantit())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.out.submit.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.out.submit.domain.OutPickSubmit;
|
||||
|
||||
/**
|
||||
* 出库拣选缓存记录Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-10
|
||||
*/
|
||||
public interface OutPickSubmitMapper
|
||||
{
|
||||
/**
|
||||
* 查询出库拣选缓存记录
|
||||
*
|
||||
* @param id 出库拣选缓存记录主键
|
||||
* @return 出库拣选缓存记录
|
||||
*/
|
||||
public OutPickSubmit selectOutPickSubmitById(Long id);
|
||||
|
||||
/**
|
||||
* 查询出库拣选缓存记录列表
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 出库拣选缓存记录集合
|
||||
*/
|
||||
public List<OutPickSubmit> selectOutPickSubmitList(OutPickSubmit outPickSubmit);
|
||||
|
||||
/**
|
||||
* 新增出库拣选缓存记录
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOutPickSubmit(OutPickSubmit outPickSubmit);
|
||||
|
||||
/**
|
||||
* 修改出库拣选缓存记录
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOutPickSubmit(OutPickSubmit outPickSubmit);
|
||||
|
||||
/**
|
||||
* 删除出库拣选缓存记录
|
||||
*
|
||||
* @param id 出库拣选缓存记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOutPickSubmitById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除出库拣选缓存记录
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOutPickSubmitByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.out.submit.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.out.submit.domain.OutPickSubmit;
|
||||
|
||||
/**
|
||||
* 出库拣选缓存记录Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-10
|
||||
*/
|
||||
public interface IOutPickSubmitService
|
||||
{
|
||||
/**
|
||||
* 查询出库拣选缓存记录
|
||||
*
|
||||
* @param id 出库拣选缓存记录主键
|
||||
* @return 出库拣选缓存记录
|
||||
*/
|
||||
public OutPickSubmit selectOutPickSubmitById(Long id);
|
||||
|
||||
/**
|
||||
* 查询出库拣选缓存记录列表
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 出库拣选缓存记录集合
|
||||
*/
|
||||
public List<OutPickSubmit> selectOutPickSubmitList(OutPickSubmit outPickSubmit);
|
||||
|
||||
/**
|
||||
* 新增出库拣选缓存记录
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertOutPickSubmit(OutPickSubmit outPickSubmit);
|
||||
|
||||
/**
|
||||
* 修改出库拣选缓存记录
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateOutPickSubmit(OutPickSubmit outPickSubmit);
|
||||
|
||||
/**
|
||||
* 批量删除出库拣选缓存记录
|
||||
*
|
||||
* @param ids 需要删除的出库拣选缓存记录主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOutPickSubmitByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除出库拣选缓存记录信息
|
||||
*
|
||||
* @param id 出库拣选缓存记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOutPickSubmitById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
package com.ruoyi.out.submit.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.out.submit.mapper.OutPickSubmitMapper;
|
||||
import com.ruoyi.out.submit.domain.OutPickSubmit;
|
||||
import com.ruoyi.out.submit.service.IOutPickSubmitService;
|
||||
|
||||
/**
|
||||
* 出库拣选缓存记录Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-10
|
||||
*/
|
||||
@Service
|
||||
public class OutPickSubmitServiceImpl implements IOutPickSubmitService
|
||||
{
|
||||
@Autowired
|
||||
private OutPickSubmitMapper outPickSubmitMapper;
|
||||
|
||||
/**
|
||||
* 查询出库拣选缓存记录
|
||||
*
|
||||
* @param id 出库拣选缓存记录主键
|
||||
* @return 出库拣选缓存记录
|
||||
*/
|
||||
@Override
|
||||
public OutPickSubmit selectOutPickSubmitById(Long id)
|
||||
{
|
||||
return outPickSubmitMapper.selectOutPickSubmitById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询出库拣选缓存记录列表
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 出库拣选缓存记录
|
||||
*/
|
||||
@Override
|
||||
public List<OutPickSubmit> selectOutPickSubmitList(OutPickSubmit outPickSubmit)
|
||||
{
|
||||
return outPickSubmitMapper.selectOutPickSubmitList(outPickSubmit);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增出库拣选缓存记录
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertOutPickSubmit(OutPickSubmit outPickSubmit)
|
||||
{
|
||||
return outPickSubmitMapper.insertOutPickSubmit(outPickSubmit);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改出库拣选缓存记录
|
||||
*
|
||||
* @param outPickSubmit 出库拣选缓存记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateOutPickSubmit(OutPickSubmit outPickSubmit)
|
||||
{
|
||||
return outPickSubmitMapper.updateOutPickSubmit(outPickSubmit);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除出库拣选缓存记录
|
||||
*
|
||||
* @param ids 需要删除的出库拣选缓存记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOutPickSubmitByIds(Long[] ids)
|
||||
{
|
||||
return outPickSubmitMapper.deleteOutPickSubmitByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除出库拣选缓存记录信息
|
||||
*
|
||||
* @param id 出库拣选缓存记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteOutPickSubmitById(Long id)
|
||||
{
|
||||
return outPickSubmitMapper.deleteOutPickSubmitById(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user