feat: 自动装配
This commit is contained in:
parent
de7aa40751
commit
fbc5b94956
@ -157,6 +157,12 @@
|
||||
<version>2.2.9</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>annotationProcessor</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
@ -3,6 +3,7 @@ package com.ktg.mes.wm.mapper;
|
||||
import java.util.List;
|
||||
import com.ktg.mes.wm.domain.UcmCtBase;
|
||||
import com.ktg.mes.wm.domain.UcmCtMaterial;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 料箱管理Mapper接口
|
||||
@ -10,7 +11,8 @@ import com.ktg.mes.wm.domain.UcmCtMaterial;
|
||||
* @author yinjinlu
|
||||
* @date 2024-10-31
|
||||
*/
|
||||
public interface UcmCtBaseMapper
|
||||
@Mapper
|
||||
public interface UcmCtBaseMapper
|
||||
{
|
||||
/**
|
||||
* 查询料箱管理
|
||||
@ -20,6 +22,14 @@ public interface UcmCtBaseMapper
|
||||
*/
|
||||
public UcmCtBase selectUcmCtBaseByCtBaseId(String ctBaseId);
|
||||
|
||||
/**
|
||||
* 查询料箱管理
|
||||
*
|
||||
* @param code 物料code
|
||||
* @return 料箱管理
|
||||
*/
|
||||
public UcmCtBase selectUcmCtBaseByCode(String code);
|
||||
|
||||
/**
|
||||
* 查询料箱管理列表
|
||||
*
|
||||
|
@ -2,6 +2,7 @@ package com.ktg.mes.wm.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ktg.mes.wm.domain.WmsInPlanDetailEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 入库计划明细实体Mapper接口
|
||||
@ -9,7 +10,8 @@ import com.ktg.mes.wm.domain.WmsInPlanDetailEntity;
|
||||
* @author yinjinlu
|
||||
* @date 2024-11-05
|
||||
*/
|
||||
public interface WmsInPlanDetailEntityMapper
|
||||
@Mapper
|
||||
public interface WmsInPlanDetailEntityMapper
|
||||
{
|
||||
/**
|
||||
* 查询入库计划明细实体
|
||||
|
@ -3,6 +3,7 @@ package com.ktg.mes.wm.mapper;
|
||||
import java.util.List;
|
||||
import com.ktg.mes.wm.domain.WmsInPlan;
|
||||
import com.ktg.mes.wm.domain.WmsInPlanDetails;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 入库计划Mapper接口
|
||||
@ -10,7 +11,8 @@ import com.ktg.mes.wm.domain.WmsInPlanDetails;
|
||||
* @author yinjinlu
|
||||
* @date 2024-10-31
|
||||
*/
|
||||
public interface WmsInPlanMapper
|
||||
@Mapper
|
||||
public interface WmsInPlanMapper
|
||||
{
|
||||
/**
|
||||
* 查询入库计划
|
||||
|
@ -5,6 +5,7 @@ import java.util.List;
|
||||
import com.ktg.common.utils.DateUtils;
|
||||
import com.ktg.mes.wm.domain.WmsInPlanDetailEntity;
|
||||
import com.ktg.mes.wm.mapper.WmsInPlanDetailEntityMapper;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@ -24,12 +25,14 @@ import com.ktg.mes.wm.service.IWmsInPlanService;
|
||||
* @date 2024-10-31
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class WmsInPlanServiceImpl implements IWmsInPlanService {
|
||||
@Autowired
|
||||
private WmsInPlanMapper wmsInPlanMapper;
|
||||
|
||||
@Autowired
|
||||
private WmsInPlanDetailEntityMapper wmsInPlanDetailEntityMapper;
|
||||
private final WmsInPlanMapper wmsInPlanMapper;
|
||||
private final WmsInPlanDetailEntityMapper wmsInPlanDetailEntityMapper;
|
||||
private final UcmCtBaseMapper ucmCtBaseMapper;
|
||||
private final BaseKnifeServiceImpl baseKnifeService;
|
||||
private final IMdItemService mdItemService;
|
||||
private final WmStorageAreaServiceImpl wmStorageAreaService;
|
||||
|
||||
/**
|
||||
* 查询入库计划
|
||||
|
Loading…
Reference in New Issue
Block a user