记得上下班打卡 | git大法好,push需谨慎

Commit 807cfcf3 authored by 张国柄's avatar 张国柄

+ios.products;

parent 3d900715
...@@ -3,6 +3,11 @@ package com.liquidnet.service.goblin.constant; ...@@ -3,6 +3,11 @@ package com.liquidnet.service.goblin.constant;
public class GoblinRedisConst { public class GoblinRedisConst {
public static final String PREFIX = "goblin:"; public static final String PREFIX = "goblin:";
/* ----------------------------------------------------------------- */ /* ----------------------------------------------------------------- */
/**
* IOS商品价格集
* {goblin:bsc:lib:ios_products, JsonNode}
*/
public static final String BASIC_LIB_IOS_PRODUCTS = PREFIX.concat("bsc:lib:ios_products");
/** /**
* 认证中店铺UID关系缓存 * 认证中店铺UID关系缓存
* {goblin:bsc:ustore:${uid}, List<store_id>} * {goblin:bsc:ustore:${uid}, List<store_id>}
......
...@@ -62,10 +62,6 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable { ...@@ -62,10 +62,6 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable {
// @NotNull(message = "线上库存不能为空") // @NotNull(message = "线上库存不能为空")
@Min(value = 0, message = "线上库存必须大于0") @Min(value = 0, message = "线上库存必须大于0")
private Integer stock; private Integer stock;
// @ApiModelProperty(position = 21, required = true, value = "兑换库存")
// @NotNull(message = "兑换库存不能为空")
// @Min(value = 0, message = "兑换库存必须大于0")
// private Integer giftStock;
@ApiModelProperty(position = 22, required = false, value = "概率[0.01~100%],`unbox=1`时有效", example = "0") @ApiModelProperty(position = 22, required = false, value = "概率[0.01~100%],`unbox=1`时有效", example = "0")
@DecimalMin(value = "0", message = "概率超出可填范围0~100") @DecimalMin(value = "0", message = "概率超出可填范围0~100")
private BigDecimal hitRatio; private BigDecimal hitRatio;
...@@ -73,6 +69,9 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable { ...@@ -73,6 +69,9 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable {
@NotNull(message = "藏品价格不能为空") @NotNull(message = "藏品价格不能为空")
@DecimalMin(value = "0.01", message = "藏品价格必须大于0") @DecimalMin(value = "0.01", message = "藏品价格必须大于0")
private BigDecimal price; private BigDecimal price;
@ApiModelProperty(position = 23, required = true, value = "IOS价格ID[20]", example = "NGoods1")
// @NotNull(message = "IOS价格ID不能为空")// TODO: 2022/4/8 ==zhanggb
private String productId;
// @ApiModelProperty(position = 24, required = false, value = "藏品会员价格[20,2]", example = "0") // @ApiModelProperty(position = 24, required = false, value = "藏品会员价格[20,2]", example = "0")
// @DecimalMin(value = "0.01", message = "藏品会员价格必须大于0") // @DecimalMin(value = "0.01", message = "藏品会员价格必须大于0")
// private BigDecimal priceMember; // private BigDecimal priceMember;
...@@ -151,6 +150,7 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable { ...@@ -151,6 +150,7 @@ public class GoblinStoreMgtDigitalGoodsAddSkuParam implements Serializable {
initVo.setSkuWatch(this.getSkuWatch()); initVo.setSkuWatch(this.getSkuWatch());
initVo.setWatchType(this.getWatchType()); initVo.setWatchType(this.getWatchType());
initVo.setPrice(this.getPrice()); initVo.setPrice(this.getPrice());
initVo.setProductId(this.getProductId());
initVo.setPriceMember(this.getPrice()); initVo.setPriceMember(this.getPrice());
initVo.setIntro(this.getIntro()); initVo.setIntro(this.getIntro());
initVo.setDetails(this.getDetails()); initVo.setDetails(this.getDetails());
......
...@@ -47,8 +47,6 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable { ...@@ -47,8 +47,6 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
private Integer stock; private Integer stock;
@ApiModelProperty(position = 18, value = "单品库存") @ApiModelProperty(position = 18, value = "单品库存")
private Integer skuStock; private Integer skuStock;
// @ApiModelProperty(position = 18, value = "兑换库存")
// private Integer giftStock;
@ApiModelProperty(position = 18, value = "盲盒命中率[0.01~100%]") @ApiModelProperty(position = 18, value = "盲盒命中率[0.01~100%]")
private BigDecimal hitRatio; private BigDecimal hitRatio;
@ApiModelProperty(position = 19, value = "预警库存") @ApiModelProperty(position = 19, value = "预警库存")
...@@ -57,6 +55,10 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable { ...@@ -57,6 +55,10 @@ public class GoblinGoodsSkuInfoVo implements Serializable, Cloneable {
private BigDecimal sellPrice; private BigDecimal sellPrice;
@ApiModelProperty(position = 21, value = "单品现价[20,2]") @ApiModelProperty(position = 21, value = "单品现价[20,2]")
private BigDecimal price; private BigDecimal price;
@ApiModelProperty(position = 21, value = "IOS商品价格[20,2]")
private BigDecimal priceV;
@ApiModelProperty(position = 21, value = "IOS商品价格ID")
private String productId;
@ApiModelProperty(position = 22, value = "单品会员价格[20,2]") @ApiModelProperty(position = 22, value = "单品会员价格[20,2]")
private BigDecimal priceMember; private BigDecimal priceMember;
@ApiModelProperty(position = 23, value = "单品的重量[20,2]") @ApiModelProperty(position = 23, value = "单品的重量[20,2]")
......
...@@ -82,11 +82,6 @@ public class GoblinGoodsSku implements Serializable { ...@@ -82,11 +82,6 @@ public class GoblinGoodsSku implements Serializable {
*/ */
private Integer skuStock; private Integer skuStock;
// /**
// * 兑换库存
// */
// private Integer giftStock;
/** /**
* 预警库存 * 预警库存
*/ */
...@@ -97,6 +92,16 @@ public class GoblinGoodsSku implements Serializable { ...@@ -97,6 +92,16 @@ public class GoblinGoodsSku implements Serializable {
*/ */
private BigDecimal price; private BigDecimal price;
/**
* IOS商品价格
*/
private BigDecimal priceV;
/**
* IOS商品价格ID
*/
private String productId;
/** /**
* 单品会员价格 * 单品会员价格
*/ */
......
...@@ -18,6 +18,8 @@ alter table goblin_goods_sku add intro varchar(256) null comment '简介' after ...@@ -18,6 +18,8 @@ alter table goblin_goods_sku add intro varchar(256) null comment '简介' after
alter table goblin_goods_sku add details text null comment '详情' after intro; alter table goblin_goods_sku add details text null comment '详情' after intro;
# alter table goblin_goods_sku add gift_stock int null comment '兑换库存' after sku_stock; # alter table goblin_goods_sku add gift_stock int null comment '兑换库存' after sku_stock;
alter table goblin_goods_sku add price_v decimal(20, 2) null comment '苹果商品价格' after price;
alter table goblin_goods_sku add product_id varchar(20) null comment '苹果商品价格ID' after price_v;
alter table goblin_goods_sku add shelves_handle char default '1' comment '上架处理方式[1-等待手动上架|2-直接上架售卖|3-预约定时上架]' after store_id; alter table goblin_goods_sku add shelves_handle char default '1' comment '上架处理方式[1-等待手动上架|2-直接上架售卖|3-预约定时上架]' after store_id;
alter table goblin_goods_sku add shelves_time datetime null comment '预约上架时间[上架处理方式为3-预约定时上架时需要指定]' after shelves_handle; alter table goblin_goods_sku add shelves_time datetime null comment '预约上架时间[上架处理方式为3-预约定时上架时需要指定]' after shelves_handle;
alter table goblin_goods_sku add sale_start_time datetime null comment '开售时间' after shelves_time; alter table goblin_goods_sku add sale_start_time datetime null comment '开售时间' after shelves_time;
......
package com.liquidnet.service.goblin.controller.manage; package com.liquidnet.service.goblin.controller.manage;
import com.fasterxml.jackson.databind.JsonNode;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.xiaoymin.knife4j.annotations.ApiSupport; import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import com.liquidnet.service.base.ResponseDto; import com.liquidnet.service.base.ResponseDto;
...@@ -79,4 +80,11 @@ public class GoblinStoreMgtExtraController { ...@@ -79,4 +80,11 @@ public class GoblinStoreMgtExtraController {
@RequestParam(defaultValue = "1,2,3,4") String range) { @RequestParam(defaultValue = "1,2,3,4") String range) {
return ResponseDto.success(goblinStoreMgtExtraService.listTagVo(keyword, belong, range.split(","))); return ResponseDto.success(goblinStoreMgtExtraService.listTagVo(keyword, belong, range.split(",")));
} }
@ApiOperationSupport(order = 5)
@ApiOperation(value = "IOS商品价格")
@GetMapping("ios_products")
public ResponseDto<JsonNode> iosProducts() {
return ResponseDto.success(goblinRedisUtils.getIosProducts());
}
} }
...@@ -2,6 +2,7 @@ package com.liquidnet.service.goblin.controller.manage; ...@@ -2,6 +2,7 @@ package com.liquidnet.service.goblin.controller.manage;
import com.alibaba.excel.EasyExcel; import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.support.ExcelTypeEnum; import com.alibaba.excel.support.ExcelTypeEnum;
import com.fasterxml.jackson.databind.JsonNode;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.xiaoymin.knife4j.annotations.ApiSupport; import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import com.liquidnet.common.exception.constant.ErrorCode; import com.liquidnet.common.exception.constant.ErrorCode;
...@@ -1036,6 +1037,13 @@ public class GoblinStoreMgtGoodsController { ...@@ -1036,6 +1037,13 @@ public class GoblinStoreMgtGoodsController {
if (goodsInfoVo.getSpuType() == 0) { if (goodsInfoVo.getSpuType() == 0) {
return ResponseDto.failure(ErrorCode.HTTP_PARAM_ERROR.getCode(), "无效操作,该商品非数字藏品"); return ResponseDto.failure(ErrorCode.HTTP_PARAM_ERROR.getCode(), "无效操作,该商品非数字藏品");
} }
if (StringUtils.isBlank(mgtDigitalGoodsAddSkuParam.getProductId())) {// TODO: 2022/4/8 ==zhanggb
mgtDigitalGoodsAddSkuParam.setProductId("NGoods1");
}
JsonNode priceV = goblinRedisUtils.getIosProducts().get(mgtDigitalGoodsAddSkuParam.getProductId());
if (null == priceV) {
return ResponseDto.failure(ErrorCode.HTTP_PARAM_ERROR.getCode(), "无效的IOS商品ID");
}
String unbox = mgtDigitalGoodsAddSkuParam.getUnbox(); String unbox = mgtDigitalGoodsAddSkuParam.getUnbox();
boolean notUnboxFlg = StringUtils.isEmpty(unbox) || unbox.equals("0"); boolean notUnboxFlg = StringUtils.isEmpty(unbox) || unbox.equals("0");
if (notUnboxFlg) {// 非盲盒校验 if (notUnboxFlg) {// 非盲盒校验
...@@ -1072,6 +1080,7 @@ public class GoblinStoreMgtGoodsController { ...@@ -1072,6 +1080,7 @@ public class GoblinStoreMgtGoodsController {
log.debug("商品管理:商品编辑:SKU添加:[GoblinStoreMgtGoodsEditSkuParam={}]", JsonUtils.toJson(mgtDigitalGoodsAddSkuParam)); log.debug("商品管理:商品编辑:SKU添加:[GoblinStoreMgtGoodsEditSkuParam={}]", JsonUtils.toJson(mgtDigitalGoodsAddSkuParam));
} }
GoblinGoodsSkuInfoVo initGoodsSkuInfoVo = mgtDigitalGoodsAddSkuParam.initAddGoodsSkuInfoVo(notUnboxFlg); GoblinGoodsSkuInfoVo initGoodsSkuInfoVo = mgtDigitalGoodsAddSkuParam.initAddGoodsSkuInfoVo(notUnboxFlg);
initGoodsSkuInfoVo.setPriceV(priceV.decimalValue());
{// 标签处理 {// 标签处理
List<String> paramExtagList = mgtDigitalGoodsAddSkuParam.getExtagList(); List<String> paramExtagList = mgtDigitalGoodsAddSkuParam.getExtagList();
if (!CollectionUtils.isEmpty(paramExtagList)) { if (!CollectionUtils.isEmpty(paramExtagList)) {
......
...@@ -1006,11 +1006,11 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi ...@@ -1006,11 +1006,11 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
initGoodsSkuObjs.add(new Object[]{ initGoodsSkuObjs.add(new Object[]{
skuId, spuId, initGoodsSkuInfoVo.getSkuNo(), initGoodsSkuInfoVo.getSkuType(), initGoodsSkuInfoVo.getName(), skuId, spuId, initGoodsSkuInfoVo.getSkuNo(), initGoodsSkuInfoVo.getSkuType(), initGoodsSkuInfoVo.getName(),
initGoodsSkuInfoVo.getSubtitle(), initGoodsSkuInfoVo.getSkuPic(), initGoodsSkuInfoVo.getSkuWatch(), initGoodsSkuInfoVo.getWatchType(), initGoodsSkuInfoVo.getStock(), initGoodsSkuInfoVo.getSubtitle(), initGoodsSkuInfoVo.getSkuPic(), initGoodsSkuInfoVo.getSkuWatch(), initGoodsSkuInfoVo.getWatchType(), initGoodsSkuInfoVo.getStock(),
initGoodsSkuInfoVo.getSkuStock(), initGoodsSkuInfoVo.getHitRatio(), initGoodsSkuInfoVo.getPrice(), initGoodsSkuInfoVo.getPriceMember(), initGoodsSkuInfoVo.getIntro(), initGoodsSkuInfoVo.getSkuStock(), initGoodsSkuInfoVo.getHitRatio(), initGoodsSkuInfoVo.getPrice(), initGoodsSkuInfoVo.getPriceV(), initGoodsSkuInfoVo.getProductId(),
initGoodsSkuInfoVo.getDetails(), initGoodsSkuInfoVo.getBuyFactor(), initGoodsSkuInfoVo.getBuyLimit(), initGoodsSkuInfoVo.getStoreId(), initGoodsSkuInfoVo.getShelvesHandle(), initGoodsSkuInfoVo.getPriceMember(), initGoodsSkuInfoVo.getIntro(), initGoodsSkuInfoVo.getDetails(), initGoodsSkuInfoVo.getBuyFactor(), initGoodsSkuInfoVo.getBuyLimit(),
initGoodsSkuInfoVo.getShelvesTime(), initGoodsSkuInfoVo.getSaleStartTime(), initGoodsSkuInfoVo.getVirtualFlg(), initGoodsSkuInfoVo.getStatus(), initGoodsSkuInfoVo.getShelvesStatus(), initGoodsSkuInfoVo.getStoreId(), initGoodsSkuInfoVo.getShelvesHandle(), initGoodsSkuInfoVo.getShelvesTime(), initGoodsSkuInfoVo.getSaleStartTime(), initGoodsSkuInfoVo.getVirtualFlg(),
initGoodsSkuInfoVo.getSkuAppear(), initGoodsSkuInfoVo.getSkuCanbuy(), initGoodsSkuInfoVo.getUnbox(), initGoodsSkuInfoVo.getOpeningTime(), initGoodsSkuInfoVo.getStatus(), initGoodsSkuInfoVo.getShelvesStatus(), initGoodsSkuInfoVo.getSkuAppear(), initGoodsSkuInfoVo.getSkuCanbuy(), initGoodsSkuInfoVo.getUnbox(),
uid, now initGoodsSkuInfoVo.getOpeningTime(), uid, now
}); });
toMqSqls.add(SqlMapping.get("goblin_goods_sku_nft.insert_for_digital")); toMqSqls.add(SqlMapping.get("goblin_goods_sku_nft.insert_for_digital"));
LinkedList<Object[]> initGoodsSkuNftObjs = CollectionUtil.linkedListObjectArr(); LinkedList<Object[]> initGoodsSkuNftObjs = CollectionUtil.linkedListObjectArr();
......
package com.liquidnet.service.goblin.util; package com.liquidnet.service.goblin.util;
import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonNode;
import com.liquidnet.common.cache.redis.util.RedisUtil; import com.liquidnet.common.cache.redis.util.RedisUtil;
import com.liquidnet.commons.lang.util.CollectionUtil; import com.liquidnet.commons.lang.util.CollectionUtil;
import com.liquidnet.commons.lang.util.JsonUtils; import com.liquidnet.commons.lang.util.JsonUtils;
...@@ -110,6 +111,68 @@ public class GoblinRedisUtils { ...@@ -110,6 +111,68 @@ public class GoblinRedisUtils {
} }
} }
/* ---------------------------------------- IOS商品价格集 ---------------------------------------- */
public JsonNode getIosProducts() {
JsonNode val = (JsonNode) redisUtil.get(GoblinRedisConst.BASIC_LIB_IOS_PRODUCTS);
if (null == val) {
val = JsonUtils.OM().createArrayNode()
.add(JsonUtils.OM().createObjectNode().put("NGoods1", 1.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods3", 3.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods6", 6.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods8", 8.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods12", 12.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods18", 18.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods25", 25.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods28", 28.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods30", 30.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods40", 40.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods45", 45.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods50", 50.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods60", 60.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods68", 68.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods73", 73.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods78", 78.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods88", 88.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods93", 93.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods98", 98.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods108", 108.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods113", 113.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods118", 118.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods123", 123.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods128", 128.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods138", 138.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods148", 148.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods153", 153.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods158", 158.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods163", 163.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods168", 168.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods178", 178.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods188", 188.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods193", 193.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods198", 198.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods208", 208.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods218", 218.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods223", 223.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods228", 228.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods233", 233.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods238", 238.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods243", 243.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods248", 248.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods253", 253.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods258", 258.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods263", 263.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods268", 268.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods273", 273.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods278", 278.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods283", 283.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods288", 288.00))
.add(JsonUtils.OM().createObjectNode().put("NGoods298", 298.00));
redisUtil.set(GoblinRedisConst.BASIC_LIB_IOS_PRODUCTS, val);
}
return val;
}
/* ---------------------------------------- 平台标签数据源 ---------------------------------------- */ /* ---------------------------------------- 平台标签数据源 ---------------------------------------- */
/** /**
......
...@@ -47,7 +47,7 @@ goblin_goods.update_by_del_store=UPDATE goblin_goods SET del_flg='1',updated_by= ...@@ -47,7 +47,7 @@ goblin_goods.update_by_del_store=UPDATE goblin_goods SET del_flg='1',updated_by=
goblin_goods.update_by_del=UPDATE goblin_goods SET del_flg='1',updated_by=?,updated_at=?,deleted_by=?,deleted_at=? WHERE spu_id=? AND del_flg='0' goblin_goods.update_by_del=UPDATE goblin_goods SET del_flg='1',updated_by=?,updated_at=?,deleted_by=?,deleted_at=? WHERE spu_id=? AND del_flg='0'
goblin_goods_sku.insert=INSERT INTO goblin_goods_sku (sku_id,spu_id,sku_no,name,subtitle, sell_price,sku_pic,sku_isbn,stock,sku_stock, warning_stock,price,price_member,weight,buy_factor, buy_roster,buy_limit,store_id,sku_validity,virtual_flg, status,shelves_status,sku_appear,shelves_at,created_by, created_at,logistics_template)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) goblin_goods_sku.insert=INSERT INTO goblin_goods_sku (sku_id,spu_id,sku_no,name,subtitle, sell_price,sku_pic,sku_isbn,stock,sku_stock, warning_stock,price,price_member,weight,buy_factor, buy_roster,buy_limit,store_id,sku_validity,virtual_flg, status,shelves_status,sku_appear,shelves_at,created_by, created_at,logistics_template)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
goblin_goods_sku.insert_for_digital=INSERT INTO goblin_goods_sku (sku_id,spu_id,sku_no,sku_type,name,subtitle,sku_pic,sku_watch,watch_type,stock,sku_stock,hit_ratio,price,price_member,intro,details,buy_factor,buy_limit,store_id,shelves_handle,shelves_time,sale_start_time,virtual_flg,status,shelves_status,sku_appear,sku_canbuy,unbox,opening_time,created_by,created_at)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) goblin_goods_sku.insert_for_digital=INSERT INTO goblin_goods_sku (sku_id,spu_id,sku_no,sku_type,name,subtitle,sku_pic,sku_watch,watch_type,stock,sku_stock,hit_ratio,price,price_v,product_id,price_member,intro,details,buy_factor,buy_limit,store_id,shelves_handle,shelves_time,sale_start_time,virtual_flg,status,shelves_status,sku_appear,sku_canbuy,unbox,opening_time,created_by,created_at)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
goblin_goods_sku.update_by_edit_for_market=UPDATE goblin_goods_sku SET name=?,sku_pic=?,sell_price=?,weight=?,stock=?,warning_stock=?,sku_appear=?,sku_isbn=?,sku_validity=?,updated_by=?,updated_at=? WHERE sku_id=? AND del_flg='0' goblin_goods_sku.update_by_edit_for_market=UPDATE goblin_goods_sku SET name=?,sku_pic=?,sell_price=?,weight=?,stock=?,warning_stock=?,sku_appear=?,sku_isbn=?,sku_validity=?,updated_by=?,updated_at=? WHERE sku_id=? AND del_flg='0'
goblin_goods_sku.update_by_edit=UPDATE goblin_goods_sku SET name=?,sku_pic=?,sell_price=?,price=?,price_member=?,weight=?,stock=?,sku_stock=?,warning_stock=?,sku_appear=?,sku_isbn=?,buy_factor=?,buy_roster=?,buy_limit=?,sku_validity=?,updated_by=?,updated_at=? WHERE sku_id=? AND del_flg='0' goblin_goods_sku.update_by_edit=UPDATE goblin_goods_sku SET name=?,sku_pic=?,sell_price=?,price=?,price_member=?,weight=?,stock=?,sku_stock=?,warning_stock=?,sku_appear=?,sku_isbn=?,buy_factor=?,buy_roster=?,buy_limit=?,sku_validity=?,updated_by=?,updated_at=? WHERE sku_id=? AND del_flg='0'
goblin_goods_sku.update_by_edit_for_digital=UPDATE goblin_goods_sku SET hit_ratio=?,buy_factor=?,buy_limit=?,sku_appear=?,sku_canbuy=?,shelves_handle=?,shelves_time=?,sale_start_time=?,updated_by=?,updated_at=? WHERE sku_id=? AND del_flg='0' goblin_goods_sku.update_by_edit_for_digital=UPDATE goblin_goods_sku SET hit_ratio=?,buy_factor=?,buy_limit=?,sku_appear=?,sku_canbuy=?,shelves_handle=?,shelves_time=?,sale_start_time=?,updated_by=?,updated_at=? WHERE sku_id=? AND del_flg='0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment