| | |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.kuaidi100.sdk.contant.CompanyConstant; |
| | | import com.ruoyi.account.api.feignClient.AppUserClient; |
| | | import com.ruoyi.account.api.model.AppUser; |
| | | import com.ruoyi.common.core.domain.R; |
| | |
| | | return R.fail("不能重复操作"); |
| | | } |
| | | refundPass.setPassStatus(status); |
| | | refundPass.setAuthTime(LocalDateTime.now()); |
| | | //退货退款 |
| | | if(refundPass.getRefundMethod() == 1 && 2 == status){ |
| | | refundPass.setStatus(4); |
| | |
| | | refundPassInfo.setPics(refundPass.getPics()); |
| | | refundPassInfo.setPassStatus(refundPass.getPassStatus()); |
| | | refundPassInfo.setPassRemark(refundPass.getPassRemark()); |
| | | refundPassInfo.setStatus(refundPass.getStatus()); |
| | | String code = refundPass.getCode(); |
| | | if(StringUtils.isNotEmpty(code)){ |
| | | JSONObject jsonObject = JSON.parseObject(code); |
| | | refundPassInfo.setExpressCode(jsonObject.getString("num")); |
| | | String com = jsonObject.getString("com"); |
| | | refundPassInfo.setExpressName(com); |
| | | } |
| | | return refundPassInfo; |
| | | } |
| | | } |