bug
This commit is contained in:
parent
8748e2a3e6
commit
60e073493e
@ -26,6 +26,15 @@ export function treeselect(params) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 查询菜单下拉树结构
|
||||||
|
export function getButtonPermi(params) {
|
||||||
|
return request({
|
||||||
|
url: 'backendApi/source/getButtonPermi',
|
||||||
|
method: 'get',
|
||||||
|
params: params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 根据角色ID查询菜单下拉树结构
|
// 根据角色ID查询菜单下拉树结构
|
||||||
export function roleMenuTreeselect(roleId) {
|
export function roleMenuTreeselect(roleId) {
|
||||||
return request({
|
return request({
|
||||||
|
@ -99,6 +99,7 @@
|
|||||||
type="warning"
|
type="warning"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
|
v-hasPermi="['user:add']"
|
||||||
>新增用户
|
>新增用户
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -162,19 +163,22 @@
|
|||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
|
v-hasPermi="['user:edit']"
|
||||||
>修改</el-button>
|
>修改</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
|
v-hasPermi="['user:delete']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" >
|
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" >
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link" v-hasPermi="['user:password']">
|
||||||
<i class="el-icon-d-arrow-right el-icon--right"></i>更多
|
<i class="el-icon-d-arrow-right el-icon--right"></i>更多
|
||||||
</span>
|
</span>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item command="handleResetPwd" icon="el-icon-key" >重置密码</el-dropdown-item>
|
<el-dropdown-item command="handleResetPwd" icon="el-icon-key" v-hasPermi="['user:password']"
|
||||||
|
>重置密码</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</template>
|
</template>
|
||||||
@ -619,7 +623,7 @@
|
|||||||
<!--<el-button @click="resetForm('ruleForm')">重置</el-button> -->
|
<!--<el-button @click="resetForm('ruleForm')">重置</el-button> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="pdinfo == 2">
|
<el-form-item v-if="pdinfo == 2">
|
||||||
<el-button type="primary" @click="submitFormseide('ruleForm')">保存</el-button>
|
<el-button type="primary" @click="submitFormseide('ruleForm')" v-hasPermi="['agency:update']">保存</el-button>
|
||||||
<!--<el-button @click="resetForm('ruleForm')">重置</el-button> -->
|
<!--<el-button @click="resetForm('ruleForm')">重置</el-button> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
@ -725,6 +729,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
|
v-hasPermi="['role:delete']"
|
||||||
@click="handleDelete1(scope.row)"
|
@click="handleDelete1(scope.row)"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -937,7 +942,7 @@ import BigNumber from 'bignumber.js';
|
|||||||
/*import node from "../../../../gasStation-uni/uni_modules/uview-ui/components/u-parse/node/node.vue";*/
|
/*import node from "../../../../gasStation-uni/uni_modules/uview-ui/components/u-parse/node/node.vue";*/
|
||||||
import {dutyDelete, dutyEdit, dutyList, dutyLists} from "@/api/duty/duty";
|
import {dutyDelete, dutyEdit, dutyList, dutyLists} from "@/api/duty/duty";
|
||||||
import {addRole, delRole, getRole, updateRole} from "@/api/system/role";
|
import {addRole, delRole, getRole, updateRole} from "@/api/system/role";
|
||||||
import {treeselect as menuTreeselect} from "@/api/system/menu";
|
import {getButtonPermi, treeselect as menuTreeselect} from "@/api/system/menu";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -986,6 +991,9 @@ export default {
|
|||||||
endTime:"",
|
endTime:"",
|
||||||
deleteid:0,
|
deleteid:0,
|
||||||
pdinfo: 1 ,
|
pdinfo: 1 ,
|
||||||
|
isAgencyAdd: false,
|
||||||
|
isAgencyEdit: false,
|
||||||
|
isAgencyDelete: false,
|
||||||
activeName: 'list',
|
activeName: 'list',
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
parentId:'',
|
parentId:'',
|
||||||
@ -1243,9 +1251,31 @@ export default {
|
|||||||
this.handleClick()
|
this.handleClick()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.$route.fullPath) {
|
||||||
|
this.getPermi(this.$route.fullPath)
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
components: { Treeselect },
|
components: { Treeselect },
|
||||||
methods: {
|
methods: {
|
||||||
|
// 获取权限信息
|
||||||
|
getPermi(path){
|
||||||
|
let _this = this;
|
||||||
|
getButtonPermi({path:path}).then(res => {
|
||||||
|
res.data.forEach(item => {
|
||||||
|
if (item.sourceCode == "agency:add"){
|
||||||
|
_this.isAgencyAdd = true;
|
||||||
|
}
|
||||||
|
if (item.sourceCode == "agency:update"){
|
||||||
|
_this.isAgencyEdit = true;
|
||||||
|
}
|
||||||
|
if (item.sourceCode == "agency:delete"){
|
||||||
|
_this.isAgencyDelete = true;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
console.log(_this.isAgencyAdd,_this.isAgencyDelete,12223)
|
||||||
|
})
|
||||||
|
},
|
||||||
// 修改角色类型
|
// 修改角色类型
|
||||||
async changeMenu() {
|
async changeMenu() {
|
||||||
console.log(this.form1.roleType)
|
console.log(this.form1.roleType)
|
||||||
@ -1812,13 +1842,13 @@ export default {
|
|||||||
<div class="custom-tree-node" style="display: flex;align-items: center;">
|
<div class="custom-tree-node" style="display: flex;align-items: center;">
|
||||||
<span class="custom-tree-box">{node.label}</span>
|
<span class="custom-tree-box">{node.label}</span>
|
||||||
<span style="display: flex;align-items: center;">
|
<span style="display: flex;align-items: center;">
|
||||||
{!isAdd ?
|
{!isAdd && this.isAgencyAdd ?
|
||||||
|
|
||||||
|
|
||||||
< img alt="" src="https://www.youkerr.com/add" style=" width: 20px;height: 20px; " on-click={() => this.append(data)}/>
|
< img alt="" src="https://www.youkerr.com/add" style=" width: 20px;height: 20px; " on-click={() => this.append(data)}/>
|
||||||
: null
|
: null
|
||||||
}
|
}
|
||||||
{node.level !== 1 ?
|
{node.level !== 1 && this.isAgencyDelete ?
|
||||||
< img alt="" src="https://www.youkerr.com/del" style=" width: 20px;height: 20px; " on-click={() => this.remove(node, data)}/>
|
< img alt="" src="https://www.youkerr.com/del" style=" width: 20px;height: 20px; " on-click={() => this.remove(node, data)}/>
|
||||||
|
|
||||||
: null
|
: null
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
<div style="width: 100%">
|
<div style="width: 100%">
|
||||||
<div class="dis-box" style="align-items: center;cursor: pointer;margin-bottom: 20px">
|
<div class="dis-box" style="align-items: center;cursor: pointer;margin-bottom: 20px">
|
||||||
<div class="title">{{from.name}}</div>
|
<div class="title">{{from.name}}</div>
|
||||||
<div class="lansiez" @click="editInfo()">编辑油站</div>
|
<div class="lansiez" v-hasPermi="['Servic:edit']" @click="editInfo()">编辑油站</div>
|
||||||
<div class="lansiez" @click="enterThePetrolStation()">进入油站</div>
|
<div class="lansiez" v-hasPermi="['Service:enter']" @click="enterThePetrolStation()">进入油站</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wrap-box">
|
<div class="wrap-box">
|
||||||
<div class="threebox">
|
<div class="threebox">
|
||||||
|
@ -201,7 +201,6 @@ export default {
|
|||||||
let nowDate = new Date();
|
let nowDate = new Date();
|
||||||
let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000)
|
let oneWeekAgo = new Date(nowDate.getTime() - 6 * 24 * 60 * 60 * 1000)
|
||||||
this.value1 = [parseTime(oneWeekAgo),parseTime(nowDate)]
|
this.value1 = [parseTime(oneWeekAgo),parseTime(nowDate)]
|
||||||
console.log("this.value1",this.value1)
|
|
||||||
this.getStoreTotal()
|
this.getStoreTotal()
|
||||||
this.selectChildByDeptIdApi()
|
this.selectChildByDeptIdApi()
|
||||||
this.getStoreAmount()
|
this.getStoreAmount()
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
package com.fuint.api.fuyou.controller;
|
||||||
|
|
||||||
|
import com.fuint.api.fuyou.entity.PaymentRuleConfig;
|
||||||
|
import com.fuint.api.fuyou.service.PaymentRuleConfigService;
|
||||||
|
import com.fuint.framework.web.BaseController;
|
||||||
|
import com.fuint.framework.web.ResponseObject;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/api/ruleConfig")
|
||||||
|
public class PaymentRuleConfigController extends BaseController {
|
||||||
|
@Autowired
|
||||||
|
private PaymentRuleConfigService paymentRuleConfigService;
|
||||||
|
|
||||||
|
@GetMapping()
|
||||||
|
public ResponseObject getList(PaymentRuleConfig paymentRuleConfig){
|
||||||
|
return getSuccessResult(paymentRuleConfigService.selectList(paymentRuleConfig));
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("{id}")
|
||||||
|
public ResponseObject getInfo(@PathVariable Integer id){
|
||||||
|
return getSuccessResult(paymentRuleConfigService.selectRuleById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
@PostMapping()
|
||||||
|
public ResponseObject add(PaymentRuleConfig paymentRuleConfig){
|
||||||
|
return getSuccessResult(paymentRuleConfigService.addPaymentRuleConfig(paymentRuleConfig));
|
||||||
|
}
|
||||||
|
|
||||||
|
@PutMapping()
|
||||||
|
public ResponseObject edit(PaymentRuleConfig paymentRuleConfig){
|
||||||
|
return getSuccessResult(paymentRuleConfigService.updatePaymentRuleConfig(paymentRuleConfig));
|
||||||
|
}
|
||||||
|
|
||||||
|
@DeleteMapping()
|
||||||
|
public ResponseObject delete(PaymentRuleConfig paymentRuleConfig){
|
||||||
|
return getSuccessResult(paymentRuleConfigService.deletePaymentRuleConfig(paymentRuleConfig));
|
||||||
|
}
|
||||||
|
|
||||||
|
@PostMapping("enableRule")
|
||||||
|
public ResponseObject enablePaymentRuleConfig(PaymentRuleConfig paymentRuleConfig){
|
||||||
|
return getSuccessResult(paymentRuleConfigService.enablePaymentRuleConfig(paymentRuleConfig));
|
||||||
|
}
|
||||||
|
}
|
@ -30,6 +30,10 @@ public class MerchantConfig extends BaseEntity implements Serializable {
|
|||||||
* 店铺id
|
* 店铺id
|
||||||
*/
|
*/
|
||||||
private Integer storeId;
|
private Integer storeId;
|
||||||
|
/**
|
||||||
|
* 机构id
|
||||||
|
*/
|
||||||
|
private Integer deptId;
|
||||||
/**
|
/**
|
||||||
* 机构号
|
* 机构号
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package com.fuint.api.fuyou.entity;
|
package com.fuint.api.fuyou.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.fuint.framework.entity.BaseEntity;
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
@ -34,10 +35,22 @@ public class OilConfig extends BaseEntity implements Serializable {
|
|||||||
* 商户配置id
|
* 商户配置id
|
||||||
*/
|
*/
|
||||||
private Integer merchConfigId;
|
private Integer merchConfigId;
|
||||||
|
/**
|
||||||
|
* 支付规则配置id
|
||||||
|
*/
|
||||||
|
private Integer ruleConfigId;
|
||||||
|
/**
|
||||||
|
* 交易类型:1、会员充值;2、便利店;3、积分商城;4、油品
|
||||||
|
*/
|
||||||
|
private String transaction_type;
|
||||||
/**
|
/**
|
||||||
* 交易占比
|
* 交易占比
|
||||||
*/
|
*/
|
||||||
private Integer proportion;
|
private Integer proportion;
|
||||||
|
/**
|
||||||
|
* 油号油枪id
|
||||||
|
*/
|
||||||
|
private String oilGunId;
|
||||||
/**
|
/**
|
||||||
* 规则周期
|
* 规则周期
|
||||||
*/
|
*/
|
||||||
@ -50,6 +63,11 @@ public class OilConfig extends BaseEntity implements Serializable {
|
|||||||
* value值
|
* value值
|
||||||
*/
|
*/
|
||||||
private String valueStr;
|
private String valueStr;
|
||||||
|
/**
|
||||||
|
* 油号油枪名称
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String oilGunName;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,82 @@
|
|||||||
|
package com.fuint.api.fuyou.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fuint.framework.entity.BaseEntity;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 支付规则配置表(PaymentRuleConfig)实体类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2024-07-16 14:47:13
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("payment_rule_config")
|
||||||
|
@ApiModel(value = "PaymentRuleConfig", description = "支付规则配置表")
|
||||||
|
public class PaymentRuleConfig extends BaseEntity implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@ApiModelProperty("自增ID")
|
||||||
|
@TableId(value = "ID", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 规则名称
|
||||||
|
*/
|
||||||
|
private String ruleName;
|
||||||
|
/**
|
||||||
|
* 描述
|
||||||
|
*/
|
||||||
|
private String description;
|
||||||
|
/**
|
||||||
|
* 规则类型:1、按比例分账;2、按交易类型分账
|
||||||
|
*/
|
||||||
|
private String ruleType;
|
||||||
|
/**
|
||||||
|
* 油站id
|
||||||
|
*/
|
||||||
|
private Integer storeId;
|
||||||
|
/**
|
||||||
|
* 关联机构id
|
||||||
|
*/
|
||||||
|
private Integer deptId;
|
||||||
|
/**
|
||||||
|
* 规则状态:qy:启用;jy:禁用
|
||||||
|
*/
|
||||||
|
private String status;
|
||||||
|
/**
|
||||||
|
* 开始时间
|
||||||
|
*/
|
||||||
|
private Date startTime;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 创建用户
|
||||||
|
*/
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 修改用户
|
||||||
|
*/
|
||||||
|
private String updateBy;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private List<OilConfig> ruleList;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.fuint.api.fuyou.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.fuint.api.fuyou.entity.PaymentRuleConfig;
|
||||||
|
|
||||||
|
public interface PaymentRuleConfigMapper extends BaseMapper<PaymentRuleConfig> {
|
||||||
|
}
|
@ -52,6 +52,14 @@ public interface MerchantConfigService extends IService<MerchantConfig> {
|
|||||||
*/
|
*/
|
||||||
public MerchantConfig selectMerchById(int id);
|
public MerchantConfig selectMerchById(int id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据商户号和店铺id查询商户配置信息
|
||||||
|
* @param storeId
|
||||||
|
* @param mchntCd
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
MerchantConfig selectByMchntCd(Integer storeId,String mchntCd);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 将此店铺中所有的使用1改为0
|
* 将此店铺中所有的使用1改为0
|
||||||
*/
|
*/
|
||||||
|
@ -60,4 +60,13 @@ public interface OilConfigService extends IService<OilConfig> {
|
|||||||
* @param id
|
* @param id
|
||||||
*/
|
*/
|
||||||
public void delOilConfig(int id);
|
public void delOilConfig(int id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据支付配置规则id查询配置列表信息
|
||||||
|
* @param ruleId
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<OilConfig> selectListByRuleConfigId(Integer ruleId);
|
||||||
|
|
||||||
|
void deleteOilConfigByRuleId(Integer ruleId);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,57 @@
|
|||||||
|
package com.fuint.api.fuyou.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.fuint.api.fuyou.entity.PaymentRuleConfig;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public interface PaymentRuleConfigService extends IService<PaymentRuleConfig> {
|
||||||
|
/**
|
||||||
|
* 查询列表信息
|
||||||
|
* @param paymentRuleConfig
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<PaymentRuleConfig> selectList(PaymentRuleConfig paymentRuleConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据id查询详情信息
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
PaymentRuleConfig selectRuleById(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据id查询详情信息
|
||||||
|
* @param name
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
PaymentRuleConfig selectRuleByRuleName(String name,Integer storeId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加支付配置规则信息
|
||||||
|
* @param ruleConfig
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int addPaymentRuleConfig(PaymentRuleConfig ruleConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改支付配置规则信息
|
||||||
|
* @param ruleConfig
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int updatePaymentRuleConfig(PaymentRuleConfig ruleConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除支付配置规则信息
|
||||||
|
* @param ruleConfig
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int deletePaymentRuleConfig(PaymentRuleConfig ruleConfig);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 启用支付配置规则
|
||||||
|
* @param ruleConfig
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int enablePaymentRuleConfig(PaymentRuleConfig ruleConfig);
|
||||||
|
}
|
@ -18,6 +18,7 @@ import org.springframework.stereotype.Service;
|
|||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 商户配置信息 业务层
|
* 商户配置信息 业务层
|
||||||
@ -94,6 +95,14 @@ public class MerchantConfigServiceImpl extends ServiceImpl<MerchantConfigMapper,
|
|||||||
return merchantConfig;
|
return merchantConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MerchantConfig selectByMchntCd(Integer storeId, String mchntCd) {
|
||||||
|
QueryWrapper queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("store_id",storeId);
|
||||||
|
queryWrapper.eq("mchnt_cd",mchntCd);
|
||||||
|
return baseMapper.selectOne(queryWrapper);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateMerchOrter(int storeId) {
|
public void updateMerchOrter(int storeId) {
|
||||||
QueryWrapper queryWrapper = new QueryWrapper<>();
|
QueryWrapper queryWrapper = new QueryWrapper<>();
|
||||||
@ -147,6 +156,10 @@ public class MerchantConfigServiceImpl extends ServiceImpl<MerchantConfigMapper,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int updateMerchRemark(MerchantConfig merchantConfig) {
|
public int updateMerchRemark(MerchantConfig merchantConfig) {
|
||||||
|
MerchantConfig merchantConfig1 = selectByMchntCd(merchantConfig.getStoreId(), merchantConfig.getMchntCd());
|
||||||
|
if (ObjectUtil.isNotEmpty(merchantConfig1) && !Objects.equals(merchantConfig.getId(), merchantConfig1.getId())){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return baseMapper.updateById(merchantConfig);
|
return baseMapper.updateById(merchantConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,6 +171,10 @@ public class MerchantConfigServiceImpl extends ServiceImpl<MerchantConfigMapper,
|
|||||||
if (ObjectUtil.isEmpty(merchantConfig.getStoreId())) {
|
if (ObjectUtil.isEmpty(merchantConfig.getStoreId())) {
|
||||||
storeId = nowAccountInfo.getStoreId();
|
storeId = nowAccountInfo.getStoreId();
|
||||||
}
|
}
|
||||||
|
MerchantConfig merchantConfig2 = selectByMchntCd(storeId, merchantConfig.getMchntCd());
|
||||||
|
if (ObjectUtil.isNotEmpty(merchantConfig2)){
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
merchantConfig.setStoreId(storeId);
|
merchantConfig.setStoreId(storeId);
|
||||||
int row = 0;
|
int row = 0;
|
||||||
if (merchantConfig.getMerchantName().equals("富友")){
|
if (merchantConfig.getMerchantName().equals("富友")){
|
||||||
|
@ -2,6 +2,7 @@ package com.fuint.api.fuyou.service.impl;
|
|||||||
|
|
||||||
import cn.hutool.core.util.ObjectUtil;
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.fuint.api.fuyou.entity.MerchantConfig;
|
import com.fuint.api.fuyou.entity.MerchantConfig;
|
||||||
import com.fuint.api.fuyou.entity.OilConfig;
|
import com.fuint.api.fuyou.entity.OilConfig;
|
||||||
@ -9,6 +10,8 @@ import com.fuint.api.fuyou.mapper.OilConfigMapper;
|
|||||||
import com.fuint.api.fuyou.service.MerchantConfigService;
|
import com.fuint.api.fuyou.service.MerchantConfigService;
|
||||||
import com.fuint.api.fuyou.service.OilConfigService;
|
import com.fuint.api.fuyou.service.OilConfigService;
|
||||||
import com.fuint.api.fuyou.vo.OilConfigVo;
|
import com.fuint.api.fuyou.vo.OilConfigVo;
|
||||||
|
import com.fuint.business.petrolStationManagement.entity.OilGun;
|
||||||
|
import com.fuint.business.petrolStationManagement.service.OilGunService;
|
||||||
import com.fuint.common.dto.AccountInfo;
|
import com.fuint.common.dto.AccountInfo;
|
||||||
import com.fuint.common.util.StringUtils;
|
import com.fuint.common.util.StringUtils;
|
||||||
import com.fuint.common.util.TokenUtil;
|
import com.fuint.common.util.TokenUtil;
|
||||||
@ -17,6 +20,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||||||
import org.springframework.scheduling.config.ScheduledTaskRegistrar;
|
import org.springframework.scheduling.config.ScheduledTaskRegistrar;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -26,6 +30,8 @@ import java.util.*;
|
|||||||
public class OilConfigServiceImpl extends ServiceImpl<OilConfigMapper, OilConfig> implements OilConfigService {
|
public class OilConfigServiceImpl extends ServiceImpl<OilConfigMapper, OilConfig> implements OilConfigService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private MerchantConfigService merchantConfigService;
|
private MerchantConfigService merchantConfigService;
|
||||||
|
@Resource
|
||||||
|
private OilGunService oilGunService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void oilRule(Integer storeId) {
|
public void oilRule(Integer storeId) {
|
||||||
@ -156,4 +162,36 @@ public class OilConfigServiceImpl extends ServiceImpl<OilConfigMapper, OilConfig
|
|||||||
public void delOilConfig(int id) {
|
public void delOilConfig(int id) {
|
||||||
baseMapper.deleteById(id);
|
baseMapper.deleteById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<OilConfig> selectListByRuleConfigId(Integer ruleId) {
|
||||||
|
QueryWrapper<OilConfig> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("rule_config_id",ruleId);
|
||||||
|
List<OilConfig> oilConfigs = baseMapper.selectList(queryWrapper);
|
||||||
|
for (OilConfig oilConfig : oilConfigs) {
|
||||||
|
if (ObjectUtil.isNotEmpty(oilConfig.getOilGunId())) {
|
||||||
|
String[] split = oilConfig.getOilGunId().split(",");
|
||||||
|
String oilGunName = "";
|
||||||
|
OilGun oilGun1 = new OilGun();
|
||||||
|
oilGun1.setStoreId(oilConfig.getStoreId());
|
||||||
|
List<OilGun> records = oilGunService.queryByPage(new Page(1, 10000), oilGun1).getRecords();
|
||||||
|
for (OilGun record : records) {
|
||||||
|
for (String gunId : split) {
|
||||||
|
if (gunId.equals(record.getId())){
|
||||||
|
oilGunName += record.getOilNumber() + "-" + record.getGunName() + ",";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
oilConfig.setOilGunName(oilGunName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return oilConfigs;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void deleteOilConfigByRuleId(Integer ruleId) {
|
||||||
|
QueryWrapper queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("rule_config_id",ruleId);
|
||||||
|
baseMapper.delete(queryWrapper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,109 @@
|
|||||||
|
package com.fuint.api.fuyou.service.impl;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.fuint.api.fuyou.entity.OilConfig;
|
||||||
|
import com.fuint.api.fuyou.entity.PaymentRuleConfig;
|
||||||
|
import com.fuint.api.fuyou.mapper.PaymentRuleConfigMapper;
|
||||||
|
import com.fuint.api.fuyou.service.OilConfigService;
|
||||||
|
import com.fuint.api.fuyou.service.PaymentRuleConfigService;
|
||||||
|
import com.fuint.api.fuyou.vo.OilConfigVo;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class PaymentRuleConfigServiceImpl extends ServiceImpl<PaymentRuleConfigMapper, PaymentRuleConfig> implements PaymentRuleConfigService {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private OilConfigService oilConfigService;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<PaymentRuleConfig> selectList(PaymentRuleConfig paymentRuleConfig) {
|
||||||
|
QueryWrapper<PaymentRuleConfig> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("store_id",paymentRuleConfig.getStoreId());
|
||||||
|
List<PaymentRuleConfig> list = baseMapper.selectList(queryWrapper);
|
||||||
|
for (PaymentRuleConfig ruleConfig : list) {
|
||||||
|
List<OilConfig> oilConfigs = oilConfigService.selectListByRuleConfigId(ruleConfig.getId());
|
||||||
|
ruleConfig.setRuleList(oilConfigs);
|
||||||
|
}
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PaymentRuleConfig selectRuleById(Integer id) {
|
||||||
|
PaymentRuleConfig paymentRuleConfig = baseMapper.selectById(id);
|
||||||
|
if (ObjectUtil.isNotEmpty(paymentRuleConfig)){
|
||||||
|
List<OilConfig> oilConfigs = oilConfigService.selectListByRuleConfigId(id);
|
||||||
|
paymentRuleConfig.setRuleList(oilConfigs);
|
||||||
|
}
|
||||||
|
return paymentRuleConfig;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PaymentRuleConfig selectRuleByRuleName(String name,Integer storeId) {
|
||||||
|
QueryWrapper queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("store_id",storeId);
|
||||||
|
queryWrapper.eq("rule_name",name);
|
||||||
|
return baseMapper.selectOne(queryWrapper);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int addPaymentRuleConfig(PaymentRuleConfig ruleConfig) {
|
||||||
|
PaymentRuleConfig paymentRuleConfig = selectRuleByRuleName(ruleConfig.getRuleName(), ruleConfig.getStoreId());
|
||||||
|
if (ObjectUtil.isNotEmpty(paymentRuleConfig)){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int row = baseMapper.insert(ruleConfig);
|
||||||
|
if (ObjectUtil.isNotEmpty(ruleConfig.getRuleList())){
|
||||||
|
for (OilConfig oilConfig : ruleConfig.getRuleList()) {
|
||||||
|
OilConfigVo oilConfigVo = new OilConfigVo();
|
||||||
|
BeanUtils.copyProperties(oilConfigVo,oilConfig);
|
||||||
|
oilConfigService.insertOilConfig(oilConfigVo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return row;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int updatePaymentRuleConfig(PaymentRuleConfig ruleConfig) {
|
||||||
|
PaymentRuleConfig paymentRuleConfig = selectRuleByRuleName(ruleConfig.getRuleName(), ruleConfig.getStoreId());
|
||||||
|
if (ObjectUtil.isNotEmpty(paymentRuleConfig) && !Objects.equals(paymentRuleConfig.getId(), ruleConfig.getId())){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int row = baseMapper.updateById(ruleConfig);
|
||||||
|
oilConfigService.deleteOilConfigByRuleId(ruleConfig.getId());
|
||||||
|
if (ObjectUtil.isNotEmpty(ruleConfig.getRuleList())){
|
||||||
|
for (OilConfig oilConfig : ruleConfig.getRuleList()) {
|
||||||
|
OilConfigVo oilConfigVo = new OilConfigVo();
|
||||||
|
BeanUtils.copyProperties(oilConfigVo,oilConfig);
|
||||||
|
oilConfigService.insertOilConfig(oilConfigVo);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return row;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int deletePaymentRuleConfig(PaymentRuleConfig ruleConfig) {
|
||||||
|
int row = baseMapper.deleteById(ruleConfig);
|
||||||
|
oilConfigService.deleteOilConfigByRuleId(ruleConfig.getId());
|
||||||
|
return row;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int enablePaymentRuleConfig(PaymentRuleConfig ruleConfig) {
|
||||||
|
QueryWrapper<PaymentRuleConfig> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("store_id",ruleConfig.getStoreId());
|
||||||
|
List<PaymentRuleConfig> list = baseMapper.selectList(queryWrapper);
|
||||||
|
for (PaymentRuleConfig paymentRuleConfig : list) {
|
||||||
|
paymentRuleConfig.setStatus("jy");
|
||||||
|
baseMapper.updateById(paymentRuleConfig);
|
||||||
|
}
|
||||||
|
int row = baseMapper.updateById(ruleConfig);
|
||||||
|
return row;
|
||||||
|
}
|
||||||
|
}
|
@ -76,6 +76,8 @@ public class AllOrderInfoServiceImpl extends ServiceImpl<AllOrderInfoMapper,AllO
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private OilOrderService orderService;
|
private OilOrderService orderService;
|
||||||
|
@Autowired
|
||||||
|
private ISysDeptService deptService;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
AllOrderInfoMapper allOrderInfoMapper;
|
AllOrderInfoMapper allOrderInfoMapper;
|
||||||
@ -1051,6 +1053,12 @@ public class AllOrderInfoServiceImpl extends ServiceImpl<AllOrderInfoMapper,AllO
|
|||||||
@Override
|
@Override
|
||||||
public Map<String, Object> getAmount(AllOrderInfoVo allOrderInfoVo) {
|
public Map<String, Object> getAmount(AllOrderInfoVo allOrderInfoVo) {
|
||||||
Map<String, Object> map = new HashMap<>();
|
Map<String, Object> map = new HashMap<>();
|
||||||
|
|
||||||
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
|
List<SysDeptVo> sysDeptVos = deptService.selectChildByDeptId(nowAccountInfo.getDeptId());
|
||||||
|
List<Integer> ids = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
Integer tradeTotal = ObjectUtil.isNotEmpty(baseMapper.selectTotal(allOrderInfoVo)) ? baseMapper.selectTotal(allOrderInfoVo) : 0;
|
Integer tradeTotal = ObjectUtil.isNotEmpty(baseMapper.selectTotal(allOrderInfoVo)) ? baseMapper.selectTotal(allOrderInfoVo) : 0;
|
||||||
Double tradeAmount = ObjectUtil.isNotEmpty(baseMapper.selectAllAmount(allOrderInfoVo)) ? baseMapper.selectAllAmount(allOrderInfoVo) : 0;
|
Double tradeAmount = ObjectUtil.isNotEmpty(baseMapper.selectAllAmount(allOrderInfoVo)) ? baseMapper.selectAllAmount(allOrderInfoVo) : 0;
|
||||||
allOrderInfoVo.setStatus("refund");
|
allOrderInfoVo.setStatus("refund");
|
||||||
|
@ -7,6 +7,8 @@ import com.fuint.framework.exception.BusinessCheckException;
|
|||||||
import com.fuint.framework.pagination.PaginationRequest;
|
import com.fuint.framework.pagination.PaginationRequest;
|
||||||
import com.fuint.framework.pagination.PaginationResponse;
|
import com.fuint.framework.pagination.PaginationResponse;
|
||||||
import com.fuint.business.store.entity.MtStore;
|
import com.fuint.business.store.entity.MtStore;
|
||||||
|
import com.fuint.system.dept.vo.SysDeptVo;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@ -116,4 +118,6 @@ public interface StoreService extends IService<MtStore> {
|
|||||||
List<Map<Object,Object>> getByStroeName(MtStore storeName);
|
List<Map<Object,Object>> getByStroeName(MtStore storeName);
|
||||||
|
|
||||||
Map<String,Object> getStoreTotal(LJStore store);
|
Map<String,Object> getStoreTotal(LJStore store);
|
||||||
|
|
||||||
|
List<Integer> getStoreIds(List<SysDeptVo> sysDeptVos);
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,7 @@ import com.fuint.repository.model.TAccount;
|
|||||||
import com.fuint.system.dept.entity.SysDept;
|
import com.fuint.system.dept.entity.SysDept;
|
||||||
import com.fuint.system.dept.mapper.SysDeptMapper;
|
import com.fuint.system.dept.mapper.SysDeptMapper;
|
||||||
import com.fuint.system.dept.service.ISysDeptService;
|
import com.fuint.system.dept.service.ISysDeptService;
|
||||||
|
import com.fuint.system.dept.vo.SysDeptVo;
|
||||||
import com.fuint.system.role.entity.TDuty;
|
import com.fuint.system.role.entity.TDuty;
|
||||||
import com.fuint.system.role.mapper.TDutyMapper;
|
import com.fuint.system.role.mapper.TDutyMapper;
|
||||||
import com.fuint.utils.StringUtil;
|
import com.fuint.utils.StringUtil;
|
||||||
@ -649,6 +650,15 @@ public class StoreServiceImpl extends ServiceImpl<MtStoreMapper, MtStore> implem
|
|||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Integer> getStoreIds(List<SysDeptVo> sysDeptVos) {
|
||||||
|
List<Integer> ids = new ArrayList<>();
|
||||||
|
for (SysDeptVo sysDeptVo : sysDeptVos) {
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 将在部门里面删除的在油站中删除
|
// 将在部门里面删除的在油站中删除
|
||||||
public void beachDelStore() {
|
public void beachDelStore() {
|
||||||
|
@ -15,8 +15,10 @@ import com.fuint.repository.mapper.TSourceMapper;
|
|||||||
import com.fuint.repository.model.TSource;
|
import com.fuint.repository.model.TSource;
|
||||||
import com.fuint.common.domain.TreeNode;
|
import com.fuint.common.domain.TreeNode;
|
||||||
import com.fuint.framework.exception.BusinessCheckException;
|
import com.fuint.framework.exception.BusinessCheckException;
|
||||||
|
import com.fuint.system.role.service.DutyService;
|
||||||
import com.fuint.utils.ArrayUtil;
|
import com.fuint.utils.ArrayUtil;
|
||||||
import com.fuint.utils.StringUtil;
|
import com.fuint.utils.StringUtil;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
@ -35,6 +37,8 @@ public class SourceServiceImpl extends ServiceImpl<TSourceMapper, TSource> imple
|
|||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private TSourceMapper tSourceMapper;
|
private TSourceMapper tSourceMapper;
|
||||||
|
@Autowired
|
||||||
|
private DutyService tDutyService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取有效的角色集合
|
* 获取有效的角色集合
|
||||||
@ -48,14 +52,26 @@ public class SourceServiceImpl extends ServiceImpl<TSourceMapper, TSource> imple
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<TSource> getButtonPermi(String path) {
|
public List<TSource> getButtonPermi(String path) {
|
||||||
List<TSource> byStatusButton = null;
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
|
List<Long> checkedKeys = tDutyService.getSourceIdsByDutyId(Integer.valueOf(nowAccountInfo.getRoleIds()));
|
||||||
|
if (path.startsWith("/")) {
|
||||||
|
path = path.substring(1);
|
||||||
|
}
|
||||||
|
List<TSource> byStatusButton = new ArrayList<>();
|
||||||
QueryWrapper queryWrapper = new QueryWrapper<>();
|
QueryWrapper queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("path",path);
|
queryWrapper.eq("path",path);
|
||||||
queryWrapper.eq("status","A");
|
queryWrapper.eq("status","A");
|
||||||
queryWrapper.eq("is_menu","1");
|
queryWrapper.eq("is_menu","1");
|
||||||
TSource tSource = baseMapper.selectOne(queryWrapper);
|
TSource tSource = baseMapper.selectOne(queryWrapper);
|
||||||
if (ObjectUtil.isNotEmpty(tSource)){
|
if (ObjectUtil.isNotEmpty(tSource)){
|
||||||
byStatusButton = tSourceMapper.findByStatusButton(tSource.getSourceId(), StatusEnum.ENABLED.getKey());
|
List<TSource> byStatusButton1 = tSourceMapper.findByStatusButton(tSource.getSourceId(), StatusEnum.ENABLED.getKey());
|
||||||
|
for (TSource source : byStatusButton1) {
|
||||||
|
for (Long checkedKey : checkedKeys) {
|
||||||
|
if (checkedKey.compareTo(Long.valueOf(source.getSourceId()))==0){
|
||||||
|
byStatusButton.add(source);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return byStatusButton;
|
return byStatusButton;
|
||||||
}
|
}
|
||||||
|
@ -257,6 +257,12 @@ public class BackendSourceController extends BaseController {
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DutyService tDutyService;
|
private DutyService tDutyService;
|
||||||
|
|
||||||
|
@GetMapping("/getButtonPermi")
|
||||||
|
public ResponseObject getButtonPermi(TSource tSource){
|
||||||
|
return getSuccessResult(sourceService.getButtonPermi(tSource.getPath()));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取菜单下拉树列表
|
* 获取菜单下拉树列表
|
||||||
* */
|
* */
|
||||||
|
Loading…
Reference in New Issue
Block a user