1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.jeecg.modules.base.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.base.entity.WarehouseLocation;
import org.jeecg.modules.base.mapper.WarehouseLocationMapper;
import org.jeecg.modules.base.service.IWarehouseLocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
/**
 * @Description: mom_base_warehouse_location
 * @Author: jeecg-boot
 * @Date:   2023-07-06
 * @Version: V1.0
 */
@Service
public class WarehouseLocationServiceImpl extends ServiceImpl<WarehouseLocationMapper, WarehouseLocation> implements IWarehouseLocationService {
    @Autowired
    private WarehouseLocationMapper warehouseLocationMapper;
    @Override
    public WarehouseLocation getByName(String name) {
        return warehouseLocationMapper.getByName(name);
    }
}