diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/ServiceGoods.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/ServiceGoods.java index 1908bfc..ba691f9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/ServiceGoods.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/ServiceGoods.java @@ -134,6 +134,13 @@ private String cateName; @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Date deletedAt; + + + private BigDecimal minPrice; + private BigDecimal maxPrice; + private String createdStart; + private String createdEnd; + public void setId(Long id) { this.id = id; @@ -422,6 +429,38 @@ private String cateName; this.cateName = cateName; } + public String getCreatedEnd() { + return createdEnd; + } + + public void setCreatedEnd(String createdEnd) { + this.createdEnd = createdEnd; + } + + public String getCreatedStart() { + return createdStart; + } + + public void setCreatedStart(String createdStart) { + this.createdStart = createdStart; + } + + public BigDecimal getMaxPrice() { + return maxPrice; + } + + public void setMaxPrice(BigDecimal maxPrice) { + this.maxPrice = maxPrice; + } + + public BigDecimal getMinPrice() { + return minPrice; + } + + public void setMinPrice(BigDecimal minPrice) { + this.minPrice = minPrice; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/ruoyi-system/src/main/resources/mapper/system/ServiceGoodsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ServiceGoodsMapper.xml index 916be2e..c08b929 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ServiceGoodsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ServiceGoodsMapper.xml @@ -42,33 +42,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -88,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into service_goods + title, icon, imgs, diff --git a/ruoyi-ui/src/views/system/GoodsShangPin/index.vue b/ruoyi-ui/src/views/system/GoodsShangPin/index.vue index 3739f74..74ff30a 100644 --- a/ruoyi-ui/src/views/system/GoodsShangPin/index.vue +++ b/ruoyi-ui/src/views/system/GoodsShangPin/index.vue @@ -27,6 +27,35 @@ /> + + + - + + + + + + + + + + + + + 搜索 重置 @@ -300,7 +329,7 @@