增加物料信息字段
This commit is contained in:
parent
2c47efdcb5
commit
7d57efd9e2
@ -38,6 +38,9 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
||||
@Autowired
|
||||
private WmsBusinessTypeMapper wmsBusinessTypeMapper;
|
||||
|
||||
@Autowired
|
||||
private MdItemMapper mdItemMapper;
|
||||
|
||||
/**
|
||||
* 查询出库计划管理
|
||||
*
|
||||
@ -201,8 +204,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
||||
// 根据出库计划获得出库类型
|
||||
WmsBusinessType wmsBusinessType = this.wmsBusinessTypeMapper.selectWmsBusinessTypeByTypeId(wmsOutPlan.getWmsBusinessTypeId().toString());
|
||||
|
||||
// 获得台账明细
|
||||
BaseKnife baseKnife = baseKnifeMapper.selectBaseKnifeByBaseKnifeId(nowWmsOutPlanDetailEntity.getBaseKnifeId());
|
||||
MdItem mdItem = this.mdItemMapper.selectMdItemById(wmsOutPlanDetail.getMdItemId());
|
||||
|
||||
// 设定出库信息数据
|
||||
HashMap<String, Object> hashMap = new HashMap<>();
|
||||
@ -222,9 +224,9 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
||||
hashMap.put("wmStorageAreaName", wmsOutPlanDetail.getWmStorageAreaName()); // 库位名称
|
||||
hashMap.put("detailStatus", wmsOutPlanDetail.getDetailState()); // 明细状态
|
||||
/* 来自台账明细 */
|
||||
hashMap.put("itemId", baseKnife.getMbbBdMrlId()); // 物料ID
|
||||
hashMap.put("itemName", baseKnife.getKnifeName()); // 物料名称
|
||||
hashMap.put("itemCode", baseKnife.getKnifeCode()); // 物料编码
|
||||
hashMap.put("itemId", mdItem.getItemId()); // 物料ID
|
||||
hashMap.put("itemName", mdItem.getItemName()); // 物料名称
|
||||
hashMap.put("itemCode", mdItem.getItemCode()); // 物料编码
|
||||
/* 实体 */
|
||||
String outTime = null;
|
||||
if (nowWmsOutPlanDetailEntity.getCreateTime() != null)
|
||||
|
Loading…
Reference in New Issue
Block a user