渠道库存规则表数据储存在oc_stockch_rule表中,对应的实体类是StockchRuleTable,出参信息:
/** 规则编号(渠道编号.分组编号.店铺编号.商品编号(SPU/SKC/SKU)) */ @Id @Column(name = "rule_id", nullable = false, length = 100) @ApiModelProperty(name = "规则编号[PK]", dataType = "String", required = true, notes = "规则编号(渠道编号.分组编号.店铺编号.商品编号(SPU/SKC/SKU))") private String ruleId; /** 渠道编号 */ @Column(name = "channel_id", length = 4) @ApiModelProperty(name = "渠道编号", dataType = "String", required = false, notes = "渠道编号") private String channelId; /** 库存分组编号(与 oc_store_group.group_id 对应) */ @Column(name = "group_id", length = 4) @ApiModelProperty(name = "库存分组编号", dataType = "String", required = false, notes = "库存分组编号(与 oc_store_group.group_id 对应)") private String groupId; /** 维度(0-分组,1-店铺,2-款式,3-SKC,4-SKU;维度越大优先级越高) */ @Column(name = "rule_dimension", precision = 2) @ApiModelProperty(name = "维度", dataType = "Integer", required = false, notes = "维度(0-分组,1-店铺,2-款式,3-SKC,4-SKU;维度越大优先级越高)") private Integer ruleDimension; /** 店铺编号 */ @Column(name = "depot_id", length = 20) @ApiModelProperty(name = "店铺编号", dataType = "String", required = false, notes = "店铺编号") private String depotId; /** 商品编号 */ @Column(name = "goods_id", length = 50) @ApiModelProperty(name = "商品编号", dataType = "String", required = false, notes = "商品编号") private String goodsId; /** 库存共享比例(0~100) */ @Column(name = "stock_sale_ratio", precision = 12, scale = 6) @ApiModelProperty(name = "库存共享比例", dataType = "BigDecimal", required = false, notes = "库存共享比例(0~100)") private BigDecimal stockSaleRatio; /** 共享安全库存 */ @Column(name = "stock_sale_frozen", precision = 12, scale = 2) @ApiModelProperty(name = "共享安全库存", dataType = "BigDecimal", required = false, notes = "共享安全库存") private BigDecimal stockSaleFrozen; /** 库存发货比例 */ @Column(name = "stock_send_ratio", precision = 12, scale = 6) @ApiModelProperty(name = "库存发货比例", dataType = "BigDecimal", required = false, notes = "库存发货比例") private BigDecimal stockSendRatio; /** 发货安全库存 */ @Column(name = "stock_send_frozen", precision = 12, scale = 2) @ApiModelProperty(name = "发货安全库存", dataType = "BigDecimal", required = false, notes = "发货安全库存") private BigDecimal stockSendFrozen; /** 绑定方案编号 */ @Column(name = "scheme_id", length = 20) @ApiModelProperty(name = "绑定方案编号", dataType = "Long", required = false, notes = "绑定方案编号") private Long schemeId; /** 修改单号 */ @Column(name = "bill_id", length = 20) @ApiModelProperty(name = "修改单号", dataType = "String", required = false, notes = "修改单号") private String billId; /** 分组安全库存(渠道+分组的安全库存,不应用于店铺) */ @Column(name = "group_stock_frozen", nullable = false, precision = 12, scale = 2) @ApiModelProperty(name = "分组安全库存", dataType = "BigDecimal", required = true, notes = "分组安全库存(渠道+分组的安全库存,不应用于店铺)") private BigDecimal groupStockFrozen; /** 分组共享比例(渠道+分组的共享比例,不应用于店铺) */ @Column(name = "group_stock_ratio", precision = 12, scale = 2) @ApiModelProperty(name = "分组共享比例", dataType = "BigDecimal", required = true, notes = "分组共享比例(渠道+分组的共享比例,不应用于店铺)") private BigDecimal groupStockRatio; /** 来源类型,0-分组方案、1-店铺方案计算、2-款式方案计算、3-skc方案计算、4-sku方案计算、10-原始规则 */ @Column(name = "origin_type", precision = 4) @ApiModelProperty(name = "来源类型", dataType = "Integer", notes = "来源类型,0-分组方案、1-店铺方案计算、2-款式方案计算、3-skc方案计算、4-sku方案计算、10-原始规则") private Integer originType; /** 原始共享比例(0~100) */ @Column(name = "origin_sale_ratio", precision = 12, scale = 6) @ApiModelProperty(name = "原始共享比例", dataType = "BigDecimal", required = false, notes = "原始共享比例(0~100)") private BigDecimal originSaleRatio; /** 原始安全库存 */ @Column(name = "origin_sale_frozen", precision = 12, scale = 2) @ApiModelProperty(name = "原始安全库存", dataType = "BigDecimal", required = false, notes = "原始安全库存") private BigDecimal originSaleFrozen; /** 备注 */ @Column(name = "rule_remark", length = 200) @ApiModelProperty(name = "备注", dataType = "String", required = false, notes = "备注") private String ruleRemark;
c#中string和StringBuilder直接看看执行速度。(2).String类型累计赋值Test  ...
【一】.钩子文件的设置和创建(1).打开hooks目录,可以看到有一个post-commit.tmpl文件,这是一个模板文件。复制一份,重命名为post-commit,将其用户组设为www,并设置为可执行。chown www:www post-commitchmod +x post-commit(2...
1.全局用户信息设置 git config --global user.name gaojiufeng git config --global user.email 392223903...
1.远程仓库的协作模式开发者把自己最新的版本推到线上仓库,同时把线上仓库的最新代码,拉到自己本地即可2.注册git帐号国外: http://www.github.com国内: http://git.oschina.net2.在码云创建项目,不要初始化readmegit push https://gi...
1.关机Process.Start("shutdown", "-s -t 0"); 2. 注销 Proc...
public static string GetMD5(string str) { //创建MD5对象 MD5 md5 = MD5.C...