投诉展示相关问题完善
This commit is contained in:
parent
14ff0a3501
commit
efb226b37b
@ -68,11 +68,11 @@ public interface OrderComplaintService extends IService<OrderComplaint> {
|
|||||||
OrderComplaint updateOrderComplainByStatus(OrderComplaintOperationParams operationParam);
|
OrderComplaint updateOrderComplainByStatus(OrderComplaintOperationParams operationParam);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取新投诉数量
|
* 待处理投诉数量
|
||||||
*
|
*
|
||||||
* @return 新投诉
|
* @return 待处理投诉数量
|
||||||
*/
|
*/
|
||||||
Integer newComplainNum();
|
Integer waitComplainNum();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 取消交易投诉
|
* 取消交易投诉
|
||||||
|
@ -198,9 +198,9 @@ public class OrderComplaintServiceImpl extends ServiceImpl<OrderComplaintMapper,
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Integer newComplainNum() {
|
public Integer waitComplainNum() {
|
||||||
QueryWrapper queryWrapper = Wrappers.query();
|
QueryWrapper queryWrapper = Wrappers.query();
|
||||||
queryWrapper.eq("complain_status", ComplaintStatusEnum.NEW.name());
|
queryWrapper.ne("complain_status", ComplaintStatusEnum.COMPLETE.name());
|
||||||
queryWrapper.eq(StringUtils.equals(UserContext.getCurrentUser().getRole().name(), UserEnums.STORE.name()),
|
queryWrapper.eq(StringUtils.equals(UserContext.getCurrentUser().getRole().name(), UserEnums.STORE.name()),
|
||||||
"store_id", UserContext.getCurrentUser().getStoreId());
|
"store_id", UserContext.getCurrentUser().getStoreId());
|
||||||
return this.count(queryWrapper);
|
return this.count(queryWrapper);
|
||||||
|
@ -121,7 +121,7 @@ public class IndexStatisticsServiceImpl implements IndexStatisticsService {
|
|||||||
//售后申请
|
//售后申请
|
||||||
indexNoticeVO.setRefund(afterSaleService.applyNum(null));
|
indexNoticeVO.setRefund(afterSaleService.applyNum(null));
|
||||||
//投诉审核
|
//投诉审核
|
||||||
indexNoticeVO.setComplain(orderComplaintService.newComplainNum());
|
indexNoticeVO.setComplain(orderComplaintService.waitComplainNum());
|
||||||
//分销员提现审核
|
//分销员提现审核
|
||||||
indexNoticeVO.setDistributionCash(distributionCashService.newDistributionCash());
|
indexNoticeVO.setDistributionCash(distributionCashService.newDistributionCash());
|
||||||
//待处理商家结算
|
//待处理商家结算
|
||||||
@ -218,8 +218,8 @@ public class IndexStatisticsServiceImpl implements IndexStatisticsService {
|
|||||||
storeIndexStatisticsVO.setReturnMoney(afterSaleService.applyNum(AfterSaleTypeEnum.RETURN_MONEY.name()));
|
storeIndexStatisticsVO.setReturnMoney(afterSaleService.applyNum(AfterSaleTypeEnum.RETURN_MONEY.name()));
|
||||||
//待回复评价数量
|
//待回复评价数量
|
||||||
storeIndexStatisticsVO.setMemberEvaluation(memberEvaluationService.getWaitReplyNum());
|
storeIndexStatisticsVO.setMemberEvaluation(memberEvaluationService.getWaitReplyNum());
|
||||||
//待处理交易投诉数量
|
//待处理投诉数量
|
||||||
storeIndexStatisticsVO.setComplaint(orderComplaintService.newComplainNum());
|
storeIndexStatisticsVO.setComplaint(orderComplaintService.waitComplainNum());
|
||||||
|
|
||||||
//待上架商品数量
|
//待上架商品数量
|
||||||
storeIndexStatisticsVO.setWaitUpper(goodsService.goodsNum(GoodsStatusEnum.DOWN, null));
|
storeIndexStatisticsVO.setWaitUpper(goodsService.goodsNum(GoodsStatusEnum.DOWN, null));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user