陶杰
2024-09-03 7fbb76204e3a145e54edb8f9bfcf002251acb34a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.mzl.flower.mapper.warehouse;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mzl.flower.dto.response.warehouse.WarehouseLocationDTO;
import com.mzl.flower.entity.warehouse.WarehouseLocation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface WarehouseLocationMapper extends BaseMapper<WarehouseLocation> {
 
    List<WarehouseLocationDTO> findAll(@Param("warehouseId") Long warehouseId, @Param("code") String code);
 
    WarehouseLocationDTO findById(@Param("id") Long id);
}