WarehouseMapper.java
830 Bytes
package com.huaheng.pc.config.warehouse.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.config.warehouse.domain.Warehouse;
import com.huaheng.pc.system.user.domain.SysUserWarehouse;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface WarehouseMapper extends BaseMapper<Warehouse> {
public List<SysUserWarehouse> wareHouseAll();
public List<Warehouse> selectWarehouseByUserId(Integer userId);
public List<Warehouse> selectWarehouseAll();
int companyCopy(@Param("warehouseCode") String warehouseCode, @Param("newWarehouseCode")String newWarehouseCode);
int userCopy(@Param("warehouseCode") String warehouseCode, @Param("newWarehouseCode")String newWarehouseCode);
List<Warehouse> selectListEntityByEqual(Warehouse condition);
}