diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/PackageStockupVO.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/PackageStockupVO.java index ab5ad4865..25d9be4dd 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/PackageStockupVO.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/PackageStockupVO.java @@ -28,6 +28,7 @@ public class PackageStockupVO implements Serializable { private String materialName;//物料名称 private String trayCode;//托盘名称 private String allocationTitle;//货位名称 + private String allocationTitles;//货位名称 private Long scanId;//扫码记录id private Long allocationId;//货位id diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionAddvalueController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionAddvalueController.java index 48a46921c..caa7cbafa 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionAddvalueController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionAddvalueController.java @@ -16,6 +16,7 @@ */ package com.logpm.distribution.controller; +import com.logpm.distribution.dto.app.DistributionAppAddvalueDTO; import com.logpm.distribution.entity.DistributionAddvalueEntity; import com.logpm.distribution.excel.DistributionAddvalueExcel; import com.logpm.distribution.service.IDistributionAddvalueService; @@ -52,7 +53,7 @@ import javax.servlet.http.HttpServletResponse; */ @RestController @AllArgsConstructor -@RequestMapping("addvalue/distributionAddvalue") +@RequestMapping("/addvalue") @Api(value = "配送增值服务表", tags = "配送增值服务表接口") public class DistributionAddvalueController extends BladeController { @@ -147,4 +148,17 @@ public class DistributionAddvalueController extends BladeController { ExcelUtil.export(response, "配送增值服务表数据" + DateUtil.time(), "配送增值服务表数据表", list, DistributionAddvalueExcel.class); } + +// /** +// * 查询 +// */ +// @PostMapping("/addvalueInfoList") +// @ApiOperationSupport(order = 2) +// @ApiOperation(value = "分页", notes = "传入distributionAddvalue") +// public R addvalueInfoList(@ApiIgnore @RequestBody DistributionAppAddvalueDTO distributionAddvalue) { +// R r = distributionAddvalueService.editAddvalueInfo(distributionAddvalue); +// return r; +// } + + } 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 ad8edb991..8d28b8cf5 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 @@ -19,6 +19,7 @@ package com.logpm.distribution.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; +import com.logpm.distribution.dto.DistributionAddvalueDTO; import com.logpm.distribution.dto.DistributionReservationStocklistDTO; import com.logpm.distribution.dto.DistributionSignforDTO; import com.logpm.distribution.entity.DistributionSignforEntity; @@ -233,4 +234,17 @@ public class DistributionSignforController extends BladeController { ExcelUtil.export(response, "签收管理数据" + DateUtil.time(), "签收管理数据表", list, DistributionSignforExcel.class); } + + /** + * 签收管理 删除 + */ + @PostMapping("/addvalueInfoList") + @ApiOperationSupport(order = 7) + @ApiOperation(value = "逻辑删除", notes = "传入ids") + public R addvalueInfoList(@RequestBody DistributionAddvalueDTO distributionAddvalueDTO) { + R r = distributionSignforService.getAddvalueInfoList(distributionAddvalueDTO); + return r; + } + + } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/dto/DistributionAddvalueDTO.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/dto/DistributionAddvalueDTO.java index cfd7fcecb..bd7fb5f92 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/dto/DistributionAddvalueDTO.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/dto/DistributionAddvalueDTO.java @@ -31,4 +31,9 @@ import lombok.EqualsAndHashCode; public class DistributionAddvalueDTO extends DistributionAddvalueEntity { private static final long serialVersionUID = 1L; + /** + * 签收ID + */ + private Long signforId; + } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.java index 7784277ce..5aaaab958 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.java @@ -19,6 +19,7 @@ package com.logpm.distribution.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.logpm.distribution.dto.DistributionAddvalueDTO; import com.logpm.distribution.entity.DistributionAddvalueEntity; import com.logpm.distribution.entity.DistributionAddvaluePackageEntity; import com.logpm.distribution.excel.DistributionAddvalueExcel; @@ -73,6 +74,13 @@ public interface DistributionAddvalueMapper extends BaseMapper addvalueInfo(@Param("reservationId")Long reservationId); + /** + * 查询签收列表客户的增值服务项 + * @param distributionAddvalueDTO + * @return + */ + DistributionAddvalueVO getAddvalueBySignfor(@Param("par")DistributionAddvalueDTO distributionAddvalueDTO); + // /** // * 删除增值服务 // * @param reservationId diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.xml index 7ab373283..88c63d76c 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionAddvalueMapper.xml @@ -72,5 +72,23 @@ GROUP BY ldad.fee,ldad.num,ldad.flool_num,ldad.distance,ldad.id + diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml index ac4172d1d..211bd4408 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml @@ -138,17 +138,12 @@