标准箱移交人更改

This commit is contained in:
hongchao 2025-06-20 09:09:59 +08:00
parent ea56bf273b
commit 60df5ef07a
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class BmQrBoxServiceImpl implements BmQrBoxService {
final List<BmQrBoxInfo> bmQrBoxInfos = bmQrBoxMapper.find(new BmQrBoxInfo().setBoxId(bmQrBoxInfo.getBoxId())); final List<BmQrBoxInfo> bmQrBoxInfos = bmQrBoxMapper.find(new BmQrBoxInfo().setBoxId(bmQrBoxInfo.getBoxId()));
if (!bmQrBoxInfos.isEmpty()) { if (!bmQrBoxInfos.isEmpty()) {
final BmQrBoxInfo item = bmQrBoxInfos.get(0); final BmQrBoxInfo item = bmQrBoxInfos.get(0);
if (null == item.getInputUser() || !Objects.equals(item.getInputUser(), SecurityUtils.getLoginUser().getUserid())) { if (null == item.getTransferUser()) {
return AjaxResult.error(500, "接收失败,当前操作非移交人,无法接收!"); return AjaxResult.error(500, "接收失败,当前操作非移交人,无法接收!");
} }
List<BmQrBoxInfo> list = bmQrBoxMapper.getBoxBindListById(bmQrBoxInfo); List<BmQrBoxInfo> list = bmQrBoxMapper.getBoxBindListById(bmQrBoxInfo);