|
|
@ -174,7 +174,8 @@ public class WarehouseRetentionRecordServiceImpl extends BaseServiceImpl<Warehou |
|
|
|
warehouseRetentionRecordEntity.setRetentionCarId(warehouseRetentionRecordDTO.getLoadingId()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionCarId(warehouseRetentionRecordDTO.getLoadingId()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionWarehouseId(myCurrentWarehouse.getId()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionWarehouseId(myCurrentWarehouse.getId()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionWarehouseName(myCurrentWarehouse.getName()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionWarehouseName(myCurrentWarehouse.getName()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionType(RetentionTypeConstant.peisongzhiliu.getValue()); |
|
|
|
warehouseRetentionRecordEntity.setAssembleCarPersonId(warehouseRetentionRecordDTO.getAssembleCarPersonId()); |
|
|
|
|
|
|
|
warehouseRetentionRecordEntity.setAssembleCarPersonName(warehouseRetentionRecordDTO.getAssembleCarPersonName()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionCreateUserId(user.getUserId()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionCreateUserId(user.getUserId()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionCreateUserName(user.getUserName()); |
|
|
|
warehouseRetentionRecordEntity.setRetentionCreateUserName(user.getUserName()); |
|
|
|
this.save(warehouseRetentionRecordEntity); |
|
|
|
this.save(warehouseRetentionRecordEntity); |
|
|
@ -196,7 +197,6 @@ public class WarehouseRetentionRecordServiceImpl extends BaseServiceImpl<Warehou |
|
|
|
r.setRetentionScanTime(new Date()); |
|
|
|
r.setRetentionScanTime(new Date()); |
|
|
|
r.setRetentionScanUserId(user.getUserId()); |
|
|
|
r.setRetentionScanUserId(user.getUserId()); |
|
|
|
r.setRetentionScanUsername(user.getNickName()); |
|
|
|
r.setRetentionScanUsername(user.getNickName()); |
|
|
|
|
|
|
|
|
|
|
|
r.setRetentionQuantity(r.getRetentionQuantity()); |
|
|
|
r.setRetentionQuantity(r.getRetentionQuantity()); |
|
|
|
retentionTotal.getAndAdd(r.getRetentionQuantity()); |
|
|
|
retentionTotal.getAndAdd(r.getRetentionQuantity()); |
|
|
|
r.setDeliveryId(warehouseRetentionRecordDTO.getDeliveryId()); |
|
|
|
r.setDeliveryId(warehouseRetentionRecordDTO.getDeliveryId()); |
|
|
@ -234,7 +234,6 @@ public class WarehouseRetentionRecordServiceImpl extends BaseServiceImpl<Warehou |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public List<WarehouseRetentionRecordExcel> exportWarehouseRetentionRecord(Map<String, Object> paramMap) { |
|
|
|
public List<WarehouseRetentionRecordExcel> exportWarehouseRetentionRecord(Map<String, Object> paramMap) { |
|
|
|
|
|
|
|
|
|
|
|
// 获取当前登录的仓库信息
|
|
|
|
// 获取当前登录的仓库信息
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = warehouseClient.getMyCurrentWarehouse(); |
|
|
|
if (ObjectUtils.isNull(myCurrentWarehouse)) { |
|
|
|
if (ObjectUtils.isNull(myCurrentWarehouse)) { |
|
|
|