在Ec项目中我们提供1个sdkService用来查询渠道档案,具体用法如下
代码语言:javascript复制// 查询例子
StockChannelEntity channelEntity = sdkService.findById(request.getChannelId());
代码语言:javascript复制// 注解例子
@Autowired
private IStockChannelService sdkService;
出参信息如下:
代码语言:javascript复制/** 渠道编号 */
@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;