| | |
| | | if(StrUtil.isEmpty(reason)){ |
| | | return Result.fail("请填写申诉原因"); |
| | | } |
| | | String content = orderApealDto.getContent(); |
| | | if(StrUtil.isEmpty(content)){ |
| | | return Result.fail("请填写申诉内容"); |
| | | } |
| | | List<String> content = orderApealDto.getContent(); |
| | | OtcOrderAppeal otcOrderAppeal = new OtcOrderAppeal(); |
| | | otcOrderAppeal.setMemberId(memberId); |
| | | otcOrderAppeal.setOrderId(orderId); |
| | | otcOrderAppeal.setReason(reason); |
| | | otcOrderAppeal.setContent(content); |
| | | otcOrderAppeal.setContent(content.toString()); |
| | | otcOrderAppeal.setStatus(OtcOrderAppeal.STATUS_ONE); |
| | | otcOrderAppealDao.insert(otcOrderAppeal); |
| | | return Result.ok("成功"); |