当前位置:首页 > 大杂烩 > 正文内容

x2-300中如何根据渠道编号查询渠道档案

高老师5个月前 (09-10)大杂烩100

在Ec项目中我们提供1个sdkService用来查询渠道档案,具体用法如下

// 查询例子
StockChannelEntity channelEntity = sdkService.findById(request.getChannelId());
// 注解例子
@Autowired
private IStockChannelService sdkService;

出参信息如下:

/** 渠道编号 */
@ApiModelProperty(name = "渠道编号[PK]", dataType = "String(4)", required = true, notes = "渠道编号")
private String channelId;

/** 渠道名称 */
@ApiModelProperty(name = "渠道名称", dataType = "String(50)", required = false, notes = "渠道名称")
private String channelName;

/** 状态(0-停用,1-启用) */
@ApiModelProperty(name = "状态", dataType = "Integer(2)", required = false, notes = "状态(0-停用,1-启用)")
private Integer channelState;

/** 全渠道编号 */
@ApiModelProperty(name = "全渠道编号", dataType = "String", required = false, notes = "全渠道编号")
private String organId;

/** 库存共享比例(0~100) */
@ApiModelProperty(name = "库存共享比例", dataType = "BigDecimal(12,6)", required = false, notes = "库存共享比例(0~100)")
private BigDecimal stockSaleRatio;

/** 共享安全库存 */
@ApiModelProperty(name = "共享安全库存", dataType = "BigDecimal(12,2)", required = false, notes = "共享安全库存")
private BigDecimal stockSaleFrozen;

/** 库存发货比例(0~100) */
@ApiModelProperty(name = "库存发货比例", dataType = "BigDecimal(12,6)", required = false, notes = "库存发货比例(0~100)")
private BigDecimal stockSendRatio;

/** 发货安全库存 */
@ApiModelProperty(name = "发货安全库存", dataType = "BigDecimal(12,2)", required = false, notes = "发货安全库存")
private BigDecimal stockSendFrozen;

/** 占用共有标识符 */
@ApiModelProperty(name = "占用共有标识符", dataType = "BigDecimal", required = false, notes = "占用共有标识符")
private String shareOccIdentifier;

/** 备注 */
@ApiModelProperty(name = "备注", dataType = "String(200)", required = false, notes = "备注")
private String channelRemark;

档案的数据是保存在oc_stock_channel中,实体类在StockChannelArchiveTable中


扫描二维码推送至手机访问。

版权声明:本文由高久峰个人博客发布,如需转载请注明出处。

本文链接:https://blog.20230611.cn/post/827.html

分享给朋友:

“x2-300中如何根据渠道编号查询渠道档案” 的相关文章

svn自动更新到网站

svn自动更新到网站

【一】.钩子文件的设置和创建(1).打开hooks目录,可以看到有一个post-commit.tmpl文件,这是一个模板文件。复制一份,重命名为post-commit,将其用户组设为www,并设置为可执行。chown www:www post-commitchmod +x post-commit(2...

Git本地仓库学习

Git本地仓库学习

1.全局用户信息设置 git  config  --global  user.name  gaojiufeng git  config  --global  user.email  392223903...

Git推送文件到远程仓库

Git推送文件到远程仓库

1.远程仓库的协作模式开发者把自己最新的版本推到线上仓库,同时把线上仓库的最新代码,拉到自己本地即可2.注册git帐号国外: http://www.github.com国内: http://git.oschina.net2.在码云创建项目,不要初始化readmegit push https://gi...

Git日志查看和版本切换

Git日志查看和版本切换

日志查看:git log版本切换:方式1:git  reset  --hard  HEAD^   倒退一个版本git  reset  --hard  HEAD^^  倒退两个版本方式2:(版本号的形式,建议版本号码补充完...

IE浏览器无法显示此页解决方案

IE浏览器无法显示此页解决方案

方案1.IE浏览器"无法显示此页"的解决办法(1).按下Win+R键打开运行,输入netsh winsock reset,回车;(2).重启即可. 方案2.IE浏览器"无法显示此页"的解决办法 (1).设置-连接-局域网设置-自动检测设置开...

redis安装教程

redis安装教程

1.文件redis-2.6.14.tar.gz的上传 /home/john/创建rdtar文件夹 上传redis-2.6.14.tar.gz至rdtar文件夹  2.解压文件  cd /home/john/rdtar tar &n...