diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Users.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Users.java index ce4ec56..eb2de38 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Users.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Users.java @@ -139,6 +139,14 @@ public class Users extends BaseEntity @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") private Date updatedAt; + //------------------------------------------------------------------------------------------- + private BigDecimal totalCommMin; + private BigDecimal totalCommMax; + private BigDecimal marginMin; + private BigDecimal marginMax; + private BigDecimal commissionMin; + private BigDecimal commissionMax; + public void setId(Long id) { this.id = id; @@ -439,6 +447,54 @@ public class Users extends BaseEntity return updatedAt; } + public BigDecimal getCommissionMax() { + return commissionMax; + } + + public void setCommissionMax(BigDecimal commissionMax) { + this.commissionMax = commissionMax; + } + + public BigDecimal getCommissionMin() { + return commissionMin; + } + + public void setCommissionMin(BigDecimal commissionMin) { + this.commissionMin = commissionMin; + } + + public BigDecimal getMarginMax() { + return marginMax; + } + + public void setMarginMax(BigDecimal marginMax) { + this.marginMax = marginMax; + } + + public BigDecimal getMarginMin() { + return marginMin; + } + + public void setMarginMin(BigDecimal marginMin) { + this.marginMin = marginMin; + } + + public BigDecimal getTotalCommMax() { + return totalCommMax; + } + + public void setTotalCommMax(BigDecimal totalCommMax) { + this.totalCommMax = totalCommMax; + } + + public BigDecimal getTotalCommMin() { + return totalCommMin; + } + + public void setTotalCommMin(BigDecimal totalCommMin) { + this.totalCommMin = totalCommMin; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/ruoyi-system/src/main/resources/mapper/system/DiyCityMapper.xml b/ruoyi-system/src/main/resources/mapper/system/DiyCityMapper.xml index 7afe61c..f3565c8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/DiyCityMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/DiyCityMapper.xml @@ -8,7 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + @@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, title, parent_id, order, lat, lng, province_id, city_id, district_id, created_at, updated_at from diy_city + select id, title, parent_id, order_data, lat, lng, province_id, city_id, district_id, created_at, updated_at from diy_city - + + + + and total_comm BETWEEN #{totalCommMin} AND #{totalCommMax} + + + + and margin BETWEEN #{marginMin} AND #{marginMax} + + + + and commission BETWEEN #{commissionMin} AND #{commissionMax} + + + + and name like concat('%', #{name}, '%') and nickname like concat('%', #{nickname}, '%') - and phone = #{phone} + and job_number like concat('%', #{jobNumber}, '%') + + and phone like concat('%', #{phone}, '%') and password = #{password} and remember_token = #{rememberToken} and openid = #{openid} @@ -60,7 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and commission = #{commission} and total_comm = #{totalComm} and margin = #{margin} - and job_number = #{jobNumber} + and prohibit_time = #{prohibitTime} and prohibit_time_num = #{prohibitTimeNum} and toa = #{toa} diff --git a/ruoyi-ui/src/views/system/DiyCity/index.vue b/ruoyi-ui/src/views/system/DiyCity/index.vue index 840a2bb..5dc430f 100644 --- a/ruoyi-ui/src/views/system/DiyCity/index.vue +++ b/ruoyi-ui/src/views/system/DiyCity/index.vue @@ -130,49 +130,54 @@ v-hasPermi="['system:DiyCity:export']" >导出 + + 展开 + + + 收起 + - - - - - - - - - - - - - - - - - - - - - + + + {{ data.title }} + 修改 + 删除 + + { + this.$refs.tree.store.expandNode(node, true) + }) + }, + collapseAll() { + this.$refs.tree.store.nodesMap.forEach(node => { + this.$refs.tree.store.collapseNode(node, true) + }) + }, + handleNodeClick(data) { + console.log(data) } } } diff --git a/ruoyi-ui/src/views/system/SiteConfig/index.vue b/ruoyi-ui/src/views/system/SiteConfig/index.vue index d7c1581..3b64ca6 100644 --- a/ruoyi-ui/src/views/system/SiteConfig/index.vue +++ b/ruoyi-ui/src/views/system/SiteConfig/index.vue @@ -1,297 +1,396 @@ + +