Browse Source

复核文员备注BUG修复

dist.1.3.0
汤建军 6 months ago
parent
commit
b74e4599c3
  1. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java
  2. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java

@ -345,6 +345,7 @@ public class DistributionSignforController extends BladeController {
distributionDeliveryListService.maintenanceDeliveryInfo(distributionSignfor.getDeliveryId()); distributionDeliveryListService.maintenanceDeliveryInfo(distributionSignfor.getDeliveryId());
DistributionSignforDTO distributionSignforDTO = new DistributionSignforDTO(); DistributionSignforDTO distributionSignforDTO = new DistributionSignforDTO();
distributionSignforDTO.setId(distributionSignfor.getId()); distributionSignforDTO.setId(distributionSignfor.getId());
distributionSignforDTO.setClerkSignRemarks(distributionSignfor.getClerkSignRemarks());
distributionSignforService.updateSign(distributionSignforDTO); distributionSignforService.updateSign(distributionSignforDTO);
distributionStockupInfoService.maintenanceStockUp(distributionSignfor.getReservationId(),1); distributionStockupInfoService.maintenanceStockUp(distributionSignfor.getReservationId(),1);
} }

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

@ -6217,6 +6217,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
public R updateSign(DistributionSignforDTO distributionSignfor) { public R updateSign(DistributionSignforDTO distributionSignfor) {
distributionSignfor.setSigneeId(AuthUtil.getUser().getUserId()); distributionSignfor.setSigneeId(AuthUtil.getUser().getUserId());
distributionSignfor.setSigneeName(AuthUtil.getUser().getUserName()); distributionSignfor.setSigneeName(AuthUtil.getUser().getUserName());
distributionSignfor.setClerkSignRemarks(distributionSignfor.getClerkSignRemarks());
Date date = new Date(); Date date = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
distributionSignfor.setSigningTime(sdf.format(date)); distributionSignfor.setSigningTime(sdf.format(date));

Loading…
Cancel
Save