|
|
|
@ -704,8 +704,23 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
loadscanEntity.setSigningTime(signingTime); |
|
|
|
|
loadscanEntity.setSignforState(2); |
|
|
|
|
loadscanEntity.setReceivedQuantity(loadscanEntity.getLoadedNub()); |
|
|
|
|
loadscanEntity.setSigningUser(AuthUtil.getUser().getNickName()); |
|
|
|
|
loadscanEntity.setSigningUserId(AuthUtil.getUser().getUserId()); |
|
|
|
|
|
|
|
|
|
String nickName = AuthUtil.getNickName(); |
|
|
|
|
Long userId = AuthUtil.getUserId(); |
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
|
|
|
|
|
nickName = AuthUtil.getNickName(); |
|
|
|
|
userId = AuthUtil.getUserId(); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
log.error(">>>>> 签收异常报错",e); |
|
|
|
|
throw new CustomerException("当前登录信息不已失效,请重新登录"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
loadscanEntity.setSigningUser(nickName); |
|
|
|
|
loadscanEntity.setSigningUserId(userId); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
distributionLoadscanService.updateById(loadscanEntity); |
|
|
|
|
//缺少一个异步维护包件签收的方法
|
|
|
|
|
// distributionAsyncService.changeOrderSignforStatus(collect.get(0));
|
|
|
|
|