wcs项目初始化
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
package com.ruoyi.bas.fluent.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.bas.fluent.domain.BasFluentFrame;
|
||||
|
||||
/**
|
||||
* 流利架位置管理Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-08
|
||||
*/
|
||||
public interface IBasFluentFrameService
|
||||
{
|
||||
/**
|
||||
* 查询流利架位置管理
|
||||
*
|
||||
* @param id 流利架位置管理主键
|
||||
* @return 流利架位置管理
|
||||
*/
|
||||
public BasFluentFrame selectBasFluentFrameById(Long id);
|
||||
|
||||
/**
|
||||
* 查询流利架位置管理列表
|
||||
*
|
||||
* @param basFluentFrame 流利架位置管理
|
||||
* @return 流利架位置管理集合
|
||||
*/
|
||||
public List<BasFluentFrame> selectBasFluentFrameList(BasFluentFrame basFluentFrame);
|
||||
|
||||
/**
|
||||
* 新增流利架位置管理
|
||||
*
|
||||
* @param basFluentFrame 流利架位置管理
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertBasFluentFrame(BasFluentFrame basFluentFrame);
|
||||
|
||||
/**
|
||||
* 修改流利架位置管理
|
||||
*
|
||||
* @param basFluentFrame 流利架位置管理
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateBasFluentFrame(BasFluentFrame basFluentFrame);
|
||||
|
||||
/**
|
||||
* 批量删除流利架位置管理
|
||||
*
|
||||
* @param ids 需要删除的流利架位置管理主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBasFluentFrameByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除流利架位置管理信息
|
||||
*
|
||||
* @param id 流利架位置管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteBasFluentFrameById(Long id);
|
||||
|
||||
/**
|
||||
* 获取分配数量最少得流利架货位
|
||||
* @param exitId
|
||||
* @return
|
||||
*/
|
||||
BasFluentFrame selectBasFluentFrameOrderByAllotNum(String exitId);
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
package com.ruoyi.bas.fluent.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.bas.fluent.mapper.BasFluentFrameMapper;
|
||||
import com.ruoyi.bas.fluent.domain.BasFluentFrame;
|
||||
import com.ruoyi.bas.fluent.service.IBasFluentFrameService;
|
||||
|
||||
/**
|
||||
* 流利架位置管理Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-08
|
||||
*/
|
||||
@Service
|
||||
public class BasFluentFrameServiceImpl implements IBasFluentFrameService
|
||||
{
|
||||
@Autowired
|
||||
private BasFluentFrameMapper basFluentFrameMapper;
|
||||
|
||||
/**
|
||||
* 查询流利架位置管理
|
||||
*
|
||||
* @param id 流利架位置管理主键
|
||||
* @return 流利架位置管理
|
||||
*/
|
||||
@Override
|
||||
public BasFluentFrame selectBasFluentFrameById(Long id)
|
||||
{
|
||||
return basFluentFrameMapper.selectBasFluentFrameById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询流利架位置管理列表
|
||||
*
|
||||
* @param basFluentFrame 流利架位置管理
|
||||
* @return 流利架位置管理
|
||||
*/
|
||||
@Override
|
||||
public List<BasFluentFrame> selectBasFluentFrameList(BasFluentFrame basFluentFrame)
|
||||
{
|
||||
return basFluentFrameMapper.selectBasFluentFrameList(basFluentFrame);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增流利架位置管理
|
||||
*
|
||||
* @param basFluentFrame 流利架位置管理
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertBasFluentFrame(BasFluentFrame basFluentFrame)
|
||||
{
|
||||
return basFluentFrameMapper.insertBasFluentFrame(basFluentFrame);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改流利架位置管理
|
||||
*
|
||||
* @param basFluentFrame 流利架位置管理
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateBasFluentFrame(BasFluentFrame basFluentFrame)
|
||||
{
|
||||
return basFluentFrameMapper.updateBasFluentFrame(basFluentFrame);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除流利架位置管理
|
||||
*
|
||||
* @param ids 需要删除的流利架位置管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBasFluentFrameByIds(Long[] ids)
|
||||
{
|
||||
return basFluentFrameMapper.deleteBasFluentFrameByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除流利架位置管理信息
|
||||
*
|
||||
* @param id 流利架位置管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteBasFluentFrameById(Long id)
|
||||
{
|
||||
return basFluentFrameMapper.deleteBasFluentFrameById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BasFluentFrame selectBasFluentFrameOrderByAllotNum(String exitId) {
|
||||
return basFluentFrameMapper.selectBasFluentFrameOrderByAllotNum(exitId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user