Commit 1f17e37ce8cc39a89e398fc320f0a3ad5efbcd8f
1 parent
c0668271
重新发起的更新附件
Showing
3 changed files
with
4 additions
and
6 deletions
urbanops-module-api/urbanops-module-workorder-api/src/main/java/com/zteits/urbanops/module/workorder/dto/AppGardenWorkOrderReqVO.java
| 1 | package com.zteits.urbanops.module.workorder.dto; | 1 | package com.zteits.urbanops.module.workorder.dto; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 4 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import jakarta.validation.constraints.NotEmpty; | 5 | import jakarta.validation.constraints.NotEmpty; |
| 5 | import jakarta.validation.constraints.NotNull; | 6 | import jakarta.validation.constraints.NotNull; |
| @@ -82,10 +83,10 @@ public class AppGardenWorkOrderReqVO { | @@ -82,10 +83,10 @@ public class AppGardenWorkOrderReqVO { | ||
| 82 | @Schema(description = "三方工单ID") | 83 | @Schema(description = "三方工单ID") |
| 83 | private String thirdWorkNo; | 84 | private String thirdWorkNo; |
| 84 | 85 | ||
| 85 | - @Schema(description = "希望完成时间") | 86 | + @Schema(description = "希望完成时间", example = "1766505427000") // Swagger文档示例 |
| 86 | private LocalDateTime expectedFinishDate; | 87 | private LocalDateTime expectedFinishDate; |
| 87 | 88 | ||
| 88 | - @Schema(description = "完成时间") | 89 | + @Schema(description = "完成时间", example = "1766505427000") |
| 89 | private LocalDateTime finishDate; | 90 | private LocalDateTime finishDate; |
| 90 | 91 | ||
| 91 | @NotNull | 92 | @NotNull |
urbanops-module-workorder/src/main/java/com/zteits/urbanops/module/workorder/controller/app/garden/aop/BuzStatusUpdateAspect.java
| @@ -111,7 +111,7 @@ public class BuzStatusUpdateAspect { | @@ -111,7 +111,7 @@ public class BuzStatusUpdateAspect { | ||
| 111 | targeVO.setUserId(SecurityFrameworkUtils.getLoginUserId()); | 111 | targeVO.setUserId(SecurityFrameworkUtils.getLoginUserId()); |
| 112 | targeVO.setUserName(SecurityFrameworkUtils.getLoginUserNickname()); | 112 | targeVO.setUserName(SecurityFrameworkUtils.getLoginUserNickname()); |
| 113 | targeVO.setFinishDate(reqVO.getFinishDate()); | 113 | targeVO.setFinishDate(reqVO.getFinishDate()); |
| 114 | - List<String> problemsImgs = reqVO.getImgs(); | 114 | + List<String> problemsImgs = reqVO.getProblemsImgs(); |
| 115 | if(ObjectUtils.isNotAllEmpty(problemsImgs) && problemsImgs.size()>0){ | 115 | if(ObjectUtils.isNotAllEmpty(problemsImgs) && problemsImgs.size()>0){ |
| 116 | gardenService.attachmentInsertOrUpdate(problemsImgs,BpmCommonConstant.PROBLEM_IMG_GROUP,targeVO); | 116 | gardenService.attachmentInsertOrUpdate(problemsImgs,BpmCommonConstant.PROBLEM_IMG_GROUP,targeVO); |
| 117 | } | 117 | } |
urbanops-module-workorder/src/main/java/com/zteits/urbanops/module/workorder/controller/app/garden/vo/common/AppUniversalApprovalReqVO.java
| @@ -95,9 +95,6 @@ public class AppUniversalApprovalReqVO { | @@ -95,9 +95,6 @@ public class AppUniversalApprovalReqVO { | ||
| 95 | @Schema(description = "道路名称", example = "测试道路") | 95 | @Schema(description = "道路名称", example = "测试道路") |
| 96 | private String roadName; | 96 | private String roadName; |
| 97 | 97 | ||
| 98 | - @Schema(description = "开始的问题拍照图片") | ||
| 99 | - private List<String> imgs; | ||
| 100 | - | ||
| 101 | @Schema(description = "工单描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对") | 98 | @Schema(description = "工单描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对") |
| 102 | @NotEmpty(message = "工单描述不能为空", groups = RelaunchGroup.class) | 99 | @NotEmpty(message = "工单描述不能为空", groups = RelaunchGroup.class) |
| 103 | @Length(max = 500) | 100 | @Length(max = 500) |