diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/mapper/MdItemMapper.java b/ktg-mes/src/main/java/com/ktg/mes/md/mapper/MdItemMapper.java index e9473bb..c656404 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/mapper/MdItemMapper.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/mapper/MdItemMapper.java @@ -1,9 +1,14 @@ package com.ktg.mes.md.mapper; import com.ktg.mes.md.domain.MdItem; +import org.apache.ibatis.annotations.Mapper; import java.util.List; +/** + * @author luo26 + */ +@Mapper public interface MdItemMapper { /** * 根据条件查询物料编码 diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmStorageAreaMapper.java b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmStorageAreaMapper.java index 6253623..731290a 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmStorageAreaMapper.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmStorageAreaMapper.java @@ -3,6 +3,7 @@ package com.ktg.mes.wm.mapper; import java.util.List; import com.ktg.mes.wm.domain.WmStorageArea; import com.ktg.mes.wm.domain.vo.AreaVo; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; /** @@ -11,6 +12,7 @@ import org.apache.ibatis.annotations.Select; * @author yinjinlu * @date 2022-05-08 */ +@Mapper public interface WmStorageAreaMapper { /** diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInTaskServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInTaskServiceImpl.java index 183de07..7adcf0c 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInTaskServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInTaskServiceImpl.java @@ -13,6 +13,7 @@ import com.ktg.mes.wm.domain.WmStorageArea; import com.ktg.mes.wm.domain.WmsInPlanDetailEntity; import com.ktg.mes.wm.mapper.WmStorageAreaMapper; import com.ktg.mes.wm.service.IWmsInPlanDetailEntityService; +import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ktg.mes.wm.mapper.WmsInTaskMapper; @@ -26,15 +27,12 @@ import com.ktg.mes.wm.service.IWmsInTaskService; * @date 2024-11-01 */ @Service +@RequiredArgsConstructor public class WmsInTaskServiceImpl implements IWmsInTaskService { - @Autowired - private WmsInTaskMapper wmsInTaskMapper; - @Autowired - private MdItemMapper mdItemMapper; - @Autowired - private IWmsInPlanDetailEntityService wmsInPlanDetailEntityService; - @Autowired - private WmStorageAreaMapper wmStorageAreaMapper; + private final WmsInTaskMapper wmsInTaskMapper; + private final MdItemMapper mdItemMapper; + private final IWmsInPlanDetailEntityService wmsInPlanDetailEntityService; + private final WmStorageAreaMapper wmStorageAreaMapper; /** * 查询入库任务