You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
2.3 KiB
Java
90 lines
2.3 KiB
Java
package com.glxp.api.dao.auth;
|
|
|
|
import com.glxp.api.dao.BaseMapperPlus;
|
|
import com.glxp.api.entity.auth.InvSpace;
|
|
import com.glxp.api.req.auth.FilterInvSpaceRequest;
|
|
import com.glxp.api.res.auth.InvSpaceResponse;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
@Mapper
|
|
public interface InvSpaceDao extends BaseMapperPlus<InvSpace, InvSpace, InvSpace> {
|
|
|
|
int deleteByPrimaryKey(Integer id);
|
|
|
|
int insertEntity(InvSpace record);
|
|
|
|
int insertSelective(InvSpace record);
|
|
|
|
InvSpace selectByPrimaryKey(Integer id);
|
|
|
|
int updateByPrimaryKeySelective(InvSpace record);
|
|
|
|
int updateByPrimaryKey(InvSpace record);
|
|
|
|
boolean updateBatch(List<InvSpace> list);
|
|
|
|
int batchInsert(@Param("list") List<InvSpace> list);
|
|
|
|
/**
|
|
* 查询货位列表
|
|
*
|
|
* @param filterInvSpaceRequest
|
|
* @return
|
|
*/
|
|
List<InvSpaceResponse> filterList(FilterInvSpaceRequest filterInvSpaceRequest);
|
|
|
|
/**
|
|
* 查询货位数据
|
|
*
|
|
* @param invSpace
|
|
* @return
|
|
*/
|
|
List<InvSpace> selectList(InvSpace invSpace);
|
|
|
|
/**
|
|
* 查询货位编码和名称
|
|
*
|
|
* @param filterInvSpaceRequest
|
|
* @return
|
|
*/
|
|
List<InvSpaceResponse> selectSpaceCodeList(FilterInvSpaceRequest filterInvSpaceRequest);
|
|
|
|
/**
|
|
* 根据货位码查询此
|
|
*
|
|
* @param code 货位码
|
|
* @param invStorageCode 仓库码
|
|
* @param invWarehouseCode 分库码
|
|
* @return
|
|
*/
|
|
String selectNameByCode(@Param("invStorageCode") String invStorageCode, @Param("invWarehouseCode") String invWarehouseCode, @Param("code") String code);
|
|
|
|
/**
|
|
* 根据分库编码查询货位信息
|
|
*
|
|
* @param warehouseCode
|
|
* @return
|
|
*/
|
|
List<InvSpace> selectByWarehouseCode(String warehouseCode);
|
|
|
|
/**
|
|
* 查询此货位是否存在,判断名称和编码
|
|
*
|
|
* @param invSpace
|
|
* @return
|
|
*/
|
|
List<InvSpace> selectExist(InvSpace invSpace);
|
|
|
|
/**
|
|
* 根据仓库,分库,货位编码查询货位信息
|
|
*
|
|
* @param invStorageCode
|
|
* @param invWarehouseCode
|
|
* @param inSpaceCode
|
|
* @return
|
|
*/
|
|
List<InvSpace> selectByInvCode(@Param("invStorageCode") String invStorageCode, @Param("invWarehouseCode") String invWarehouseCode, @Param("invSpaceCode") String invSpaceCode);
|
|
} |