parent
02dce1834f
commit
157b9871d1
1 changed files with 52 additions and 0 deletions
@ -0,0 +1,52 @@ |
|||||||
|
package org.springblade.wms.mapper; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||||
|
import org.apache.ibatis.annotations.Param; |
||||||
|
import org.springblade.wms.excel.StStorageLocationExcel; |
||||||
|
import org.springblade.wms.pojo.entity.StStorageLocation; |
||||||
|
import org.springblade.wms.pojo.vo.StStorageLocationVO; |
||||||
|
|
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
/** |
||||||
|
* @version 1.0 |
||||||
|
* @program: jonhon-mes-svr |
||||||
|
* @ClassName StStorageLocationMapper |
||||||
|
* @description: 库位维护表 Mapper 接口 |
||||||
|
* @autor: WuSiYu |
||||||
|
* @create 2025-12-18 14:44 |
||||||
|
**/ |
||||||
|
|
||||||
|
public interface StStorageLocationMapper extends BaseMapper<StStorageLocation> { |
||||||
|
|
||||||
|
/** |
||||||
|
* 自定义分页 |
||||||
|
* |
||||||
|
* @param page 分页参数 |
||||||
|
* @param stStorageLocation 查询参数 |
||||||
|
* @return List<StStorageLocationVO> |
||||||
|
*/ |
||||||
|
List<StStorageLocationVO> selectStStorageLocationPage(IPage page, StStorageLocationVO stStorageLocation); |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* 获取导出数据 |
||||||
|
* |
||||||
|
* @param queryWrapper 查询条件 |
||||||
|
* @return List<StStorageLocationExcel> |
||||||
|
*/ |
||||||
|
List<StStorageLocationExcel> exportStStorageLocation(@Param("ew") Wrapper<StStorageLocation> queryWrapper); |
||||||
|
|
||||||
|
List<StStorageLocation> selectListByShIdAndStockExists(@Param("shId") Long shId); |
||||||
|
|
||||||
|
StStorageLocation checkLocation(@Param("shId") Long shId, @Param("location") String location); |
||||||
|
|
||||||
|
StStorageLocation findByGoodsCode(@Param("goodsCode") String goodsCode); |
||||||
|
|
||||||
|
StStorageLocation findByLocation(String location); |
||||||
|
|
||||||
|
List<StStorageLocationVO> selectStStorageLocationAllPage(IPage<StStorageLocationVO> page, StStorageLocationVO stStorageLocation); |
||||||
|
} |
||||||
|
|
||||||
Loading…
Reference in new issue