|
|
@ -2654,6 +2654,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
return R.fail("请联系管理员!!!"); |
|
|
|
return R.fail("请联系管理员!!!"); |
|
|
|
} |
|
|
|
} |
|
|
|
if ((signforEntity.getReceivedQuantity() + signforEntity.getReceivedinQuantity()) <= 0) { |
|
|
|
if ((signforEntity.getReceivedQuantity() + signforEntity.getReceivedinQuantity()) <= 0) { |
|
|
|
|
|
|
|
|
|
|
|
log.error("signforack############未进行签收上传图片"); |
|
|
|
log.error("signforack############未进行签收上传图片"); |
|
|
|
return Resp.scanFail(12000, "请先进行签收扫描后上传图片", "请先进行签收扫描后上传图片", null); |
|
|
|
return Resp.scanFail(12000, "请先进行签收扫描后上传图片", "请先进行签收扫描后上传图片", null); |
|
|
|
} |
|
|
|
} |
|
|
@ -2663,7 +2664,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
if (ObjectUtils.isNotNull(distributionSignfor.getMap())) { |
|
|
|
if (ObjectUtils.isNotNull(distributionSignfor.getMap())) { |
|
|
|
List<DistributionSignPrintEntity> distributionSignPrintList = new ArrayList<>(); |
|
|
|
List<DistributionSignPrintEntity> distributionSignPrintList = new ArrayList<>(); |
|
|
|
distributionSignfor.getMap().forEach((k, v) -> { |
|
|
|
distributionSignfor.getMap().forEach((k, v) -> { |
|
|
|
v.stream().forEach(i -> { |
|
|
|
v.forEach(i -> { |
|
|
|
DistributionSignPrintEntity distributionSignPrint = new DistributionSignPrintEntity(); |
|
|
|
DistributionSignPrintEntity distributionSignPrint = new DistributionSignPrintEntity(); |
|
|
|
BeanUtils.copyProperties(i, distributionSignPrint); |
|
|
|
BeanUtils.copyProperties(i, distributionSignPrint); |
|
|
|
distributionSignPrint.setId(null); |
|
|
|
distributionSignPrint.setId(null); |
|
|
|