refactor: 注入修改
This commit is contained in:
parent
3f9cac0982
commit
ad4935021e
@ -1,9 +1,14 @@
|
|||||||
package com.ktg.mes.md.mapper;
|
package com.ktg.mes.md.mapper;
|
||||||
|
|
||||||
import com.ktg.mes.md.domain.MdItem;
|
import com.ktg.mes.md.domain.MdItem;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author luo26
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
public interface MdItemMapper {
|
public interface MdItemMapper {
|
||||||
/**
|
/**
|
||||||
* 根据条件查询物料编码
|
* 根据条件查询物料编码
|
||||||
|
@ -3,6 +3,7 @@ package com.ktg.mes.wm.mapper;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import com.ktg.mes.wm.domain.WmStorageArea;
|
import com.ktg.mes.wm.domain.WmStorageArea;
|
||||||
import com.ktg.mes.wm.domain.vo.AreaVo;
|
import com.ktg.mes.wm.domain.vo.AreaVo;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
import org.apache.ibatis.annotations.Select;
|
import org.apache.ibatis.annotations.Select;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -11,6 +12,7 @@ import org.apache.ibatis.annotations.Select;
|
|||||||
* @author yinjinlu
|
* @author yinjinlu
|
||||||
* @date 2022-05-08
|
* @date 2022-05-08
|
||||||
*/
|
*/
|
||||||
|
@Mapper
|
||||||
public interface WmStorageAreaMapper
|
public interface WmStorageAreaMapper
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -13,6 +13,7 @@ import com.ktg.mes.wm.domain.WmStorageArea;
|
|||||||
import com.ktg.mes.wm.domain.WmsInPlanDetailEntity;
|
import com.ktg.mes.wm.domain.WmsInPlanDetailEntity;
|
||||||
import com.ktg.mes.wm.mapper.WmStorageAreaMapper;
|
import com.ktg.mes.wm.mapper.WmStorageAreaMapper;
|
||||||
import com.ktg.mes.wm.service.IWmsInPlanDetailEntityService;
|
import com.ktg.mes.wm.service.IWmsInPlanDetailEntityService;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import com.ktg.mes.wm.mapper.WmsInTaskMapper;
|
import com.ktg.mes.wm.mapper.WmsInTaskMapper;
|
||||||
@ -26,15 +27,12 @@ import com.ktg.mes.wm.service.IWmsInTaskService;
|
|||||||
* @date 2024-11-01
|
* @date 2024-11-01
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
|
@RequiredArgsConstructor
|
||||||
public class WmsInTaskServiceImpl implements IWmsInTaskService {
|
public class WmsInTaskServiceImpl implements IWmsInTaskService {
|
||||||
@Autowired
|
private final WmsInTaskMapper wmsInTaskMapper;
|
||||||
private WmsInTaskMapper wmsInTaskMapper;
|
private final MdItemMapper mdItemMapper;
|
||||||
@Autowired
|
private final IWmsInPlanDetailEntityService wmsInPlanDetailEntityService;
|
||||||
private MdItemMapper mdItemMapper;
|
private final WmStorageAreaMapper wmStorageAreaMapper;
|
||||||
@Autowired
|
|
||||||
private IWmsInPlanDetailEntityService wmsInPlanDetailEntityService;
|
|
||||||
@Autowired
|
|
||||||
private WmStorageAreaMapper wmStorageAreaMapper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询入库任务
|
* 查询入库任务
|
||||||
|
Loading…
Reference in New Issue
Block a user