rev:退货入库创建人

This commit is contained in:
2024-09-04 14:38:55 +08:00
parent 16abbb459b
commit b257cb5eb6

View File

@@ -20,6 +20,7 @@ import org.nl.b_lms.storage_manage.ios.enums.IOSEnum;
import org.nl.b_lms.storage_manage.ios.service.iostorInv.util.service.InBoxManageService;
import org.nl.b_lms.storage_manage.ios.service.iostorInv.util.service.InBussManageService;
import org.nl.common.utils.IdUtil;
import org.nl.common.utils.SecurityUtils;
import org.nl.modules.common.exception.BadRequestException;
import org.nl.modules.wql.WQL;
import org.nl.modules.wql.core.bean.WQLObject;
@@ -30,6 +31,7 @@ import org.nl.wms.ext.acs.service.AcsToWmsService;
import org.nl.wms.ext.acs.service.WmsToAcsService;
import org.nl.wms.ext.mes.service.LmsToMesService;
import org.nl.wms.pda.mps.eum.RegionTypeEnum;
import org.nl.wms.pdm.bi.service.SubpackagerelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -348,6 +350,13 @@ public class InBoxManageServiceImpl implements InBoxManageService {
.update(param,"pcsn = '"+whereJson.getString("box_no")+"'");
}
// 更新子卷包装关系创建人
JSONObject param2 = new JSONObject();
param2.put("create_id",SecurityUtils.getCurrentUserId());
param2.put("create_name",SecurityUtils.getCurrentNickName());
WQLObject.getWQLObject("pdm_bi_subpackagerelation")
.update(param2,"package_box_sn = '"+whereJson.getString("box_no")+"'");
/*
* 查询mes木箱信息插入木箱信息表
*/