增加连带信息

This commit is contained in:
刘名喜 2024-11-05 11:06:25 +08:00
parent bbd4387916
commit 2c47efdcb5

View File

@ -201,6 +201,9 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
// 根据出库计划获得出库类型
WmsBusinessType wmsBusinessType = this.wmsBusinessTypeMapper.selectWmsBusinessTypeByTypeId(wmsOutPlan.getWmsBusinessTypeId().toString());
// 获得台账明细
BaseKnife baseKnife = baseKnifeMapper.selectBaseKnifeByBaseKnifeId(nowWmsOutPlanDetailEntity.getBaseKnifeId());
// 设定出库信息数据
HashMap<String, Object> hashMap = new HashMap<>();
/* 来自计划 */
@ -218,6 +221,10 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
hashMap.put("wmStorageAreaCode", wmsOutPlanDetail.getWmStorageAreaCode()); // 库位编码
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()); // 物料编码
/* 实体 */
String outTime = null;
if (nowWmsOutPlanDetailEntity.getCreateTime() != null)