|
@@ -522,6 +522,10 @@ public class ApsReportRecordsServiceImpl extends ServiceImpl<ApsReportRecordsDao
|
|
|
for (ApsReportOutputDo apsReportOutputDo : apsReportOutputDos) {
|
|
|
ApsWorkInProgressInventoryDo workInProgressInventoryDo = new ApsWorkInProgressInventoryDo();
|
|
|
workInProgressInventoryDo.setId(SecurityUtil.getUUID());
|
|
|
+ //获取当前用户相关信息
|
|
|
+ SysUserVo currentUser = CXCommonUtils.getCurrentUser();
|
|
|
+ String tenantId = currentUser.getOrganizationDoList().get(0).getFullpid().split(",")[1];
|
|
|
+ workInProgressInventoryDo.setTenantid(tenantId);
|
|
|
//报工输出物料的批次号
|
|
|
workInProgressInventoryDo.setBlankbatchnumber(apsReportOutputDo.getOutputnumber());
|
|
|
//报工输出物料的主键ID
|