Commit fa61a757 by weijiguang

下单时校验订单中sku数量

parent 5f528090
......@@ -29,6 +29,10 @@ public class BannerPo {
* 排序
*/
private Integer sort;
/**
* 状态
*/
private Integer state;
@ApiModelProperty("可用省份列表,全国通用传 [0]")
private String[] province;
......
......@@ -111,6 +111,7 @@ public class SysBannerServiceImpl implements ISysBannerService {
banner.setType(bannerPo.getType());
banner.setTarget(bannerPo.getTarget());
banner.setSort(bannerPo.getSort());
banner.setState(bannerPo.getState());
if (bannerPo.getProvince() != null && bannerPo.getProvince().length > 0) {
banner.setProvince(Arrays.asList(bannerPo.getProvince()).stream().collect(Collectors.joining(",")));
}
......
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