ruoyi若依框架中货道关联商品
创始人
2024-09-25 22:23:57
0

货道



 

// ********************货道********************

// 货道组件

import ChannelDialog from './components/ChannelDialog.vue';

const goodVisible = ref(false); //货道弹层显示隐藏

const goodData = ref({}); //货道信息用来拿取 vmTypeId和innerCode

// 打开货道弹层

const handleGoods = (row) => {

  goodVisible.value = true;

  goodData.value = row;

};

// 关闭货道弹层

const handleCloseGood = () => {

  goodVisible.value = false;

};

// ********************货道end********************


 

 

 controller层

/**
*根据货道编号查询货道列表
*/
@PreAuthorize("@ss.hasPermi('manage:channel:list')")
@GetMapping("/list/{innerCode}")
public AjaxResult liseByInnerCode(@PathVariable String innerCode){
List voList = channelService.selectChannelVoList(innerCode);
return success(voList);
}

mapper层


/**
* 根据售货机编号查询货道列表
* @param innerCode
* @return ChannelVo集合
*/
ListselectChannelVoList(String innerCode);
}

service层

/**
* 根据售货机编号查询货道列表
* @param innerCode
* @return ChannelVo集合
*/
ListselectChannelVoList(String innerCode);
}

serviceImpl

/**
* 根据售货机编号查询货道列表
* @param innerCode
* @return ChannelVo集合
*/
@Override
public List selectChannelVoList(String innerCode) {
return channelMapper.selectChannelVoList(innerCode);
}

ChannelVo

package com.dkd.manage.domain.vo;

import com.dkd.manage.domain.Channel;
import com.dkd.manage.domain.Sku;
import lombok.Data;

@Data
public class ChannelVo extends Channel {
//商品对象
private Sku sku;
}

相关内容

热门资讯

透视玄学!wepoker私人局... 透视玄学!wepoker私人局辅助挂(透视)都是是有挂(黑科技教程);1、下载好wepoker私人局...
免费广东雀神智能插件安装,微信... 免费广东雀神智能插件安装,微信小程序辅助工具,财神十三章怎样加强运气工具1、微信小程序辅助工具透视辅...
透视软件!aapoker透视脚... 透视软件!aapoker透视脚本入口,aapoker发牌逻辑,必胜教程(有挂工具)1、构建自己的aa...
透视安装!wepoker作弊视... 透视安装!wepoker作弊视频(透视)果然有挂(可靠技巧)1、进入游戏-大厅左侧-新手福利-激活码...
广东雀神智能插件安装价格,中至... 广东雀神智能插件安装价格,中至江西插件,爱来掌中宝辅助器插件;1、金币登录送、破产送、升级送、活动送...
透视透视!aapoker能控制... 透视透视!aapoker能控制牌吗,aapoker辅助怎么用,2025版教程(有挂解说);1、用户打...
透视辅助!aapoker怎么拿... 透视辅助!aapoker怎么拿好牌,aapoker免费透视脚本,存在挂教程(有挂黑科技);1、透视辅...
小程序广东雀神智能插件免费,开... 小程序广东雀神智能插件免费,开心泉州小程序辅助免费下载,白金岛手游的作弊码细节1、小程序广东雀神智能...
透视数据!wepoker怎么买... 透视数据!wepoker怎么买辅助(透视)一直真的是有挂(玩家教程)1、每一步都需要思考,不同水平的...
透视了解!aapoker怎么控... 透视了解!aapoker怎么控制牌,aapoker辅助软件合法吗,解密教程(有挂辅助)1、任何aap...