refactor: 设置lombok
This commit is contained in:
parent
fbe60c4e25
commit
f5908f1ce4
@ -12,6 +12,7 @@ import com.ktg.mes.wm.domain.WmStorageArea;
|
|||||||
import com.ktg.mes.wm.mapper.WmStorageAreaMapper;
|
import com.ktg.mes.wm.mapper.WmStorageAreaMapper;
|
||||||
import com.ktg.mes.wm.mapper.WmStorageLocationMapper;
|
import com.ktg.mes.wm.mapper.WmStorageLocationMapper;
|
||||||
import com.ktg.mes.wm.mapper.WmWarehouseMapper;
|
import com.ktg.mes.wm.mapper.WmWarehouseMapper;
|
||||||
|
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 org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
@ -28,39 +29,17 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
* @date 2024-11-01
|
* @date 2024-11-01
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
|
@RequiredArgsConstructor
|
||||||
public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
||||||
@Autowired
|
private final WmsOutPlanMapper wmsOutPlanMapper;
|
||||||
private WmsOutPlanMapper wmsOutPlanMapper;
|
private final WmsOutPlanDetailEntityMapper wmsOutPlanDetailEntityMapper;
|
||||||
|
private final WmsOutTaskMapper wmsOutTaskMapper;
|
||||||
@Autowired
|
private final BaseKnifeMapper baseKnifeMapper;
|
||||||
private WmsOutPlanDetailEntityMapper wmsOutPlanDetailEntityMapper;
|
private final WmsBusinessTypeMapper wmsBusinessTypeMapper;
|
||||||
|
private final MdItemMapper mdItemMapper;
|
||||||
@Autowired
|
private final AP0AEMapper ap0AEMapper;
|
||||||
private WmsOutTaskMapper wmsOutTaskMapper;
|
private final WmStorageAreaMapper wmStorageAreaMapper;
|
||||||
|
private final InventoryAdjustmentMapper inventoryAdjustmentMapper;
|
||||||
@Autowired
|
|
||||||
private BaseKnifeMapper baseKnifeMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private WmsBusinessTypeMapper wmsBusinessTypeMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private MdItemMapper mdItemMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private AP0AEMapper ap0AEMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private WmWarehouseMapper wmWarehouseMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private WmStorageLocationMapper wmStorageLocationMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private WmStorageAreaMapper wmStorageAreaMapper;
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private InventoryAdjustmentMapper inventoryAdjustmentMapper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询出库计划管理
|
* 查询出库计划管理
|
||||||
|
@ -1,20 +1,22 @@
|
|||||||
package com.ktg.mes.wm.mapper;
|
package com.ktg.mes.wm.mapper;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.ktg.mes.wm.domain.WmStorageLocation;
|
import com.ktg.mes.wm.domain.WmStorageLocation;
|
||||||
import com.ktg.mes.wm.domain.vo.WmStorageLocationVo;
|
import com.ktg.mes.wm.domain.vo.WmStorageLocationVo;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 库区设置Mapper接口
|
* 库区设置Mapper接口
|
||||||
*
|
*
|
||||||
* @author yinjinlu
|
* @author yinjinlu
|
||||||
* @date 2022-05-07
|
* @date 2022-05-07
|
||||||
*/
|
*/
|
||||||
public interface WmStorageLocationMapper
|
@Mapper
|
||||||
{
|
public interface WmStorageLocationMapper {
|
||||||
/**
|
/**
|
||||||
* 查询库区设置
|
* 查询库区设置
|
||||||
*
|
*
|
||||||
* @param locationId 库区设置主键
|
* @param locationId 库区设置主键
|
||||||
* @return 库区设置
|
* @return 库区设置
|
||||||
*/
|
*/
|
||||||
@ -30,6 +32,7 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据库区编码查询库区
|
* 根据库区编码查询库区
|
||||||
|
*
|
||||||
* @param locationCode
|
* @param locationCode
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@ -37,7 +40,7 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询库区设置列表
|
* 查询库区设置列表
|
||||||
*
|
*
|
||||||
* @param wmStorageLocation 库区设置
|
* @param wmStorageLocation 库区设置
|
||||||
* @return 库区设置集合
|
* @return 库区设置集合
|
||||||
*/
|
*/
|
||||||
@ -53,13 +56,13 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
|
|
||||||
public WmStorageLocation checkLocationCodeUnique(WmStorageLocation wmStorageLocation);
|
public WmStorageLocation checkLocationCodeUnique(WmStorageLocation wmStorageLocation);
|
||||||
public WmStorageLocation checkLocationNameUnique(WmStorageLocation wmStorageLocation);
|
|
||||||
|
|
||||||
|
public WmStorageLocation checkLocationNameUnique(WmStorageLocation wmStorageLocation);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增库区设置
|
* 新增库区设置
|
||||||
*
|
*
|
||||||
* @param wmStorageLocation 库区设置
|
* @param wmStorageLocation 库区设置
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -67,7 +70,7 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改库区设置
|
* 修改库区设置
|
||||||
*
|
*
|
||||||
* @param wmStorageLocation 库区设置
|
* @param wmStorageLocation 库区设置
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -75,7 +78,7 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除库区设置
|
* 删除库区设置
|
||||||
*
|
*
|
||||||
* @param locationId 库区设置主键
|
* @param locationId 库区设置主键
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -83,7 +86,7 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除库区设置
|
* 批量删除库区设置
|
||||||
*
|
*
|
||||||
* @param locationIds 需要删除的数据主键集合
|
* @param locationIds 需要删除的数据主键集合
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -91,6 +94,7 @@ public interface WmStorageLocationMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据仓库删除对应的库区
|
* 根据仓库删除对应的库区
|
||||||
|
*
|
||||||
* @param warehouseId
|
* @param warehouseId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -1,19 +1,21 @@
|
|||||||
package com.ktg.mes.wm.mapper;
|
package com.ktg.mes.wm.mapper;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.ktg.mes.wm.domain.WmWarehouse;
|
import com.ktg.mes.wm.domain.WmWarehouse;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 仓库设置Mapper接口
|
* 仓库设置Mapper接口
|
||||||
*
|
*
|
||||||
* @author yinjinlu
|
* @author yinjinlu
|
||||||
* @date 2022-05-07
|
* @date 2022-05-07
|
||||||
*/
|
*/
|
||||||
public interface WmWarehouseMapper
|
@Mapper
|
||||||
{
|
public interface WmWarehouseMapper {
|
||||||
/**
|
/**
|
||||||
* 查询仓库设置
|
* 查询仓库设置
|
||||||
*
|
*
|
||||||
* @param warehouseId 仓库设置主键
|
* @param warehouseId 仓库设置主键
|
||||||
* @return 仓库设置
|
* @return 仓库设置
|
||||||
*/
|
*/
|
||||||
@ -21,6 +23,7 @@ public interface WmWarehouseMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据编码查询仓库
|
* 根据编码查询仓库
|
||||||
|
*
|
||||||
* @param warehouseCdoe
|
* @param warehouseCdoe
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@ -29,7 +32,7 @@ public interface WmWarehouseMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询仓库设置列表
|
* 查询仓库设置列表
|
||||||
*
|
*
|
||||||
* @param wmWarehouse 仓库设置
|
* @param wmWarehouse 仓库设置
|
||||||
* @return 仓库设置集合
|
* @return 仓库设置集合
|
||||||
*/
|
*/
|
||||||
@ -38,11 +41,12 @@ public interface WmWarehouseMapper
|
|||||||
public List<WmWarehouse> getTreeList();
|
public List<WmWarehouse> getTreeList();
|
||||||
|
|
||||||
public WmWarehouse checkWarehouseCodeUnique(WmWarehouse wmWarehouse);
|
public WmWarehouse checkWarehouseCodeUnique(WmWarehouse wmWarehouse);
|
||||||
|
|
||||||
public WmWarehouse checkWarehouseNameUnique(WmWarehouse wmWarehouse);
|
public WmWarehouse checkWarehouseNameUnique(WmWarehouse wmWarehouse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增仓库设置
|
* 新增仓库设置
|
||||||
*
|
*
|
||||||
* @param wmWarehouse 仓库设置
|
* @param wmWarehouse 仓库设置
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -50,7 +54,7 @@ public interface WmWarehouseMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改仓库设置
|
* 修改仓库设置
|
||||||
*
|
*
|
||||||
* @param wmWarehouse 仓库设置
|
* @param wmWarehouse 仓库设置
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -58,7 +62,7 @@ public interface WmWarehouseMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除仓库设置
|
* 删除仓库设置
|
||||||
*
|
*
|
||||||
* @param warehouseId 仓库设置主键
|
* @param warehouseId 仓库设置主键
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@ -66,7 +70,7 @@ public interface WmWarehouseMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除仓库设置
|
* 批量删除仓库设置
|
||||||
*
|
*
|
||||||
* @param warehouseIds 需要删除的数据主键集合
|
* @param warehouseIds 需要删除的数据主键集合
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user