Browse Source

里程确认单查询 根据id查询

chenc 4 years ago
parent
commit
a9dffda3f8

+ 3 - 0
src/main/java/org/jeecg/common/dto/prowork/ProWorkMilestoneRespDTO.java

@@ -60,6 +60,8 @@ public class ProWorkMilestoneRespDTO {
     private String currentUser;
     @ApiModelProperty("组织")
     private String pkOrg;
+     @ApiModelProperty("创建时间")
+     private Date createTime;
 
     private List<ProWorkUpdateFileRespDTO> fileList;
 
@@ -85,5 +87,6 @@ public class ProWorkMilestoneRespDTO {
          this.duration = proWorkMilestone.getDuration();
          this.currentUser = proWorkMilestone.getCurrentUser();
          this.pkOrg = proWorkMilestone.getPkOrg();
+         this.createTime = proWorkMilestone.getCreateTime();
      }
  }

+ 1 - 1
src/main/java/org/jeecg/modules/prowork/controller/ProWorkMilestoneController.java

@@ -149,7 +149,7 @@ import org.springframework.web.bind.annotation.RestController;
 			@ApiImplicitParam(name="id", value="id",required=true, dataType="String"),
 	})
 	@DeleteMapping(value = "/delete")
-	public Result<ProWorkMilestone> delete(@RequestBody ProWorkMilestoneReqDTO  reqDTO) {
+	public Result<ProWorkMilestone> delete( ProWorkMilestoneReqDTO  reqDTO) {
 		Result<ProWorkMilestone> result = new Result<ProWorkMilestone>();
 		ProWorkMilestone proWorkMilestone = proWorkMilestoneService.getById(reqDTO.getId());
 		if(proWorkMilestone==null) {