提交 b0ae8fd0 作者: 张小凤

LicenceOrg(update)

上级 d3bb369b
...@@ -27,7 +27,7 @@ public class LicenseOrganizationsVO { ...@@ -27,7 +27,7 @@ public class LicenseOrganizationsVO {
private String mainImage; private String mainImage;
@ApiModelProperty(value = "机构副图不能为空", example = "http://", required = true) @ApiModelProperty(value = "机构副图不能为空", example = "http://", required = true)
@NotBlank(message = "机构副图不能为空", groups = {Create.class, Update.class}) //@NotBlank(message = "机构副图不能为空", groups = {Create.class, Update.class})
private String auxiliaryPicture; private String auxiliaryPicture;
@ApiModelProperty(value = "机构视频", example = "http://") @ApiModelProperty(value = "机构视频", example = "http://")
......
...@@ -138,6 +138,7 @@ public class LicenceBackgroundServiceImpl implements LicenceBackgroundService { ...@@ -138,6 +138,7 @@ public class LicenceBackgroundServiceImpl implements LicenceBackgroundService {
if (collect.size() == 0) { if (collect.size() == 0) {
count = 0; count = 0;
} }
count = collect.size();
return PageResult.buildPage(pageNo, organizationsQO.getPageSize(), count, collect); return PageResult.buildPage(pageNo, organizationsQO.getPageSize(), count, collect);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论