运营后台首页,展示的待审核商品数量不正确

This commit is contained in:
lifenlong 2021-05-19 09:33:14 +08:00
parent 8d156f01e6
commit 4b7be309b2
2 changed files with 2 additions and 3 deletions

View File

@ -15,9 +15,8 @@ import javax.validation.constraints.Size;
*/ */
@Data @Data
public class MemberAddDTO { public class MemberAddDTO {
@NotEmpty(message = "会员用户名必填") @NotEmpty(message = "会员用户名必填")
@Size(min = 6, max = 30) @Size(max = 30,message = "会员用户名最长30位")
@ApiModelProperty(value = "会员用户名") @ApiModelProperty(value = "会员用户名")
private String username; private String username;

View File

@ -114,7 +114,7 @@ public class IndexStatisticsServiceImpl implements IndexStatisticsService {
IndexNoticeVO indexNoticeVO = new IndexNoticeVO(); IndexNoticeVO indexNoticeVO = new IndexNoticeVO();
//商品审核 //商品审核
indexNoticeVO.setGoods(goodsService.goodsNum(GoodsStatusEnum.UPPER, GoodsAuthEnum.TOBEAUDITED)); indexNoticeVO.setGoods(goodsService.goodsNum(null, GoodsAuthEnum.TOBEAUDITED));
//店铺入驻审核 //店铺入驻审核
indexNoticeVO.setStore(storeService.auditNum()); indexNoticeVO.setStore(storeService.auditNum());
//售后申请 //售后申请