浏览代码

iaw

master
chenchaod 1周前
父节点
当前提交
40e162b12a

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

ListQrCodeResDTO resDTO = issueOrderManage.listQRcode(reqDto); ListQrCodeResDTO resDTO = issueOrderManage.listQRcode(reqDto);
return ApiResponse.of((resDTO)); return ApiResponse.of((resDTO));
} }

@ApiOperation(value = "上传安装照")
@PostMapping(value = "/uploadInstallPhoto")
public ApiResponse<?> uploadInstallPhoto(@Valid @RequestBody UploadInstallPhotoReqDTO reqDto) throws ManagerException {
issueOrderManage.uploadInstallPhoto(reqDto);
return ApiResponse.success();
}
} }

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

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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
* @Author:ChenChao
* @Date:2025/8/21 17:52
* @Filename:UploadInstallPhotoReqDTO
* @description:
*/
@Data
@ApiModel(description = "上传安装照片参数")
public class UploadInstallPhotoReqDTO {

@ApiModelProperty(value = "订单编号")
@NotBlank
private String orderNo;
@NotBlank
@ApiModelProperty(value = "照片地址")
private String url;
}

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

QdOrderResponseDTO qdOrderQuery(QdOrderRequestDTO dto); QdOrderResponseDTO qdOrderQuery(QdOrderRequestDTO dto);


GetCarSignResponseDTO getCarsign(GetCarSignRequest reqDto) throws ManagerException; GetCarSignResponseDTO getCarsign(GetCarSignRequest reqDto) throws ManagerException;

void uploadInstallPhoto(UploadInstallPhotoReqDTO reqDto) throws ManagerException;
} }

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



} }




@Override @Override
public SignQueryResponseDTO signQuery(SignQueryRequest request) throws ManagerException { public SignQueryResponseDTO signQuery(SignQueryRequest request) throws ManagerException {
IssueOrderinfo orderinfo = checkOrder(request.getOrderNo()); IssueOrderinfo orderinfo = checkOrder(request.getOrderNo());
} }
return responseDTO; return responseDTO;
} }
@Override
public void uploadInstallPhoto(UploadInstallPhotoReqDTO reqDto) throws ManagerException {
IssueOrderinfo order = checkOrder(reqDto.getOrderNo());
IssueOrderinfoExt ext = issueOrderinfoExtRepo.findByOrderNo(order.getOrderNo());
ext.setInstallImgUrl(reqDto.getUrl());
issueOrderinfoExtRepo.merge(ext);
}







正在加载...
取消
保存