diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java index 92e29971d..11e6cb7c3 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java @@ -276,10 +276,9 @@ public class DistributionSignforController extends BladeController { @ApiOperationSupport(order = 5) @ApiOperation(value = "修改", notes = "传入distributionSignfor") public R update(@Valid @RequestBody DistributionSignforDTO distributionSignfor) { - BladeUser user = AuthUtil.getUser(); - distributionSignfor.setExamineUserId(user.getUserId()); - distributionSignfor.setExamineUserName(user.getNickName()); - R r = distributionSignforService.updateSign(distributionSignfor); + + R r= distributionSignforService.recheck(distributionSignfor.getId()); + // return R.status(distributionSignforService.updateById(distributionSignfor)); return r; } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionSignforService.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionSignforService.java index eac49ceb8..95331e0b4 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionSignforService.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionSignforService.java @@ -229,4 +229,10 @@ public interface IDistributionSignforService extends BaseService deliveryUnsigningInventoryNumberDetail(List disStockListDetailEntities) { List unsignInventoryList = disStockListDetailEntities.stream().filter(p -> p.getStockSignfoStatus().equals(InventorySigningStatusConstant.yiqianshou.getValue())).collect(Collectors.toList()); if (Func.isEmpty(unsignInventoryList)){