WarehouseMapper.java
777 Bytes
package com.huaheng.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.system.api.domain.Warehouse;
import com.huaheng.system.domain.SysUserWarehouse;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface WarehouseMapper extends BaseMapper<Warehouse> {
List<SysUserWarehouse> wareHouseAll();
List<Warehouse> selectWarehouseByUserId(Long userId);
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);
}