diff --git a/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataPricePageVO.java b/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataPricePageVO.java index 3ce265f24..873848787 100644 --- a/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataPricePageVO.java +++ b/blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/vo/BasicdataPricePageVO.java @@ -45,6 +45,9 @@ public class BasicdataPricePageVO implements Serializable { @ApiModelProperty(value = "品牌id") private String brandId; + @ApiModelProperty(value = "客户id") + private String clientId; + @ApiModelProperty(value = "价格模板id") private String templateId; diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataPriceController.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataPriceController.java index edf8f1d17..76fd23e51 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataPriceController.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/controller/BasicdataPriceController.java @@ -101,6 +101,16 @@ public class BasicdataPriceController extends BladeController { IPage pages = basicdataPriceService.selectBasicdataPricePage(Condition.getPage(query), basicdataPrice); return R.data(pages); } + /** + * 基础价格表 历史版本查询 + */ + @GetMapping("hisPage") + @ApiOperationSupport(order = 2) + @ApiOperation(value = "历史版本查询", notes = "历史版本查询") + public R> hisPage(BasicdataPricePageVO basicdataPrice, Query query) { + IPage pages = basicdataPriceService.hisPage(Condition.getPage(query), basicdataPrice); + return R.data(pages); + } /** * 基础价格表 修改 diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.java index f33c6e028..49631d70f 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.java @@ -54,4 +54,6 @@ public interface BasicdataPriceMapper extends BaseMapper { List findEntityByClientAndBrand(@Param("prices") List prices); List findEntityByClientAndBrandV2(@Param("prices") List priceExcels); + + List hisPage(IPage page, BasicdataPricePageVO basicdataPrice); } diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml index d30da1eae..32d14c8b8 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml @@ -44,6 +44,29 @@ +