瀏覽代碼

iaw

master
chenchaod 1 月之前
父節點
當前提交
befb7ffb12

+ 13
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/issue/OrderController.java 查看文件

String msg = issueOrderManage.returnApply(reqDto); String msg = issueOrderManage.returnApply(reqDto);
return ApiResponse.of(msg); return ApiResponse.of(msg);
} }

// @ApiOperation(value = "17.发行确认收货")
// @PostMapping(value = "/returnApply")
// public ApiResponse<String> returnApply(@Valid @RequestBody returnApplyReqDTO reqDto) throws ManagerException {
// String msg = issueOrderManage.returnApply(reqDto);
// return ApiResponse.of(msg);
// }
@ApiOperation(value = "18.订单详情")
@PostMapping(value = "/orderDetailQuery")
public ApiResponse<OrderDetailResDto> orderDetailQuery(@Valid @RequestBody OrderDetailReqDto reqDto) throws ManagerException {
OrderDetailResDto resDto = issueOrderManage.orderDetailQuery(reqDto);
return ApiResponse.of(resDto);
}
} }

+ 20
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/dto/issue/order/OrderDetailReqDto.java 查看文件

package cn.com.taiji.iaw.dto.issue.order;

import cn.com.taiji.core.dto.AbstractBizRequestDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* @Author:ChenChao
* @Date:2025/7/16 16:24
* @Filename:orderDetailReqDto
* @description:
*/
@Data
@ApiModel(description = "订单详情")
public class OrderDetailReqDto extends AbstractBizRequestDTO {

@ApiModelProperty(value = "订单编号")
private String orderNo;
}

+ 14
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/dto/issue/order/OrderDetailResDto.java 查看文件

package cn.com.taiji.iaw.dto.issue.order;

import cn.com.taiji.core.entity.issue.IssueOrderinfo;
import lombok.Data;

/**
* @Author:ChenChao
* @Date:2025/7/16 16:25
* @Filename:orderDetailResDto
* @description:
*/
@Data
public class OrderDetailResDto extends IssueOrderinfo {
}

+ 2
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManage.java 查看文件

String returnApply(returnApplyReqDTO reqDto) throws ManagerException; String returnApply(returnApplyReqDTO reqDto) throws ManagerException;


void agreeProtocol(AgreeProtocolReqDTO reqDto) throws ManagerException; void agreeProtocol(AgreeProtocolReqDTO reqDto) throws ManagerException;

OrderDetailResDto orderDetailQuery(OrderDetailReqDto reqDto) throws ManagerException;
} }

+ 8
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/issue/IssueOrderManageImpl.java 查看文件

sysPersistOperateLog(OperateType.ORDER_AGREEPROTOCOL, order.getId(), reqDto.getOrderSource(), findOpenIdByToken(reqDto.getAccessToken()), "同意协议"); sysPersistOperateLog(OperateType.ORDER_AGREEPROTOCOL, order.getId(), reqDto.getOrderSource(), findOpenIdByToken(reqDto.getAccessToken()), "同意协议");
} }




@Override @Override
public PayQueryResponseDTO payQuery(PayQueryRequestDTO reqDto) throws ManagerException { public PayQueryResponseDTO payQuery(PayQueryRequestDTO reqDto) throws ManagerException {
reqDto.validate(); reqDto.validate();
return response.getMsg(); return response.getMsg();
} }


@Override
public OrderDetailResDto orderDetailQuery(OrderDetailReqDto reqDto) throws ManagerException {
IssueOrderinfo orderinfo = checkOrder(reqDto.getOrderNo());
OrderDetailResDto resDto = copyProperties(orderinfo, new OrderDetailResDto());
return resDto;
}


//校验发行订单是否存在 //校验发行订单是否存在
private IssueOrderinfo checkOrder(String orderNo) throws ManagerException { private IssueOrderinfo checkOrder(String orderNo) throws ManagerException {

Loading…
取消
儲存