|
|
@@ -632,18 +632,16 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public IPage<LawyerUserViolationDto> getViolationPage(int page, int size, String nickName, String phone, String processingStatus) {
|
|
|
+ public IPage<LawyerUserViolationDto> getViolationPage(int page, int size, String orderId, String processingStatus) {
|
|
|
IPage<LawyerUserViolationVo> pageRequest = new Page<>(page, size);
|
|
|
QueryWrapper<LawyerUserViolationVo> queryWrapper = new QueryWrapper<>();
|
|
|
|
|
|
// 基础查询条件
|
|
|
queryWrapper.eq("luv.delete_flag", 0)
|
|
|
- .in("luv.report_context_type", Arrays.asList("1", "2", "3"));
|
|
|
+ .eq("luv.report_context_type", 6);
|
|
|
|
|
|
// 动态查询条件
|
|
|
- queryWrapper.like(StringUtils.isNotEmpty(nickName), "ui.nick_name", nickName)
|
|
|
- .like(StringUtils.isNotEmpty(phone), "ui.phone", phone);
|
|
|
-
|
|
|
+ queryWrapper.like(StringUtils.isNotEmpty(orderId), "luv.order_id", orderId);
|
|
|
if (StringUtils.isNotEmpty(processingStatus)) {
|
|
|
queryWrapper.eq("luv.processing_status", processingStatus);
|
|
|
}
|
|
|
@@ -805,9 +803,9 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
|
|
|
NotificationInfo notificationInfo = new NotificationInfo();
|
|
|
String orderId = violation.getOrderId();
|
|
|
String message = String.format("用户对编号为%s的订单进行申诉,经核实,用户举报属实,"
|
|
|
- + "订单金额将会退还给用户。触发条件:平台审核点击同意按钮时触发", orderId);
|
|
|
+ + "订单金额将会退还给用户。", orderId);
|
|
|
notificationInfo.setMessage(message);
|
|
|
- notificationInfo.setTitle("订单举报成功通知");
|
|
|
+ notificationInfo.setTitle("咨询订单被举报成功通知");
|
|
|
return notificationInfo;
|
|
|
}
|
|
|
|