| | |
| | | import com.doumee.dao.dto.DispatchDTO; |
| | | import com.doumee.dao.dto.HandleOrderExceptionDTO; |
| | | import com.doumee.dao.dto.ManualRefundDTO; |
| | | import com.doumee.dao.vo.OrderDetailVO; |
| | | import com.doumee.dao.vo.OrderDispatchVO; |
| | | import com.doumee.dao.vo.OrdersExportVO; |
| | | import com.doumee.dao.vo.OrderSummaryVO; |
| | | import com.doumee.dao.vo.*; |
| | | import com.doumee.service.business.OrdersService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | vo.setOverdueAmount(String.valueOf(Constants.getFormatMoney(o.getOverdueAmount()))); |
| | | vo.setExceptionAmount(String.valueOf(Constants.getFormatMoney(o.getExceptionAmount()))); |
| | | vo.setDeductionAmount(String.valueOf(Constants.getFormatMoney(o.getDeductionAmount()))); |
| | | vo.setShopCompensationAmount(String.valueOf(Constants.getFormatMoney(o.getShopCompensationAmount()))); |
| | | vo.setExceptionFee(String.valueOf(Constants.getFormatMoney(o.getExceptionFee()))); |
| | | vo.setStatusDesc(o.getStatusDesc()); |
| | | vo.setSettlementDesc(o.getSettlementStatus() != null ? (o.getSettlementStatus() == 1 ? "已结算" : "待结算") : ""); |
| | | vo.setPayTime(o.getPayTime()); |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("手动退款详情") |
| | | @GetMapping("/manualRefundDetail/{orderId}") |
| | | @RequiresPermissions("business:orders:query") |
| | | public ApiResponse<ManualRefundDetailVO> manualRefundDetail(@PathVariable Integer orderId) { |
| | | return ApiResponse.success(ordersService.getManualRefundDetail(orderId)); |
| | | } |
| | | |
| | | } |