Commit e0e203ee by caiyt

Merge remote-tracking branch 'origin/v2' into v2

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