fix: 优化弃用状态
This commit is contained in:
parent
49af6777ee
commit
061d924d46
@ -16,14 +16,6 @@ public enum ComplaintStatusEnum {
|
||||
* 已撤销
|
||||
*/
|
||||
CANCEL("已撤销"),
|
||||
/**
|
||||
* 待申诉
|
||||
*/
|
||||
WAIT_APPEAL("待申诉"),
|
||||
/**
|
||||
* 对话中
|
||||
*/
|
||||
COMMUNICATION("对话中"),
|
||||
/**
|
||||
* 等待仲裁
|
||||
*/
|
||||
|
@ -255,12 +255,6 @@ public class OrderComplaintServiceImpl extends ServiceImpl<OrderComplaintMapper,
|
||||
throw new ServiceException(ResultCode.COMPLAINT_ARBITRATION_RESULT_ERROR);
|
||||
}
|
||||
orderComplaint.setArbitrationResult(operationParam.getArbitrationResult());
|
||||
} else if (complaintStatusEnum == ComplaintStatusEnum.COMMUNICATION) {
|
||||
if (CharSequenceUtil.isEmpty(operationParam.getAppealContent()) || operationParam.getImages() == null) {
|
||||
throw new ServiceException(ResultCode.COMPLAINT_APPEAL_CONTENT_ERROR);
|
||||
}
|
||||
orderComplaint.setContent(operationParam.getAppealContent());
|
||||
orderComplaint.setImages(operationParam.getImages().get(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user